Skip to content

auth: Use constant-time comparison in SCRAM stored-key verification#4562

Open
jpds wants to merge 1 commit intoprocessone:masterfrom
jpds:auth-scram-constant-time
Open

auth: Use constant-time comparison in SCRAM stored-key verification#4562
jpds wants to merge 1 commit intoprocessone:masterfrom
jpds:auth-scram-constant-time

Conversation

@jpds
Copy link
Copy Markdown
Contributor

@jpds jpds commented Apr 10, 2026

Replaces == with crypto:hash_equals/2 in is_password_scram_valid/2 to do a constant-time comparison.

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