You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running gopass with no secret keys in the keystore will fail after successful key creation (with a custom passphrase, not even a prompt to use my own?!?):
anomalroil@TLD20:~$ gpg -K
anomalroil@TLD20:~$ gopass
It seems you are new to gopass. Do you want to run the onboarding wizard? [Y/n/q]: y
[init] Initializing a new password store ...
[init] [init] No useable crypto keys. Generating new key pair
[init] [init] [crypto] Key generation may take up to a few minutes
[init] [init] [crypto] Creating key pair ...
[init] [init] [crypto] WARNING: We are about to generate some GPG keys.
[init] [init] [crypto] However, the GPG program can sometimes lock up, displaying the following:
"We need to generate a lot of random bytes."
If this happens, please see the following tips:
https://github.com/gopasspw/gopass/blob/master/docs/entropy.md
What is your name? [anomalroil]: Testou
What is your email? []: test@test.com
Continue? [Y/n/q]: y
[init] [init] [crypto] -> OK
[init] [init] [crypto] Passphrase: many tingly maternal scenic
Error: failed to run onboarding wizard: failed to create new private key: failed to create a useable key pair
anomalroil@TLD20:~$ gopass
It seems you are new to gopass. Do you want to run the onboarding wizard? [Y/n/q]: y
[init] Initializing a new password store ...
[ 0] Local store
[ 1] Create a Team
[ 2] Join an existing Team
Select action [0]: 0
0
[init] [init] [local] Initializing your local store ...
Please select a private key for encrypting secrets:
[0] gpg - 0xADE652F8C8984545 - Testou <test@test.com>
Please enter the number of a key (0-0, [q]uit) [0]: 0
Please enter an email address for password store git config []: test@test.com
[init] [init] [local] -> OK
[init] [init] [local] Configuring your local store ...
[init] [init] [local] Do you want to add a git remote? [y/N/q]: n
[init] [init] [local] -> OK
gopass> quit
To reproduce, specify a new GNUPGHOME in an empty directory to have no private key:
$ mkdir ~/testou
$ GNUPGHOME=~/testou gopass
The text was updated successfully, but these errors were encountered:
Summary
Running
gopass
with no secret keys in the keystore will fail after successful key creation (with a custom passphrase, not even a prompt to use my own?!?):And yet it created the keypair:
And the next invocation of gopass works:
To reproduce, specify a new GNUPGHOME in an empty directory to have no private key:
The text was updated successfully, but these errors were encountered: