aboutsummaryrefslogtreecommitdiff
path: root/utils/pkey.c
AgeCommit message (Collapse)Author
2019-12-02After some thought, I'd rather make raw export/import a sub-function ofPaul Selkirk
key export/import (kekek = none, kek_len = 0), rather than separate RPCs.
2019-11-06Export/import "raw" keys for external storage.Paul Selkirk
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.
2019-04-10Allow multiple iterations in verify, for better timing measurement.Paul Selkirk
2019-04-02The all-singing, all-dancing key management appPaul Selkirk