Published on: December 12, 2009 by George K.
gpg –gen-key was the command issued and after a few entropy delay [+++++++++++++++++++++++++++.+++++….+++++++++++++++++++++++++……………………+++++
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.]
the command failed to return
gpg: no writable public keyring found: eof
Key generation failed: eof
Solution would be to execute rm -rf ~/.gnugpg as there were a few files in the server which was root owned.
If you face any error like “GPGME: Bad passphrase”, but you were never asked for a passphrase, probability that issue is with the memory. Just increase the memory limit and you should be fine. In ubuntu, it will be at /etc/security/limits.conf
Category : General, Troubleshooting
Add new commentSIGN IN