mirror of
https://github.com/linuxboot/heads.git
synced 2025-03-22 12:06:01 +00:00
Always send password via stdin to tpm2 create, tpm2 unseal. The password could being with things like 'file:', 'str:', 'pcr:' that would be interpreted by tpm2. Deduplicate the TPM1/2 code in kexec-unseal-key. The TPM2 code was not actually prompting for the password or sending it to tpmr unseal. Password is still not working yet though. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>