Skip to content

privval: authenticate and persist keys for tcp conns #3105

@ebuchman

Description

@ebuchman

The TCPVal uses a SecretConnection over TCP, but does not currently authenticate the connection against a known node ID.

For the TCPVal, we need to:

  • persist (and encrypt) the TCPVal.secretConnKey

For the RemoteSigner (and any KMS implementation), we need to:

  • format address to dial as ID@host:port or ID@tcp://host:port
  • authenticate the dialed ID against the remote ID from the SecretConnection

Replaces part of #2549

Metadata

Metadata

Assignees

No one assigned

    Labels

    T:validatorType: Validator related

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions