Skip to content

Use public key for ed25519 Signer verify method - #297

Merged
mhutchinson merged 1 commit into
transparency-dev:mainfrom
cmurphy:signer-verifier-fix
Nov 11, 2026
Merged

mhutchinson merged 1 commit into
transparency-dev:mainfrom
cmurphy:signer-verifier-fix

Conversation

@cmurphy

@cmurphy cmurphy commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Without this patch, the .verify function field in note.Signer uses the Signer's private key to verify a signature, which means the Verifier method returns an unusable verifier. This change fixes the callback to use the correct key.

Found and fixed by AI, reviewed by me.

Without this patch, the .verify function field in note.Signer uses the
Signer's private key to verify a signature, which means the Verifier
method returns an unusable verifier. This change fixes the callback to
use the correct key.

Found and fixed by AI, reviewed by me.

Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
@cmurphy
cmurphy requested a review from a team as a code owner November 10, 2026 23:14
@cmurphy
cmurphy requested a review from mhutchinson November 10, 2026 23:14
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.79%. Comparing base (fa00c16) to head (787b5ba).
⚠️ Report is 206 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #297      +/-   ##
==========================================
+ Coverage   82.57%   91.79%   +9.22%     
==========================================
  Files           5       10       +5     
  Lines         241     1097     +856     
==========================================
+ Hits          199     1007     +808     
- Misses         30       90      +60     
+ Partials       12        0      -12     

☔ View full report in Codecov by Harness.
📢 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.

@mhutchinson
mhutchinson merged commit 01be8b6 into transparency-dev:main Nov 11, 2026
14 checks passed
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.

3 participants