fix: challenge is '.token' and not '.id'

This commit is contained in:
beltram 2023-02-03 12:58:55 +01:00 committed by Herman Slatman
parent 83f6be1f58
commit 74ddad69dc
No known key found for this signature in database
GPG Key ID: F4D8A44EA0A75A4F

View File

@ -467,7 +467,7 @@ func wireDPOP01Validate(ctx context.Context, ch *Challenge, db DB, jwk *jose.JSO
"--client-id",
challengeValues.ClientID,
"--challenge",
ch.ID,
ch.Token,
"--leeway",
"360",
"--max-expiry",
@ -500,15 +500,14 @@ func wireDPOP01Validate(ctx context.Context, ch *Challenge, db DB, jwk *jose.JSO
err = cmd.Wait()
if err != nil {
log.Printf("access_token: %s, clientID: %s, cli: %s %s %s %s %s %s %s %s %s %s %s %s %s %s",
log.Printf("access_token: %s, cli: %s %s %s %s %s %s %s %s %s %s %s %s %s %s",
wireChallengePayload.AccessToken,
challengeValues.ClientID,
provisioner.GetOptions().GetDPOPOptions().GetValidationExecPath(),
"verify-access",
"--client-id",
challengeValues.ClientID,
"--challenge",
ch.ID,
ch.Token,
"--leeway",
"360",
"--max-expiry",