mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-03 14:40:00 +01:00
Bug reading nonce data from headers #522
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 @joele89 on GitHub (Feb 22, 2021).
bug on F5 v13 (curl 7.47.1) where curl will not have spaces between header name and content. results in empty nonce variable.
# INFO: Using main config file /shared/letsencrypt/config
+ Generating account key...
+ Registering account key with ACME server...
+ ERROR: An error occurred while sending post-request to https://acme-staging-v02.api.letsencrypt.org/acme/new-acct (Status 400)
Details:
HTTP/2.0 400
server:nginx
date:Mon, 22 Feb 2021 08:12:33 GMT
content-type:application/problem+json
content-length:112
cache-control:public, max-age=0, no-cache
link:https://acme-staging-v02.api.letsencrypt.org/directory;rel="index"
replay-nonce:00032j5SQTM3vKzMqhzyW6r4AH7qJNDWVNjqg-AaT41pFyM
{
"type": "urn:ietf:params:acme:error:badNonce",
"detail": "JWS has no anti-replay nonce",
"status": 400
}
@lukas2511 commented on GitHub (Mar 21, 2021):
Hi, Thanks for bringing this up.
I've merged your pullrequest, but also rewrote it a minute later while fixing similar issues in the script. Really weird behaviour with the lowercase headers and no whitespace...