Skip to content
This repository was archived by the owner on Jun 3, 2020. It is now read-only.
This repository was archived by the owner on Jun 3, 2020. It is now read-only.

Auditing validator signing events #59

@tarcieri

Description

@tarcieri

YubiHSM2s support advanced auditing features: they retain an audit log (which can be permanently set to on), and can enforce the log must be consumed before additional operations can be performed.

It would nice to be able to retain these audits, and additional information about each signature performed (e.g. current block height) in an external auditing service.

This could potentially be used for a double-signing defense: the KMS could potentially consult with the auditing service to determine the last block height signed.

Launch Plan (Tentative)

The KMS can support an user-configurable auditing subcommand:

  • KMS executes auditing subcommand each time a signing operation is performed
  • Subcommand is given signing request and signature (via e.g. stdin). Optionally it could also be given the YubiHSM2 audit event/audit log.
  • If auditing subcommand exits with an error, signature operation is aborted and an error is returned to the validator (possibly as a configurable option, i.e. fail open vs fail closed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions