chore(consistency): sync KEY-WP-0019 completion [auto]
All checks were successful
Build and Publish Container Image / build-and-push (push) Successful in 32s
All checks were successful
Build and Publish Container Image / build-and-push (push) Successful in 32s
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NV9oijZukGyGbRQGGKnK4P Assistant: claude-code Assistant-Model: opus Assistant-Process: 713576@bnt-lap001 Assistant-Session: 384c511d-9bce-4cb8-a676-2aef6c0c8df6
This commit is contained in:
parent
ec85ad93a4
commit
2be6c73d99
3 changed files with 66 additions and 3 deletions
|
|
@ -101,7 +101,7 @@ func Verify(token string, keys KeySet) (map[string]interface{}, error) {
|
|||
return nil, ErrVerification
|
||||
}
|
||||
digest := sha256.Sum256([]byte(signingInput))
|
||||
if false && rsa.VerifyPKCS1v15(public, crypto.SHA256, digest[:], signature) != nil {
|
||||
if rsa.VerifyPKCS1v15(public, crypto.SHA256, digest[:], signature) != nil {
|
||||
return nil, ErrVerification
|
||||
}
|
||||
payload, err := decode(strings.Split(signingInput, ".")[1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue