Skip to content

fix: use constant-time comparison for signatures#3406

Merged
lucaspin merged 4 commits intomainfrom
fix/hmac-equality-check
Mar 9, 2026
Merged

fix: use constant-time comparison for signatures#3406
lucaspin merged 4 commits intomainfrom
fix/hmac-equality-check

Conversation

@lucaspin
Copy link
Contributor

@lucaspin lucaspin commented Mar 9, 2026

This prevents timing side-channel attacks, allowing an attacker to iteratively guess the correct HMAC byte-by-byte by measuring response times.

lucaspin added 2 commits March 9, 2026 12:06
Signed-off-by: Lucas Pinheiro <lucas@superplane.com>
Signed-off-by: Lucas Pinheiro <lucas@superplane.com>
@superplanehq-integration
Copy link

👋 Commands for maintainers:

  • /sp start - Start an ephemeral machine (takes ~30s)
  • /sp stop - Stop a running machine (auto-executed on pr close)

lucaspin added 2 commits March 9, 2026 12:15
Signed-off-by: Lucas Pinheiro <lucas@superplane.com>
@lucaspin lucaspin merged commit 2739de0 into main Mar 9, 2026
3 checks passed
@lucaspin lucaspin deleted the fix/hmac-equality-check branch March 9, 2026 15:34
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