Skip to content

fix: guard HOTP against short digests - #35

Merged
LimiNode merged 1 commit into
mainfrom
codex/validate-hmac-offset-and-add-unit-test
Sep 4, 2025
Merged

fix: guard HOTP against short digests#35
LimiNode merged 1 commit into
mainfrom
codex/validate-hmac-offset-and-add-unit-test

Conversation

@LimiNode

@LimiNode LimiNode commented Sep 4, 2025

Copy link
Copy Markdown
Owner

Summary

  • ensure HOTP truncation checks digest length
  • cover short digest path with unit test

Testing

  • ./scripts/run_tests.sh

https://chatgpt.com/codex/tasks/task_e_68b8d3ef346c832cacc3b9c3e1c7a285

Add length check before dynamic truncation and cover short digests with unit test.
@LimiNode
LimiNode merged commit d8e6b37 into main Sep 4, 2025
4 checks passed
@LimiNode
LimiNode deleted the codex/validate-hmac-offset-and-add-unit-test branch September 4, 2025 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant