Include tpm2_dictionarylockout like tpm_resetdalock

This commit is contained in:
наб 2021-11-27 22:46:34 +01:00
parent c9cd46ab95
commit de9b591546
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ _install_tpm2() {
inst_binary zfs-tpm2-load-key
# shellcheck disable=SC2046
inst_library $(find /usr/lib -name 'libtss2-tcti*.so*') # TODO: there's got to be a better way™!
command -v tpm2_dictionarylockout > /dev/null && inst_binary tpm2_dictionarylockout
}
_install_tpm1x() {

View File

@ -17,7 +17,7 @@ sed -Ei 's/^decrypt_fs\(\)/__tzpfms__&/' "$DESTDIR/scripts/zfs"
cat /usr/share/tzpfms/initramfs-tools-zfs-patch.sh >> "$DESTDIR/scripts/zfs"
for x in zfs-tpm-list zfs-tpm2-load-key zfs-tpm1x-load-key tpm_resetdalock tcsd $(find /usr/lib -name 'libtss2-tcti*.so*'); do # TODO: there's got to be a better way™!
for x in zfs-tpm-list zfs-tpm2-load-key tpm2_dictionarylockout zfs-tpm1x-load-key tpm_resetdalock tcsd $(find /usr/lib -name 'libtss2-tcti*.so*'); do # TODO: there's got to be a better way™!
xloc="$(command -v "$x")" && copy_exec "$xloc"
done