Bug 150935 - gnupg fails to create a key pair when run for the first time
Summary: gnupg fails to create a key pair when run for the first time
Keywords:
Status: CLOSED DUPLICATE of bug 142206
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gnupg
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Nalin Dahyabhai
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-12 05:47 UTC by Ian Laurie
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-07 18:20:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ian Laurie 2005-03-12 05:47:18 UTC
Description of problem:
gnupg fails to create a key pair.  It looks like the directory
~/.gnupg doesn't get created as it should when run for the first time.

Version-Release number of selected component (if applicable):
gnupg-1.2.6-1

How reproducible:
Always.

Steps to Reproduce:
1. Launch gpg to generate a key pair for the first time.
2.
3.
  
Actual results:
Trying to generate a key pair using the --gen-key option, you get an
error as follows:

helix# gpg --gen-key
.
 [snip]
.
gpg: no writable public keyring found: eof
Key generation failed: eof
gpg: can't create `/root/.gnupg/random_seed': No such file or directory


Expected results:
Should create the ~/.gnupg directory and create the key pairs on first
run.

Additional info:
FC3 seems to have the same problem.  Worked OK in RHEL3 from what I
remember.

Comment 1 Peter Bieringer 2005-03-30 12:09:15 UTC
Can confirm, see also:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=146167

Comment 2 Nalin Dahyabhai 2005-09-07 18:20:01 UTC

*** This bug has been marked as a duplicate of 142206 ***


Note You need to log in before you can comment on or make changes to this bug.