diff options
Diffstat (limited to 'tpm2_install')
-rwxr-xr-x | tpm2_install | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tpm2_install b/tpm2_install new file mode 100755 index 0000000..5657823 --- /dev/null +++ b/tpm2_install @@ -0,0 +1,31 @@ +#!/bin/bash + +build() { + add_module "tpm_tis" + add_module "tpm_crb" + + add_binary "/usr/bin/tpm2_unseal" + add_binary "/usr/bin/tpm2_policypcr" + add_binary "/usr/bin/tpm2_policyauthorize" + add_binary "/usr/bin/tpm2_flushcontext" + add_binary "/usr/bin/tpm2_startauthsession" + add_binary "/usr/bin/tpm2_load" + + add_binary "/usr/lib/libtss2-tcti-device.so.0" + + add_file "/etc/tpm2/policy" + add_file "/etc/tpm2/rsaname" + add_file "/etc/tpm2/verification" + add_file "/etc/tpm2/pcr" + add_file "/etc/tpm2/keyloc" + + add_runscript +} + +help() { + cat <<EOF +todo +EOF +} + +# vim: set ft=sh ts=4 sw=4 et: |