Red Hat Bugzilla – Bug 191685
gnupg doesn't create automatically ~/.gnupg
Last modified: 2007-11-30 17:07:25 EST
With a new user run gpg --gen-key
Key generation ends with error:
gpg: no writable public keyring found: eof
Key generation failed: eof
gpg: can't create `/home/user/.gnupg/random_seed': No such file or directory
Solution: manually create the ~/.gnupg folder first.
Please create it automatically when not found(and set the permissions go-rwx).
This should work with whatever is the home used for gpg, it might be another if
passed with --homedir
This should be fixed in the recently-released erratum. If you find that this is
not the case, please reopen this bug. Thanks!
*** This bug has been marked as a duplicate of 142206 ***