You are not logged in.
Hi!
Today i wanted to recreate a GnuPG key, because every hour i got a password prompt for unlocking a key, so I decided to make new key (i have mail sync in crontab).
I decided to remove .gnupg directory content, because i didn't wanted to write all commands for removing key (probably i could do it in one simple command from 17 line of manpage, nevermind).
When i tried to create new key, i received:
gpg: agent_genkey failed: No such file or directory
Key generation failed: No such file or directoryI had symlink of .gnupg in my home directory to .local/share/gnupg so next i removed .local/share/gnupg directory and made it again, sadly it still doesn't work. I also tried this: https://unix.stackexchange.com/question … -directory, of course also doesn't work. I used
--full-gen-key.
Solved. Removed once again .gnupg and .local/share/gnupg AND rebooted my machine.
Last edited by kocotian (2020-12-19 19:34:15)
Offline