mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
RFC 8555 incompatible account ID handling #417
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cpu on GitHub (Jun 21, 2019).
Hi @lukas2511,
Recently in the Let's Encrypt staging environment we stopped sending the
idfield in account objects returned from thenewAccountendpoint. The reason is that this field is not specified in RFC 8555. Instead Section 7.3 says:It looks like Dehydrated depended on that unspecified
idfield in some circumstances, and does not process theLocationheader. E.g. here:74a536c161/dehydrated (L402-L404)There was more discussion about this in https://github.com/lukas2511/dehydrated/issues/636
This has started causing issues for users with the staging environment:
As mentioned in our API Announcement this change is moving to production the week of July 3rd and will likely begin to cause more significant issues for
dehydratedusers.@lukas2511 commented on GitHub (Jun 25, 2019):
@cpu just to clarify: the id field will remain in the account information that can be retrieved afterwards, it's just removed from the initial registration, correct?
@cpu commented on GitHub (Jun 25, 2019):
Thanks for fixing this 👍
That's the way it's implemented presently but I think that was an oversight. It should have been removed throughout. The
idfield isn't specified anywhere in RFC 8555 and it shouldn't be relied on. If you're retrieving an account's information in the standard way you're POSTing its URL and so already know the ID, there isn't any value in having that non-standard field in the response since its already known.@lukas2511 commented on GitHub (Jun 25, 2019):
@cpu mh well okay, i guess then it needs a second "fix" to actually store the information from the location header. kinda dislike to do that, but well, if it's in the rfc it's in the rfc.
@cpu commented on GitHub (Jun 25, 2019):
Fixed in
7f01d1274e@lukas2511 I have my own gripes with parts of the RFC but that's the cost of inter-operability :-) This change will definitely help dehydrated be usable with more CAs. Thanks for making the additional fix.
@lukas2511 commented on GitHub (Jun 26, 2019):
Dehydrated now uses the Location header for v2 API endpoints :)