`clevis` TPM pin not working by default
Package Information
- Package name: clevis
- Package version: clevis-19-r0
- Alpine version: 3.19.1`
- Alpine architecture: x86_64
Summary
I installed Clevis which title itself as an "Automated Encryption Framework". It has several "pins" and one of them include TPM, however when you install clevis and attempt to do something with the TPM, it won't work:
# clevis encrypt tpm2 '{}' <<< 'hello, world'
/usr/bin/clevis-encrypt-tpm2: line 91: tpm2_createprimary: command not found
I investigated the issue and found that clevis needs 2 more dependencies: tpm2-tools
and tpm2-tss-dev
.
I think those packages are dependencies because otherwise you can't do anything with TPM and Clevis. But then again, TPM isn't the only thing Clevis does, so I don't know.
Steps to reproduce
Install the clevis
package.