Skip to content

Change Key::validate to use variable time division to fix performance regression#2389

Open
kaie wants to merge 1 commit into
rnpgp:mainfrom
kaie:variable-time-key-validation
Open

Change Key::validate to use variable time division to fix performance regression#2389
kaie wants to merge 1 commit into
rnpgp:mainfrom
kaie:variable-time-key-validation

Conversation

@kaie
Copy link
Copy Markdown
Contributor

@kaie kaie commented May 7, 2026

@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.46%. Comparing base (83a987a) to head (c6a3e43).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2389      +/-   ##
==========================================
- Coverage   85.46%   85.46%   -0.01%     
==========================================
  Files         126      126              
  Lines       22711    22710       -1     
==========================================
- Hits        19409    19408       -1     
  Misses       3302     3302              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kaie
Copy link
Copy Markdown
Contributor Author

kaie commented May 7, 2026

I note that Key::Validate takes a parameter (bool secret).

Would it necessary to use the constant time code when secret is true?

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