Skip to content

Use a more "constant-time" approach for validating one-time passwords - #70

Merged
jchambers merged 1 commit into
mainfrom
constant_time_integer_comparison
Aug 17, 2026
Merged

Use a more "constant-time" approach for validating one-time passwords#70
jchambers merged 1 commit into
mainfrom
constant_time_integer_comparison

Conversation

@jchambers

Copy link
Copy Markdown
Owner

A reviewer suggests that we could slightly strengthen our security posture by switching to a one-time password comparison strategy that avoids CPU-specific optimizations that could make direct integer comparisons non-constant-time.

@jchambers
jchambers merged commit e19ce4f into main Aug 17, 2026
10 checks passed
@jchambers
jchambers deleted the constant_time_integer_comparison branch August 17, 2026 20:36
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