Skip to content

Integrating with cardano-node #12

Closed
@tdammers

Description

@tdammers

In order for the KES Agent to be useful, Nodes must be able to connect to it and receive KES keys and OpCerts.

Steps:

  1. Merge PR input-output-hk/ouroboros-network#317 into cardano-base. This PR includes secure forgetting (without which a KES Agent would be useless), as well as direct access to secure (mlocked) key memory (which is necessary so that we can send keys over domain sockets without accidentally storing secrets in unprotected memory, e.g. via intermediate variables living on the GHC stack)
  2. Change cardano-node's dependency on cardano-base to a version that includes PR 317. This will require some changes to cardano-node to facilitate the changed KES API, which now requires IO for any access to protected memory (particularly sign keys), and will also propagate to some dependencies.
  3. Add kes-agent as a dependency to cardano-node
  4. Change cardano-node such that KES keys and OpCerts are no longer loaded from disk, but rather received from a KES Agent, and only stored in mlocked memory (storing OpCerts on disk is acceptable though)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🪴 Curation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions