Following up on my feedback at IETF 127. ---
I suggest relaxing the MUST around accepting hashed URIs for prior keys indefinitely. There's a few reasons for this. One, it implies retaining prior keys indefinitely for the lifetime of the account, which we are generally not keen on doing. I also don't think it's really solving an important problem. If the user is rotating their account key, they can simply rotate the key, update DNS, then update their ACME clients with the new key. If an ACME client fails because it fired between steps 2 and 3, it'll just try again next time it fires. Presumably ACME clients are configured to run on a relatively frequent interval before expiration--they need to in order to deal with ACME server downtime. (I'll also argue it's not solving an important problem because vanishingly few users use /key-change. e.g. Let's Encrypt data shows there's been ~2500 key change requests, for ~37 million new accounts created.) Rather, I would suggest this be up to CA policy. I'd put this under security considerations that discuss the tradeoffs. It can RECOMMEND that a CA does some kind of retention that makes key rotation easier. --- We store the hashed account identifier as `accounturi`, where an example `accounturi` is `https://ca.example/account-hash/sha-256/5SQm7n6tPh2-PlLbCKGnViTXX5z19SCN4cPGQHSk-kw`. This is strange to me, since this URI is unlikely to refer to an actual resource present on the ACME server. I understand this is done for backwards compatibility with the BRs, but I think this is misguided. https://github.com/cabforum/servercert/issues/677 suggests that the BRs cite dns-persist-01 normatively, and I'm inclined to agree. We can just rename `accounturi` to `accounthash`, which is just `sha-256/5SQm7n6tPh2-PlLbCKGnViTXX5z19SCN4cPGQHSk-kw`. If we accept the premise that backwards compatibility isn't necessary, then what else can be simplified? Nothing stands out to me reading the doc, but I don't have the same context on why things were written as the authors do :) --- Re. MPIC. Multiple accounturi hashes are considered valid, e.g. domain_name `*` and `example.com`. What happens when a remote validator sees a valid value (e.g. `*`) that is different from what the primary perspective saw, e.g. `example.com`? For now we are requiring that the primary and remote perspectives all match, but this should probably be called out in the doc. --- Reception from the room to removing the error type persistExpired seemed warm. ACME error types are meant for clients to take automated action to correct. There is no action that a client can take to correct a persistExpired, assuming it lacks privileges to modify DNS. Rather, clients SHOULD return some suitable RFC 8555 error with human readable detail. I think `unauthorized` is suitable. --- Happy to suggest text for any of these points. _______________________________________________ Acme mailing list -- [email protected] To unsubscribe send an email to [email protected]
