Skip to content

Commit

Permalink
Clearer error message when goodkey fails unexpectedly (#7642)
Browse files Browse the repository at this point in the history
This will prevent users from believing their key is at fault when the
actual error is between Boulder and the database.

Fixes #7624
  • Loading branch information
aarongable authored Aug 6, 2024
1 parent b9eff34 commit e398c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wfe2/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ func (wfe *WebFrontEndImpl) validSelfAuthenticatedPOST(
wfe.stats.joseErrorCount.With(prometheus.Labels{"type": "JWKRejectedByGoodKey"}).Inc()
return nil, nil, probs.BadPublicKey(err.Error())
}
return nil, nil, probs.ServerInternal("error checking key quality")
return nil, nil, probs.ServerInternal("internal error while checking JWK")
}

return payload, pubKey, nil
Expand Down

0 comments on commit e398c4d

Please sign in to comment.