Skip to content

KMS handshake with Version #2665

@liamsi

Description

@liamsi

@ValarDragon suggested to remove the Version field from the Canonical(Vote/Proposal) altogether and let the KMS (instead of the HSM) make sure (via an initial handshake) that it doesn't sign any message while "talking to a different version".

This would have the following advantages:

  • less communication overhead when sending Votes/Proposals
  • less bytes to sign inside the HSM
  • no need to change Vote/Proposal structs (or the Signable interface)

This would change the offsets though (cc @jleni)
(related: #2545)

Metadata

Metadata

Assignees

No one assigned

    Labels

    T:enhancementType: EnhancementT:validatorType: Validator relatedstalefor use by stalebot

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions