mirror of
https://github.com/linuxboot/heads.git
synced 2025-04-01 16:41:03 +00:00
TPM password must be 1-32 characters. Loop if the password is not valid or the repeated password doesn't match, so the user can try again. Move prompt_new_owner_password to functions and use in both gui-init and tpm-reset. Fixes #1336 Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>