mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-07-17 10:31:24 +02:00
dehydrated is not using the canonical Account URL #429
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 @alexzorin on GitHub (Sep 10, 2019).
When you
dehydrated --registera new ACMEv2 account, dehydrated correctly extracts the Account URL from theLocationheader in the registration response:https://github.com/lukas2511/dehydrated/blob/018254974cb6cbf93ba9249b06b2d923e37a9e88/dehydrated#L414
However, on subsequent request (e.g. in
dehydrated -c), dehydrated does not use thatACCOUNT_URL, and instead assumes that the account URL is constructed from thenewAccountresource in the directory:https://github.com/lukas2511/dehydrated/blob/018254974cb6cbf93ba9249b06b2d923e37a9e88/dehydrated#L421
In the case when you run against Pebble, this leads to a JWS error, because
https://localhost:14000/my-account/8, whereashttps://localhost:14000/sign-me-up/8.@Rogdham commented on GitHub (Mar 30, 2020):
Hi @alexzorin I was also trying to run against Pebble and found your issues, feel free to give #727 a test if you have some time 😊
@lukas2511 commented on GitHub (Apr 2, 2020):
Replaced by #727, will be fixed soon! Thanks!