Install and setup GPG on Windows Server 2003

John Clizbe JPClizbe at comcast.net
Fri Mar 4 17:48:22 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rick Alfonso wrote:
> To whom it may concern;

Ask not for whom the cell phone rings. It rings for thee.

> We are attempting to setup GnuPG version 1.4.0a on a windows platform
and have downloaded what we think is the correct file for this:
> 
> gnupg-w32cli-1.4.0a.zip

The 1.4.1rc2 installer may be a bit easier. And have more minor issues fixed.

> After reading several readme files I'm not sure how we make the files
and/or how to install and setup.

Check the install and configure page we wrote for our windows-based
Mozilla & Thunderbird users: http://enigmail.mozdev.org/gpgconf.html
> 
> Could you please give exact instructions to complete this task and how
to generate our key to pass along to our vendor who has given us their key?

1) Open a  CMD window. Enter the command 'gpg --gen-key'. Answer each
question. Accept defaults where offered.

C:\WINNT>gpg --gen-key
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
Please select what kind of key you want:
   (1) DSA and Elgamal (default)
   (2) DSA (sign only)
   (3) DSA (set your own capabilities)
   (5) RSA (sign only)
   (7) RSA (set your own capabilities)
Your selection?			<----- the default is fine
DSA keypair will have 1024 bits.
ELG-E keys may be between 512 and 4096 bits long.
What keysize do you want? (2048)<----- the default is fine
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)           <----- the default works. Pick an
Key does not expire at all         apropos value for your company
Is this correct? (y/N) y

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

Real name:                      <----- Your group or company name
Email address: some.email.address at fin-tec.com
Comment:          <----- Enter an useful comment describing the key
You selected this USER-ID:
    "Your group or company name (useful comment describing the key)
<some.email.address at fin-tec.com>"

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

Enter passphrase: <--- Enter passphrase twice here. It is possible
                       to create a key with no passphrase.

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: key 9EDE1AFA marked as ultimately trusted
public and secret key created and signed.

pub   1024D/9EDE1AFA 2005-03-04
      Key fingerprint = F410 9BEE 477A 4B5E BE7E  FA84 22EE 11FC 9EDE 1AFA
uid                  Your group or company name (useful comment describing
the key) <some.email.address at fin-tec.com>
sub   2048g/00B7F0F7 2005-03-04


C:\WINNT>gpg --export-key 0x9EDE1AFA > key_to_send_vendor.asc
                            ^^^^^^^^
                          from end of key generation output above

2) Attach key_to_send_vendor.asc to an email to vendor and send.


> Is there any third party packages for Windows that emulate all of the
GPG features we need?

No. PGP would come close but lacks features of GnuPG. You may wish to look
at GPGshell as a GUI frontend to GnuPG.



- --
John P. Clizbe                      Inet:   John (a) Mozilla-Enigmail.org
You can't spell fiasco without SCO. PGP/GPG KeyID: 0x608D2A10
"what's the key to success?"        / "two words: good decisions."
"what's the key to good decisions?" /  "one word: experience."
"how do i get experience?"          / "two words: bad decisions."

"Just how do the residents of Haiku, Hawai'i hold conversations?"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1rc1 (MingW32)
Comment: When cryptography is outlawed, b25seSBvdXRsYXdzIHdpbGwgdXNlIG
Comment: Be part of the £33t ECHELON -- Use Strong Encryption.
Comment: It's YOUR right - for the time being.
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCKJFVHQSsSmCNKhARAu/YAJ4xBJ9A8Xw/g4Lz5+NjUaaqYA17eQCePLTB
LC1y9LjwCZOcdqNePQXTajM=
=CXNx
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list