problems creating generating a key pair

Kirkland, Mike # IHTUL
Wed Dec 19 16:58:02 2001

Hi everyone,

I am try to generate a key pair and I get these errors. I can generate a key
pair ok as root but, not as a user called gpguser. I tried the
no-secmem-warning in gpguser's home directory of
/usr/users/gpguser/.gnupg/options file, but I still can not create a key
pair. Any help is appreciated> gpg --gen-key
gpg (GnuPG) 1.0.6; Copyright (C) 2001 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.

Please select what kind of key you want:
   (1) DSA and ElGamal (default)
   (2) DSA (sign only)
   (4) ElGamal (sign and encrypt)
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) 2048
Do you really need such a large keysize? y
Requested keysize is 2048 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) 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) <>"

Real name: gpguser ndchealth
Email address:
Comment: gpguser to encrypt files
You selected this USER-ID:
    "gpguser ndchealth (gpguser to encrypt files)

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

gpg: fatal: can't connect to `/var/run/egd-pool': Connection refused
secmem usage: 2304/2304 bytes in 7/7 blocks of pool 2304/16384> ls -al
total 37856
drwx------   2 gpguser  users        8192 Dec 12 15:05 .
drwxr-x--x   4 gpguser  users        8192 Dec 17 09:35 ..
-rw-r--r--   1 gpguser  users     2646720 Dec 11 16:08 HC12111.001
-rw-r--r--   1 gpguser  users    36082089 Dec 11 16:08 UB12111.001
-rw-r--r--   1 gpguser  users           5 Dec 11 14:50 mikes_test
-rw-r--r--   1 gpguser  users        4342 Dec  4 15:13 options.gpguser
-rw-r--r--   1 gpguser  users         737 Dec 11 14:47 ourpub_frombrad.txt
-rw-r--r--   1 gpguser  users         144 Dec 11 14:47 oursec_frombrad.txt
-rw-r--r--   1 gpguser  users           0 Dec  4 15:13 pubring.gpg
-rw-------   1 gpguser  users           0 Dec  4 15:13 secring.gpg> ^[[B^[[B

Mike Kirkland
NDC Health