gpg --gen-key issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ISSUE: gpg --gen-key fails with error "gpg: can't create
`/user/.gnupg/random_seed': No such file or directory"
FIX: create .gnupg directory by hand "mkdir ~/.gnupg"

DETAILS: I spent some time this morning trying to generate a key
unsuccesfully.  The generation process got as far as creating the
random seed but could not create the ~/.gnupg directory.  After some
fruitless searching I created the ~/.gnupg directory by hand and the
process worked flawlessly.
It actually seems like the random seed generator fails and then kicks
off again and then ultimately dies out.
<snip>
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.
++++++++++++++++++++++++++++++..+++++.+++++++++++++++++++++++++.+++++.+++++++++++++++.+++++++++++++++.++++++++++++++++++++.++++++++++.++++++++++>.+++++.................................................+++++
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.
.+++++.+++++++++++++++.++++++++++++++++++++++++++++++++++++++++++++++++++..+++++.++++++++++++++++++++.+++++.+++++.+++++++++++++++++++++++++>+++++..>+++++.......<+++++...........>+++++.<+++++....>+++++......<+++++................................................................................+++++^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpg: no writable public keyring found: eof
Key generation failed: eof
gpg: can't create `/user/.gnupg/random_seed': No such file or directory


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux