Skip to content

Check bls.Verify value#686

Merged
cyc60 merged 4 commits intomasterfrom
verify
Mar 17, 2026
Merged

Check bls.Verify value#686
cyc60 merged 4 commits intomasterfrom
verify

Conversation

@cyc60
Copy link
Copy Markdown
Contributor

@cyc60 cyc60 commented Mar 17, 2026

No description provided.

Signed-off-by: cyc60 <avsysoev60@gmail.com>
Copilot AI review requested due to automatic review settings March 17, 2026 08:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR ensures remote-signer voluntary exit signatures are actually validated by checking the return value of milagro_bls_binding.Verify and failing fast when verification does not pass.

Changes:

  • Add an explicit bls.Verify(...) result check for remote-signer exit signatures.
  • Raise an exception when exit signature verification fails.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/validators/keystores/remote.py Outdated
Comment thread src/validators/keystores/remote.py Outdated
cyc60 added 2 commits March 17, 2026 11:57
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Signed-off-by: cyc60 <avsysoev60@gmail.com>
Copilot AI review requested due to automatic review settings March 17, 2026 08:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR tightens validator voluntary-exit signing by validating that the remote signer’s returned BLS signature actually verifies against the expected signing root, and aligns the sw-utils dependency revision with the intended version.

Changes:

  • Add a bls.Verify(...) check for remote-signer voluntary exit signatures and raise on verification failure.
  • Bump sw-utils git revision from v0.12.9 to v0.12.12.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/validators/keystores/remote.py Validates remote-signer exit signatures before returning them.
pyproject.toml Updates sw-utils dependency revision to v0.12.12.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/validators/keystores/remote.py Outdated
Comment thread src/validators/keystores/remote.py Outdated
Signed-off-by: cyc60 <avsysoev60@gmail.com>
@cyc60 cyc60 merged commit 23354e0 into master Mar 17, 2026
8 checks passed
@cyc60 cyc60 deleted the verify branch March 17, 2026 09:37
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