simple-tpm-pk11(7) | simple-tpm-pk11(7) |
simple-tpm-pk11 - Simple PKCS11 provider for TPM chips
simple-tpm-pk11 Is a PKCS11 provider for TPM chips. Its primary purpose is to protect SSH client keys so that they can’t be copied or stolen if the machine they’re on gets compromised.
Since PKCS11 modules are .so files loaded by other binaries, they don’t take command line options. Instead simple-tpm-pk11 options can be set up environment variables.
Configuration options are of the key/value variety, with comments lines starting with "#".
# Load key from ~/.simple-tpm-pk11/my.key. key my.key
# Load key from /keys/foo/my.key, and the empty string as SRK PIN. key /keys/foo/my.key srk_pin
TODO.
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.
The password is read from stdin without turning off echo. It should be read from the terminal without echo.
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 |