heads/initrd/bin
Jonathon Hall 0a38717e20
tpmr: Wrap TPM1 and TPM2 unseal actions so scripts can invoke either
Provide tpmr unseal to unseal a file with TPM1 or TPM2.  For TPM1, it
wraps tpm nv_readvalue and tpm unsealfile.  For TPM2, it wraps tpm2
unseal.

kexec-unseal-key, seal-hotpkey, unseal-hotp, and unseal-totp no longer
need to differentiate TPM1/TPM2.

Fixes spurious shred errors on TPM2 that only apply to TPM1 (temporary
sealed secret file and shred are now internal to tpmr).

Fixes TPM1 disk unlock key unsealing due to logic errors relating to
exit status of tpmr unseal or tpm unsealfile (now always uses status of
tpmr unseal).

Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
2023-03-08 12:45:50 -05:00
..
cbfs-init tpm2-tools: Change sense of CONFIG_TPM to mean any TPM, not just TPM1. 2023-03-08 12:45:46 -05:00
cbfs.sh Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
config-gui.sh tpm2-tools: Change sense of CONFIG_TPM to mean any TPM, not just TPM1. 2023-03-08 12:45:46 -05:00
flash-gui.sh Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
flash.sh Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
flashrom-kgpe-d16-openbmc.sh Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
generic-init Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
gpg-gui.sh Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
gpgv Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
gui-init tpm2-tools: Change sense of CONFIG_TPM to mean any TPM, not just TPM1. 2023-03-08 12:45:46 -05:00
kexec-boot tpmr: Add kexec_finalize command to finalize TPM before boot 2023-03-08 12:45:49 -05:00
kexec-insert-key Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
kexec-iso-init Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
kexec-parse-bls Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
kexec-parse-boot Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
kexec-save-default tpm2-tools: Change sense of CONFIG_TPM to mean any TPM, not just TPM1. 2023-03-08 12:45:46 -05:00
kexec-save-key Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
kexec-seal-key tpmr: Add seal/unseal debug tracing 2023-03-08 12:45:48 -05:00
kexec-select-boot kexec-select-boot: For debug inspection, drop to recovery 2023-03-08 12:45:48 -05:00
kexec-sign-config Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
kexec-unseal-key tpmr: Wrap TPM1 and TPM2 unseal actions so scripts can invoke either 2023-03-08 12:45:50 -05:00
key-init Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
media-scan Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
mount-usb Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
network-init-recovery Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
oem-factory-reset tpm2-tools: Change sense of CONFIG_TPM to mean any TPM, not just TPM1. 2023-03-08 12:45:46 -05:00
oem-system-info-xx30 Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
poweroff Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
qubes-measure-luks Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
reboot Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
seal-hotpkey tpmr: Wrap TPM1 and TPM2 unseal actions so scripts can invoke either 2023-03-08 12:45:50 -05:00
seal-totp tpm2-tools: Change sense of CONFIG_TPM to mean any TPM, not just TPM1. 2023-03-08 12:45:46 -05:00
t430-flash.init Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
tpm-reset tpm2-tools: Change sense of CONFIG_TPM to mean any TPM, not just TPM1. 2023-03-08 12:45:46 -05:00
tpmr tpmr: Wrap TPM1 and TPM2 unseal actions so scripts can invoke either 2023-03-08 12:45:50 -05:00
uefi-init tpm2-tools: Change sense of CONFIG_TPM to mean any TPM, not just TPM1. 2023-03-08 12:45:46 -05:00
unseal-hotp tpmr: Wrap TPM1 and TPM2 unseal actions so scripts can invoke either 2023-03-08 12:45:50 -05:00
unseal-totp tpmr: Wrap TPM1 and TPM2 unseal actions so scripts can invoke either 2023-03-08 12:45:50 -05:00
usb-init tpm2-tools: Change sense of CONFIG_TPM to mean any TPM, not just TPM1. 2023-03-08 12:45:46 -05:00
wget-measure.sh Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00
x230-flash.init Add dual support for real bash and busybox's bash(ash) 2023-03-08 12:45:44 -05:00