gopass
gopass copied to clipboard
Confusing "need to unlock" message during setup
Running gopass setup
after a fresh install of 1.15.13:
๐ Welcome to gopass!
๐ Initializing a new password store ...
๐ No useable cryptographic keys. Generating new key pair
๐งช Creating cryptographic key pair (gpg) ...
๐ฉ Gathering information for the gpg key pair ...
๐ถ What is your name? XXX
๐ง What is your email? XXX
โ Do you want to enter a passphrase? (otherwise we generate one for you) [y/N/q]: # typed Enter for default here
โ
Key pair for gpg generated
Passphrase: XXX
โ You need to remember this very well!
โ ๐ We need to unlock your newly created private key now! Please enter the passphrase you just generated.
Do you want to export your public key to XXX? [y/N/q]:
It says "need to unlock your newly created private key now! Please enter the passphrase you just generated" but then instead of prompting for the passphrase it immediately asks another question about exporting the public key.
(As a side note, I think it would be great to have a hint in the question about exporting the public key to help the user decide...)
Environment
- OS: Pop!_OS 22.04
- OS version: Linux pop-os 6.6.10-76060610-generic #202401051437~1709085277~22.04~31d73d8 SMP PREEMPT_DYNAMIC Wed F x86_64 x86_64 x86_64 GNU/Linux
- gopass Version: 1.15.13 go1.22.1 linux amd64
- Installation method: gopass repo