community/tpm2-tools: fix missing dependency (tpm2-tss-tcti-device)
follow-up of !61319 (closed)
When installing tpm2-tools
, the tpm2_pcrread
command fails because of a missing dependency.
root@router ~# tpm2_pcrread
ERROR:tcti:src/tss2-tcti/tctildr.c:477:tctildr_init_context_data() Failed to instantiate TCTI
ERROR: Could not load tcti, got: "(null)"
Adding tpm2-tss-tcti-device
fixes it.
root@router ~ [1]# apk add tpm2-tss-tcti-device
(1/1) Installing tpm2-tss-tcti-device (4.1.2-r0)
OK: 393 MiB in 205 packages
root@router ~# tpm2_pcrread
sha1:
sha256:
[...]