Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ConsensusHeader to Candidate signature #2213

Conversation

fed-franz
Copy link
Contributor

Fix #2089

Without a signature on the ConsensusHeader, Candidate messages
would be malleable. Adding the structure to the signable data
fix the issue.
@fed-franz fed-franz linked an issue Aug 27, 2024 that may be closed by this pull request
@fed-franz fed-franz self-assigned this Aug 27, 2024
herr-seppia
herr-seppia previously approved these changes Aug 28, 2024
node-data/src/message.rs Show resolved Hide resolved
Copy link
Member

@herr-seppia herr-seppia left a comment

Choose a reason for hiding this comment

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

LGTM

@herr-seppia
Copy link
Member

Can this be merged?

@fed-franz fed-franz merged commit d1ef5fa into master Sep 7, 2024
15 checks passed
@fed-franz fed-franz deleted the 2089-consensus-candidate-messages-do-not-sign-consensusheader branch September 7, 2024 09:59
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.

consensus: Candidate messages do not sign ConsensusHeader
2 participants