-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
(I originally opened this over in smallstep/docs/issues/466, but I'm leaning to this being an issue with step-kms-create instead as I have tried the other constructs suggested by step-kms-plugin create -h and they all return the same error).
Smallstep CLI/0.28.7 (linux/amd64)
step-kms-plugin/0.15.1 (linux/amd64)
according to [step-ca/cryptographic-protection.mdx]
step kms create --json 'tpmkms:name=my-intermediate-ca' is supposed to be sufficient.
The reality appears to be somewhat different:
$ step kms create --json 'tpmkms:name=foobar.example.com'
Error: failed to create key: failed creating key: failed creating key "foobar.example.com": failed to get SRK handle: EvictControl failed: error code 0x4c : NV Index or persistent object already definedThe user executing the command is a member of the tss group and /dev/tpmrm0 is present with the correct permissions:
$ ls -la /dev/tpmrm0
crw-rw---- 1 tss tss 254, 65536Metadata
Metadata
Assignees
Labels
No labels