LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2006, 10:04 PM   #1
Eileen
Member
 
Registered: Oct 2004
Posts: 99

Rep: Reputation: 15
cannot find .gnupg in root


Hello,

I have recently installed FC3 in an USB harddisk. However I cannot find .gnupg in my root directory. Here is my error message:

[root@localhost ~]# gpg

gpg: failed to create temporary file `/root/.gnupg/.#lk0xf7005998.localhost.localdomain.4402': No such file or directory
gpg: keyblock resource `/root/.gnupg/secring.gpg': general error
gpg: failed to create temporary file `/root/.gnupg/.#lk0xf7005ca8.localhost.localdomain.4402': No such file or directory
gpg: keyblock resource `/root/.gnupg/pubring.gpg': general error
gpg: Go ahead and type your message ...


I have already installed the gnupg-1.2.6-1.i386.rpm.
[root@localhost ~]# rpm -qa | grep gnupg
gnupg-1.2.6-1


Why is wrong wif my installation? Please advise me!
 
Old 05-22-2006, 10:31 PM   #2
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
You're not totally set up to just start using gpg. Do "gpg --gen-key" first.
 
Old 05-22-2006, 10:48 PM   #3
Eileen
Member
 
Registered: Oct 2004
Posts: 99

Original Poster
Rep: Reputation: 15
Thank you very much for your reply. I did as what you have told. But I have the following error message. I dun know why. Please help again!

# gpg --gen-key
gpg (GnuPG) 1.2.6; Copyright (C) 2004 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

gpg: failed to create temporary file `/root/.gnupg/.#lk0xf7005998.localhost.localdomain.3485': No such file or directory
gpg: keyblock resource `/root/.gnupg/secring.gpg': general error
gpg: failed to create temporary file `/root/.gnupg/.#lk0xf7005ca8.localhost.localdomain.3485': No such file or directory
gpg: keyblock resource `/root/.gnupg/pubring.gpg': general error
Please select what kind of key you want:
(1) DSA and ElGamal (default)
(2) DSA (sign only)
(4) RSA (sign only)
Your selection? 1
DSA keypair will have 1024 bits.
About to generate a new ELG-E keypair.
minimum keysize is 768 bits
default keysize is 1024 bits
highest suggested keysize is 2048 bits
What keysize do you want? (1024)
Requested keysize is 1024 bits
Please specify how long the key should be valid.
0 = key does not expire
<n> = key expires in n days
<n>w = key expires in n weeks
<n>m = key expires in n months
<n>y = key expires in n years
Key is valid for? (0)
Key does not expire at all
Is this correct (y/n)? y

You need a User-ID to identify your key; the software constructs the user id
from Real Name, Comment and Email Address in this form:
"Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"

Real name: root
Name must be at least 5 characters long
Real name: XXXXX
Email address: XXXXX
Comment: Fedora 3
You selected this USER-ID:
"XXXXX (Fedora 3) <XXXX.com>"

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? 0
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
You need a Passphrase to protect your secret key.

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 `/root/.gnupg/random_seed': No such file or directory
 
Old 05-24-2006, 04:32 PM   #4
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Does /root exist? What kind of perms does it have?
 
Old 07-30-2007, 12:22 AM   #5
nitinbabladi
LQ Newbie
 
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
I have also facing the same problem. change the /root permissions to 777 from 750 still the problem
continues.

regards,

Nitin
 
Old 11-24-2008, 12:47 PM   #6
ttb
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Thumbs up Works as normal user

I got the same error, when I tried as root user. When I tried as a non-root user, it worked fine and got the key generated! At least that solved my problem, as anyway I am not going to send emails as a root user.

Thiru TB
 
  


Reply


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
problem with find and root (/) directory lfur Linux - General 6 05-27-2005 10:42 PM
on install says cannot find root device danger_mouse_69 Linux - Newbie 4 11-13-2004 02:17 PM
canot find root device azi Slackware 2 05-16-2004 07:30 AM
trying to find tut on ramdisk root FS e1000 Linux - Hardware 1 02-23-2004 04:05 AM
how do you use GnuPG Robin01 Linux - Newbie 2 02-18-2004 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration