mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-21 17:36:43 +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>