diff options
author | Paul Selkirk <paul@psgd.org> | 2019-11-06 14:34:00 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2019-11-06 14:34:00 -0500 |
commit | 323bc8ade3eae73174961bbf604257a1b099fe55 (patch) | |
tree | 1559cea03677438ca9a7cb0313b65aa0cfb8f7b5 /csprng.c | |
parent | 9e6edd6082cc8d501e2b062983ed58b01ef677d7 (diff) |
Export/import "raw" keys for external storage.
Exported keys are wrapped with the MKM KEK, not a transit KEK, and can
only be imported back to the same HSM.
The idea is to support operators who have more keys than will fit on the
HSM, so they will cycle keys into and out of the HSM as needed.
NOTE that hashsig is, as always, special. The hashsig key has an internal
index that is updated on every signature. To prevent a hashsig key from
being re-imported with an old index (which would compromise the security
of the key), the hashsig key is disabled on export, and must be deleted
from the HSM before being re-imported.
Diffstat (limited to 'csprng.c')
0 files changed, 0 insertions, 0 deletions