x/crypto/acme: add AccountKeyRollover #42516
Comments
/cc @rolandshoemaker |
Seems reasonable. I'm not entirely sure there is much value in having the KID as a return value. I think we can probably just return an error and include the existing KID as part of the error message. |
OK, so I am seeing:
where there may be a specific KeyAlreadyRegisteredError returned containing the existing KID. |
That would work for my needs. I just wanted to make sure we have access to the existing KID for that case. |
What is your use case for wanting the KID? I can see why you might want it during registration, but I'm not sure I see the value in having it during key rollover as you already have an account. Are you going to switch to the account using the key you wanted to rollover to? |
I wanted to be able to provide some more context for the user about the error that occurred, although I do understand your line of reasoning. Thanks! |
Based on the discussion above, this #42516 (comment) seems like a likely accept. |
No change in consensus, so accepted. |
RFC8555's Account Key Rollover is not yet supported in the acme package. This is a desirable RFC8555 feature that is supported by Let's Encrypt, and so CAs depending on this library may wish to also implement this feature.
The public API for this could be something like:
The text was updated successfully, but these errors were encountered: