Unverified Commit 1c14c1a8 authored by Hong Minhee's avatar Hong Minhee
Browse files

Fix graceful handling of malformed RFC 9421 sig



Improves error handling in HTTP signature creation and verification to
prevent 500 Internal Server Error responses when encountering malformed
RFC 9421 signatures. The verification process now gracefully handles
signature base creation failures and continues processing instead of
crashing.

Changes:

- Added try-catch blocks around createRfc9421SignatureBase calls
- Enhanced error messages for signature creation failures
- Added comprehensive test cases for error handling scenarios

Co-Authored-By: default avatarClaude <noreply@anthropic.com>
parent 9dae2ae3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment