"

How to Use Hardware Security Modules

This section provides guidance on how to use Hardware Security Modules (HSMs) to keep root keys offline. Other keys can also be kept offline to enhance security further, such as the targets and bins keys.

It is inspired by the Python Software Foundation’s TUF key generation and signing ceremonies runbook and is based on requirements for securely managing offline keys as outlined in PEP-458.

Notation

This document is designed to be read as a runbook – a collection of discrete instructions with remediation steps that, if followed correctly, should result in the intended effects.

We use the following notation:

  • DO actions: Perform the following actions.
  • IF condition THEN actions: If condition is met, then perform the following actions.
  • GO TO heading: Go to the referenced heading in the runbook and perform the stated actions thereon.
  • END: You’ve reached an end state.

This document uses RFC 2119 to describe optional and mandatory steps.