client jwk was there the whole time

pull/1671/head
beltram 10 months ago committed by Herman Slatman
parent ed2bce9a3c
commit 4d028f7813
No known key found for this signature in database
GPG Key ID: F4D8A44EA0A75A4F

@ -463,10 +463,6 @@ func wireDPOP01Validate(ctx context.Context, ch *Challenge, db DB, jwk *jose.JSO
return NewErrorISE("missing provisioner")
}
jwk, ok = ctx.Value("jwk").(*jose.JSONWebKey)
if !ok || jwk == nil {
return storeError(ctx, db, ch, false, NewError(ErrorServerInternalType, "failed fetching the client JWK from context"))
}
kid, thumbprintErr := jwk.Thumbprint(crypto.SHA256)
if thumbprintErr != nil {
return storeError(ctx, db, ch, false, WrapError(ErrorServerInternalType, thumbprintErr, "failed to compute JWK thumbprint"))

Loading…
Cancel
Save