Thanks Jacob, I’ve addressed this in # 
<https://github.com/ietf-wg-acme/draft-ietf-acme-dns-persist/pull/89> 
<https://github.com/ietf-wg-acme/draft-ietf-acme-dns-persist/pull/89>89 
<https://github.com/ietf-wg-acme/draft-ietf-acme-dns-persist/pull/89> by using 
Simple String Comparison for the parsed issuer name (retaining ASCII-only 
canonicalization for the domain hash input).

> On Nov 3, 2026, at 18:31, Jacob Hoffman-Andrews 
> <[email protected]> wrote:
> 
> Hi,
> 
> I was reviewing a some code implementing dns-persist-01 and was surprised to 
> see it brought in IDNA dependencies. I see the draft specifies some 
> Unicode-aware processing: 
> https://www.ietf.org/archive/id/draft-ietf-acme-dns-persist-01.html#name-domain-name-normalization-a
> 
> > 9.2. Domain Name Normalization Algorithm
> > 1. Case-folding: Apply Unicode-aware, locale-independent case-folding to 
> > the entire domain name string to convert it to lowercase.
> > 2. Unicode Normalization: Normalize the string to Unicode Normalization 
> > Form C (NFC).
> > 3. Punycode Conversion: Convert each label of the domain name to its 
> > A-label (Punycode) representation as specified in [RFC5890].
> > 4. Trailing Dot Removal: Remove any trailing dot from the final string.
> 
> This processing is performed on `issuer-domain-name`s and also on the FQDN 
> being validated, before inclusion in the hash.
> 
> I think the Unicode aspects of this should be deleted. ACME "dns" identifiers 
> are already specified to be A-labels (by reference to RFC 5280). The 
> definition of `issuer-domain-name` in the draft also specifies A-labels.
> 
> Proposed rewrite 1:
> 
> 9.2 Domain Name Normalization Algorithm
> 1. Case-folding: all uppercase US-ASCII letters are replaced by the 
> corresponding lowercase US-ASCII letters.
>  2. Trailing dot removal: Remove any trailing dot from the final string.
> 
> Separately, can we remove the need for normalization entirely? When the CA 
> validates an issuer-domain-name during domain validation, it should be 
> strict. Case-folding `issuer.EXAMPLE.com <http://issuer.example.com/>` to 
> `issuer.example.com <http://issuer.example.com/>` leads the CA to be less 
> strict. Simple String Comparison is preferable.
> 
> When constructing the TXT record, one of the inputs to hashing is "the FQDN 
> being validated: the Validation Domain Name with its leading 
> _validation-persist label removed and no trailing dot, in the normalized 
> lowercase A-label form produced by Section 9.2." Instead we could be more 
> precise and say it's the authorization object's identifier.value field. 
> Though since the draft envisions pre-provisioning these records before making 
> any request, I guess we don't have that option. So, color me convinced that 
> we need canonicalization for the hash input at least. But it should be 
> specified over US-ASCII.
> _______________________________________________
> Acme mailing list -- [email protected]
> To unsubscribe send an email to [email protected]

_______________________________________________
Acme mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to