Merge pull request #54 from wolfgangw/patch-1
Harden ingest of user-provided passphrase
This commit is contained in:
1 file changed
+1
-1
@@ -121,7 +121,7 @@ user_form() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Hash the password using yescrypt
|
# 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> ")
|
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> ")
|
email_address=$(gum input --placeholder "Used for git authentication (hit return to skip)" --prompt.foreground="#845DF9" --prompt "Email address> ")
|
||||||
|
|||||||
Reference in new issue
Block a user