Harden ingest of user-provided passphrase

This commit is contained in:
Wolfgang Woehl authored and GitHub committed 2025-10-20 16:55:27 +02:00
1 parent b502d26326
commit 9e7841ccd2
1 file changed
+1 -1
+1 -1
View File
@@ -121,7 +121,7 @@ user_form() {
done
# Hash the password using yescrypt
password_hash=$(openssl passwd -6 "$password")
password_hash=$(openssl passwd -6 pass:"$password")
full_name=$(gum input --placeholder "Used for git authentication (hit return to skip)" --prompt.foreground="#845DF9" --prompt "Full name> ")
email_address=$(gum input --placeholder "Used for git authentication (hit return to skip)" --prompt.foreground="#845DF9" --prompt "Email address> ")