Include tpm2_dictionarylockout like tpm_resetdalock

This commit is contained in:
наб committed 2021-11-27 22:46:40 +01:00
1 parent c9cd46ab95
commit de9b591546
2 files changed
+2 -1

No files matched your search

+1
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() {
+1 -1
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