I noticed new account hash in accounturi still uses https:// protocal
scheme. and we include CA domain name in both issuerdomainname and
accounthashprefix. as this record already include issuerDomainName, I
think CA specific accounthashprefix is redendant here, and this
accounturi must not have https scheme because querying CA with this URI
shouldn't return anything.
I personally think TXT "ca.example;
accounturi=accounthash://sha256/<actual hash>" works well enough here.
26. 9. 23. 07:07에 Henry Birge-Lee 이(가) 쓴 글:
Hi Max,
Thanks for your feedback. I just wanted to clarify my understanding on
something. Regarding point 1:
Am I correct in understanding the premise that the adversary has
tricked the client into using a malicious key rollover endpoint and
thus the client thinks it rolled its key but the CA still has the old
key authenticated with the ACME account.
If the adversary then is able to crack or exfiltrate the old key and
gain access to the ACME account at the CA, this is outside the threat
model of dns persist and the adversary can already compromise this
client via existing ACME methods by exploiting a validation reuse
period that may still be active. I feel any scenario where the ACME
account authorization is compromised is outside the threat model.
Also, would this attack not work even if the CA did not accept
historical hashes given that to the CA this is the current account key?
If the adversary cannot compromise the old key after rollover, even
though the DNS persist record exists with the old key, the adversary
will never be able to authenticate with the ACME account preventing it
from obtaining certificates based on the DNS persist records that may
already be there.
Finally because the client will ALWAYS provision the dns-persist
record based on its current key (which even in a key rollover with a
malicious adversary endpoint, the key is still chosen by the client),
even if the adversary attempts to convince the client to upload a new
dns-persist record, they key used to generate that record will be
unknown to the CA even with prior key retention.
Can you explain the scenario fully where the malicious rollover
endpoint undermines the security properties?
Also re point 2: Yeah I agree, its not ideal but for this version we
did decide to go with maximum retention to avoid potential DoS issues
associated with more conservative key thumbprint retention strategies.
I am not particularly worried about the has computation cost as
SHA-256 is quite fast and should not be noticeable resources on the
order rolled keys. Storage is a constraint I think of sometimes, but
in practice my understanding is key rollover is rare. The concern
would probably be some storage attack on the CA by making a bunch of
key rotations but this would have to be balanced with a comparable
attack that could just come from making a bunch of new ACME account.
Best,
Henry
On Tue, Sep 22, 2026 at 1:38 PM Max Hearnden
<[email protected]> wrote:
Nice work, including the SHA-256 JWK thumbprint in the account URI
effectively eliminates attacks where a client unintentionally
authorises
an attacker's account.
In theory, I don't have an issue with prior thumbprints from
authorising
rolled over to keys indefinitely as while old keys might become
stale,
the rollover was signed while the key was still current.
Especially as
this reduces the need to change DNS records which could pose security
risks or discourage key rollovers.
In practice this appears to pose two issues:
1. Under the ACME threat model
(https://www.rfc-editor.org/info/rfc8555/#section-10.1), key
rollovers might never reach the ACME server even if the client
gets
a successful HTTP response. This could happen even without
compromising the ACME server by convincing a user to use a
different
directory URL with a different keyChange entry. The account key
verification doesn't resolve this as that procedure is only
required
when provisioning a new record and not after a key rollover.
2. The requirement to accept prior thumbprints in the account URI for
new domains requires the ACME server to perform an unbounded
number
of digests for each domain (one for each key previously associated
with an account).
In addition, the account key verification procedure appears to be
ineffective when evaluated against the aforementioned ACME threat
model
as any response could be forged.
On 21/09/2026 22:32, Shiloh Heurich wrote:
> draft-ietf-acme-dns-persist-02
<https://datatracker.ietf.org/doc/draft-ietf-acme-dns-persist/02/>
is now available on the Datatracker. You can review the full diff
from -01
<https://author-tools.ietf.org/iddiff?url2=draft-ietf-acme-dns-persist-02>.
>
> This revision incorporates working group feedback from IETF 126
and resolves several core architecture questions.
>
> The main changes from -01 include:
> Mandatory client-computed hashed URI: We dropped raw account
URLs and subscriber URLs. The specification now defines a single
accounturi format. The format binds the domain name, key
thumbprint, and account URL via SHA-256.
> Uniform prior-key retention: Section 4.2 requires CAs to retain
witnessed account key thumbprints for the lifetime of the account.
This rule protects pre-provisioned and standby backup-CA records
from invalidation during account key rollover.
> Removal of rollover windows: We removed the keyRotationPeriod
directory metadata and temporal rollover windows.
> Prospective persistUntil clamp: When a record specifies
persistUntil, Section 4.1 requires CAs to clamp the authorization
expires field to min(persistUntil, default_expiration). This
approach uses standard RFC 8555 authorization expiration
mechanics. It avoids undefined retroactive revocation states.
> Normative pre-provisioning verification: Section 4.5 requires
clients to verify account validity via an authenticated
empty-payload POST request before delegating parameters to DNS
operators.
> These changes address open GitHub issues #38
<https://github.com/ietf-wg-acme/draft-ietf-acme-dns-persist/issues/38>,
#42
<https://github.com/ietf-wg-acme/draft-ietf-acme-dns-persist/issues/42>,
#56
<https://github.com/ietf-wg-acme/draft-ietf-acme-dns-persist/issues/56>,
#60
<https://github.com/ietf-wg-acme/draft-ietf-acme-dns-persist/issues/60>,
#61
<https://github.com/ietf-wg-acme/draft-ietf-acme-dns-persist/issues/61>,
#64
<https://github.com/ietf-wg-acme/draft-ietf-acme-dns-persist/issues/64>,
and close PR #70
<https://github.com/ietf-wg-acme/draft-ietf-acme-dns-persist/pull/70>.
>
> We invite working group review on the updated text. We
especially request feedback on operational retention bounds for
prior account keys. Section 4.2 requires retention of witnessed
thumbprints without an arbitrary key cap. A fixed cap introduces a
cache-eviction attack against dormant records. We want input from
CA operators on scalable storage approaches that preserve RFC 8555
Section 7.3.5 rollover guarantees.
>
> Shiloh
_______________________________________________
Acme mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
Acme mailing list [email protected]
To unsubscribe send an email [email protected]
_______________________________________________
Acme mailing list -- [email protected]
To unsubscribe send an email to [email protected]