Fix .set/.get #1

オープン
Ghostが2019-06-23 18:37:59 +00:00に作成 · 1件のコメント

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?
オーナー

*.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).
サインインしてこの会話に参加。
ラベルなし
2 人の参加者
通知
期日
期日は未設定です。
依存関係

依存関係が設定されていません。

リファレンス: coolaj86/acme-dns-01-cloudflare.js#1
説明はありません。