LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 07-12-2006, 09:01 PM   #1
tuhimareikura
LQ Newbie
 
Registered: Mar 2005
Distribution: FreeBSD ** CENTOS ** Ubuntu
Posts: 15
Thanked: 0
gpg --gen-key problems


[Log in to get rid of this advertisement]
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
tuhimareikura is offline  
Tag This Post
Reply With Quote
Old 07-14-2006, 05:59 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 514
Thanked: 0
Do you have read-write access to the directory /root/.gnupg/?
cdhgee is offline  
Tag This Post
Reply With Quote
Old 06-29-2008, 10:27 AM   #3
erangalds
LQ Newbie
 
Registered: Jul 2007
Posts: 2
Thanked: 0
Gambit

Hi

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.

Cheers
erangalds is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 03:06 PM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 07:00 PM
what is gpg-key salahuddin_66 Slackware 3 05-18-2004 04:10 AM
Problems with GPG Key? Duplicator Fedora - Installation 0 02-07-2004 08:27 AM
if they got my gpg private key...... qwijibow Linux - Security 1 10-21-2003 01:22 AM


All times are GMT -5. The time now is 01:22 PM.

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