Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 07-12-2006, 08:01 PM   #1
LQ Newbie
Registered: Mar 2005
Distribution: FreeBSD ** CENTOS ** Ubuntu
Posts: 15

Rep: Reputation: 0
gpg --gen-key problems

Hi, I keep getting this error when generating my key. Logged on as root... any help appreciated thanx much

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 `/root/.gnupg/random_seed': No such file or directory
Old 07-14-2006, 04:59 AM   #2
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Do you have read-write access to the directory /root/.gnupg/?
Old 06-29-2008, 09:27 AM   #3
LQ Newbie
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0


I got the same error message. But I then saw that I didn't have the ".gnupg" directory either under "/root/" for the root user of under "/home/myusername" for the default userID. After I just created the file with "mkdir .gnupg" and that's it.

The file should have the correct write permission.



gnupg, gpg

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i install a gpg key? jaan kaer Linux - Newbie 9 07-31-2004 02:06 PM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 06:00 PM
what is gpg-key salahuddin_66 Slackware 3 05-18-2004 03:10 AM
Problems with GPG Key? Duplicator Fedora - Installation 0 02-07-2004 07:27 AM
if they got my gpg private key...... qwijibow Linux - Security 1 10-21-2003 12:22 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration