Proposal: Extend the privval.Message
interface to support signing arbitrary hashes
#5126
Labels
8000
privval.Message
interface to support signing arbitrary hashes
#5126
Feature Request
Summary
Celestia is introducing high throughput and low latency gossiping protocols that rely on the validators being able to commit to offchain messages using their consensus keys and existing KMS. However, the current key management systems only support signing predefined consensus messages via the
privval.Message
interface. To address this limitation, this proposal extends that interface to allow signing arbitrary message hashes in a backwards compatible way.It’s worth noting that signing hashes of offchain messages doesn’t require the typical “watermark” double signing protection.
Details
More specifically, Celestia is adding two protocols that would make use of this feature. The first is what we’re calling the Full Mesh Overlay (FMO), in which all validators directly connect to each other alongside their normal connections to consensus nodes. The second is what we’re referring to as Vacuum!, in which validators are committing to blobs that they have before they are included in a block.
Proposal
Include the following types in the
privval.Message
interface:So the
Message
interface will become:Pros
Security risks
Double-signing protection isn’t necessary for signing p2p messages in almost all cases. To simplify the implementation for the many kms we’re suggesting to explicitly not add it.
The text was updated successfully, but these errors were encountered: