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! |
You're not totally set up to just start using gpg. Do "gpg --gen-key" first.
|
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 |
Does /root exist? What kind of perms does it have?
|
I have also facing the same problem. change the /root permissions to 777 from 750 still the problem
continues. regards, Nitin |
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 |
All times are GMT -5. The time now is 07:28 AM. |