At least if you're using the gpg backend, it needs an email otherwise it spits out a message like this:
2024/09/25 18:53:46 failed to check private keys: failed to create new private key:
failed to create new private key:
failed to run command: '/usr/bin/gpg [/usr/bin/gpg --batch --gen-key]':
"gpg: Generating a RSA/RSA key pair\ngpg: -:8: missing argument\n" - exit status 2
Probably obvious to most, but still better to give a friendly validation error.
Steps To Reproduce
See above
Expected behavior
Refuse to proceed with empty email and gpg backend?
Environment
OS: Ubuntu 24.04
OS version: Linux lenovo-legion 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
gopass Version: gopass 1.15.14 go1.22.5 linux amd64
Summary
At least if you're using the gpg backend, it needs an email otherwise it spits out a message like this:
Probably obvious to most, but still better to give a friendly validation error.
Steps To Reproduce
See above
Expected behavior
Refuse to proceed with empty email and gpg backend?
Environment
Additional context