Skip to content

test: add negative-path crypto utility tests#354

Open
vaibhavchopra-wq wants to merge 1 commit into
masterfrom
test/negative-path-crypto-tests
Open

test: add negative-path crypto utility tests#354
vaibhavchopra-wq wants to merge 1 commit into
masterfrom
test/negative-path-crypto-tests

Conversation

@vaibhavchopra-wq
Copy link
Copy Markdown

Summary

  • Add comprehensive negative-path tests for signature verification utilities
  • Tests cover:
    • Empty signature rejection
    • Wrong length signature rejection
    • Non-hex signature rejection
    • Tampered valid-hex signature rejection
    • Valid dynamic signature acceptance
    • Special characters in payload
    • Unicode characters in payload (multi-byte UTF-8)

Test plan

  • All new tests pass
  • CI passes
  • Coverage maintained or improved

🤖 Generated with Claude Code

Add comprehensive tests for signature verification edge cases:
- Empty signature rejection
- Wrong length signature rejection
- Non-hex signature rejection
- Tampered valid-length hex signature rejection
- Valid dynamic signature acceptance
- Special characters in payload
- Unicode in payload

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant