-
Notifications
You must be signed in to change notification settings - Fork 142
Support for signing raw bytes with consensus keys #969
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
Conversation
rach-id
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for helping with this 🙏
| chain, | ||
| prelude::*, | ||
| privval::{SignableMsg, SignedMsgType}, | ||
| privval::{ConsensusMsg, ConsensusMsgType}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks like a breaking change, do we need to change these? or make the PR only additive?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This project is effectively a [[bin]] crate so it doesn't matter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool 👍
8420b0c to
572ff17
Compare
Implements support for the cometbft/cometbft#5126 interface for signing arbitrary domain-separated messages using a validator's consensus key
572ff17 to
7521278
Compare
| [patch.crates-io.tendermint-proto] | ||
| git = "https://github.com/rach-id/tendermint-rs.git" | ||
| branch = "rachid/generate-latest-v38-protos" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll have to vendor the protos to get rid of this, I guess
Re-enables support for signing raw bytes using a consensus key, originally added in #969. That PR originally sourced its protos via git from: https://github.com/rach-id/tendermint-rs/commits/rachid/generate-latest-v38-protos To avoid the git dependency, this vendors the relevant protos, until such a time that they can be merged into CometBFT properly, i.e.: cometbft/cometbft#5138
Re-enables support for signing raw bytes using a consensus key, originally added in #969. That PR originally sourced its protos via git from: https://github.com/rach-id/tendermint-rs/commits/rachid/generate-latest-v38-protos To avoid the git dependency, this vendors the relevant protos, until such a time that they can be merged into CometBFT properly, i.e.: cometbft/cometbft#5138
Re-enables support for signing raw bytes using a consensus key, originally added in #969. That PR originally sourced its protos via git from: https://github.com/rach-id/tendermint-rs/commits/rachid/generate-latest-v38-protos To avoid the git dependency, this vendors the relevant protos, until such a time that they can be merged into CometBFT properly, i.e.: cometbft/cometbft#5138
### Added - Support for Celestia's extension to sign raw bytes with consensus keys (#969, #1134) - `protocol_version = "v0.38"` configuration option for validators (#1138) - Support for expanded Ed25519 keys including the exported YubiHSM format (#1096) ### Changed - Bump Rust edition to 2024; MSRV 1.85 (#984, #967) - Migrate (back) to `ed25519-dalek` (#991) - Migrate from `tendermint-p2p` to `cometbft-p2p` (#1084) - Migrate from `tendermint-rs` to (iq-)`cometbft-rs` (#1124, #1129, #1139) - Bump `prost` and `tonic` to v0.14 (#1136) - Bump `abscissa_core` to v0.9 (#1146) ### Removed - `cosmrs` dependency (#1125)
Implements support for the cometbft/cometbft#5126 interface for signing arbitrary domain-separated messages using a validator's consensus key