Fix .set/.get #1

Atvērta
Ghost atvēra 2019-06-23 18:37:59 +00:00 · 1 comment

Tests complain with:

dns-01 challenge.get() returned 'KmlN8cfb-usOjCLyKAEu8wZ1pythkz8veFk2BVlLVSY', which does not match the dnsAuthorization (keyAuthDigest) saved with challenge.set(), which was 'QzQsFeFW2vd5QfR4sdqzr2i8phd5xGWJ4ttCB_gL4EM'

Really unsure what's wrong since data.challenge.dnsAuthorization is being used. But seems to be wrong anyways. Maybe multiple records with same name?

Tests complain with: ``` dns-01 challenge.get() returned 'KmlN8cfb-usOjCLyKAEu8wZ1pythkz8veFk2BVlLVSY', which does not match the dnsAuthorization (keyAuthDigest) saved with challenge.set(), which was 'QzQsFeFW2vd5QfR4sdqzr2i8phd5xGWJ4ttCB_gL4EM' ``` Really unsure what's wrong since `data.challenge.dnsAuthorization` is being used. But seems to be wrong anyways. Maybe multiple records with same name?
Īpašnieks

*.foo.example.co.uk and foo.example.co.uk will BOTH set TXT records for foo.example.com.

This makes sense because * isn't a real domain, it's an alias, so it has to be set on the real domain instead.

You need to set BOTH records, not overwrite the record, and check that the record you return is the correct record based on its content, not the domain name (since a domain can have an infinite number of TXT records).

`*.foo.example.co.uk` and `foo.example.co.uk` will BOTH set TXT records for `foo.example.com`. This makes sense because `*` isn't a real domain, it's an alias, so it has to be set on the real domain instead. You need to set BOTH records, not _overwrite_ the record, and check that the record you return is the correct record based on its _content_, not the domain name (since a domain can have an infinite number of TXT records).
Pierakstieties, lai pievienotos šai sarunai.
Nav etiķešu
Nav atskaites punktu
Nav atbildīgo
2 dalībnieki
Paziņojumi
Izpildes termiņš
Datums līdz nav korekts. Izmantojiet formātu 'gggg-mm-dd'.

Izpildes termiņš nav uzstādīts.

Atkarības

Nav atkarību.

Atsaucas uz: coolaj86/acme-dns-01-cloudflare.js#1
No description provided.