Skip to content

Use crypto.secure_compare to verify signature#10

Merged
brettkolodny merged 2 commits intomainfrom
brett/fix-compare
Aug 11, 2025
Merged

Use crypto.secure_compare to verify signature#10
brettkolodny merged 2 commits intomainfrom
brett/fix-compare

Conversation

@brettkolodny
Copy link
Owner

I received an email pointing out that the current way this library is verifying signatures opens it up to timing attacks. This PR switches the logic to use crypto.secure_compare.

@brettkolodny brettkolodny merged commit 3b63d89 into main Aug 11, 2025
1 check passed
@brettkolodny brettkolodny deleted the brett/fix-compare branch August 11, 2025 14:52
@brettkolodny
Copy link
Owner Author

Thank you @BlockListed for reporting this!

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