Updated Pebble's implementation of dns-persist-01 challenge to draft-02 version in my fork[1] (except record remembering). This made me notice few things:

1. While we allows selection of hash algorithm for outer hashed accounts JWK thumbprints are hardcoded to use sha-256, not algorithm specified in URI, this mismatch feels weird.

2. Word 'accounturi' used as both RFC8555 accounturi and parameter to show in rfc8657 type DNS record, while one is inside another make it hard to describe. I think it'd better to give some name for <hashed URI identifying the ACME account> and <base64url hash value> in 4.1.3 get some actual name.

3. Because accountHashPrefix is only in directory's meta one can't construct <hashed URI identifying the ACME account> without looking at directory, so issuerdomain in challenge object itself is redundant. if challenge solver can parse directory json it also can get issuerdomain from there too, and if it can't solver can't write valid txt record so issuerdomain in challenge solver is useless.

[1] https://github.com/orangepizza/pebble/tree/persist-draft-02


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

Reply via email to