Skip to content

hash and constant time equals to prevent timing attacks#35

Open
leishman wants to merge 1 commit intoprometheus-erl:masterfrom
RiverFinancial:leishman--prevent-timing-attacks
Open

hash and constant time equals to prevent timing attacks#35
leishman wants to merge 1 commit intoprometheus-erl:masterfrom
RiverFinancial:leishman--prevent-timing-attacks

Conversation

@leishman
Copy link
Copy Markdown

This change should reasonably prevent timing attacks against http auth in "/metrics" endpoint. The current implementation does nothing to prevent timing attacks against the equality check in valid_basic_credentials?.

@frm
Copy link
Copy Markdown

frm commented Dec 16, 2025

Bump @deadtrickster

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.

2 participants