mirror of
https://github.com/Dasharo/heads.git
synced 2026-06-13 10:16:29 -07:00
The prompt_tpm_owner_password() function sets tpm_owner_passphrase variable, but tpm2_seal was using an unset tpm_owner_password variable instead. This caused evictcontrol to fail with auth error (0x9A2) since no passphrase was being passed to the TPM command. Also standardizes all user-facing strings and variables to use 'passphrase' instead of 'password' for TPM owner auth, including the cache file path. Fixes regression introduced in commit 16648ca4b9. Signed-off-by: Thierry Laurion <insurgo@riseup.net>