Gen keypair

Steve Butler sbutler at
Tue Nov 11 07:51:44 CET 2003

I just downloaded 1.2.3 and installed it over the 1.2.1 that WinPT was
using.  Then I did exactly what is shown in the prior email except at the
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? prompt, I entered a
lower case o for OK.  It them prompted for the passphrase (twice) and
generated a key pair (which I immediately deleted using WinPT Key Manager).

Then I went back and tried just entering a <CR> at the prompt.  There is no
default for this prompt and one of the options must be entered.  I suppose
we could ask that OK be the default.  But, there is a work-around that
allows one to continue.  At the very least, this makes the user sit up and
take notice that a major operation is about to begin and are they really
sure they wish to proceed.

-----Original Message-----
From: Jeff Lynn [mailto:jmlynn at]
Sent: Monday, November 10, 2003 1:22 PM
To: gnupg-users at
Subject: Gen keypair


I am new to GnuPG, so I downloaded the latest binary for Windows and ran the

D:\>gpg --gen-key
gpg (GnuPG) 1.2.3; Copyright (C) 2003 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)
   (5) RSA (sign only)
Your selection?
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 at>"

Real name: Johne Doe
Email address: jdoe at
Comment: TestId For John Doe
You selected this USER-ID:
    "Johne Doe (TestId For John Doe) <jdoe at>"

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit?

I cannot get out of the change prompt to complete the key generation.  What
am I missing?



Gnupg-users mailing list
Gnupg-users at

CONFIDENTIALITY NOTICE:  This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

More information about the Gnupg-users mailing list