stpm-sign(1) | stpm-sign(1) |
stpm-sign - Sign data using the TPM chip
stpm-sign [ -hs ] -k key file -f input file
stpm-sign takes the SRK-encrypted key blob and has the TPM sign the contents of input file using the key.
This program is mostly made for debugging, to make sure that the TPM is set up correctly and a valid key was generated.
stpm-sign -k ~/.simple-tpm-pk11/my.key -f my-data-here
stpm-sign -k ~/.simple-tpm-pk11/my-PIN-key.key -f my-data-here Enter key PIN: my secret password here
stpm-sign -sk ~/.simple-tpm-pk11/my-PIN-key.key -f my-data-here Enter SRK PIN: 12345678 Enter key PIN: my secret password here
Most errors will probably be related to interacting with the TPM chip. Resetting the TPM chip and taking ownership should take care of most of them. See the TPM-TROUBLESHOOTING section of simple-tpm-pk11(7).
Simple-TPM-PK11 was written By Thomas Habets <habets@google.com> / <thomas@habets.se>.
git clone https://github.com/ThomasHabets/simple-tpm-pk11.git
1th December, 2013 | simple-tpm-pk11 |