You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(gateway): validate the dns-persist-01 record against the CA, not around it
The phase issued a certificate but proved nothing about the record: Pebble ran
with PEBBLE_VA_ALWAYS_VALID, so it accepted a challenge it never looked up.
Everything the record's grammar has to satisfy -- the `; ` separator, the
issuer name the CA answers to, `policy=wildcard` covering the base name -- was
pinned only by unit tests written against a reading of Boulder.
Now the harness publishes the record the way a zone owner would, once, before
the first order, taking it verbatim from what the gateway reports; Pebble
looks it up and parses it as an RFC 8659 issue-value. A record this
implementation renders and a CA implementation rejects now fails the suite.
That is possible because the mock answers TCP, and worth doing because the
gateway itself never writes the record -- which is the claim the last
assertion checks, scoped to the `_acme-challenge` name certbot would have
written rather than to the zone being empty.
The mock is built from the repo instead of pulled as kvin/mock-cf-dns-api,
which was HTTP-only and could not have served this. Both suites now build the
same image.
0 commit comments