[fedora@localhost ~]$ gpg --gen-key gpg (GnuPG) 1.4.2.1; Copyright (C) 2005 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? 1 DSA keypair will have 1024 bits. ELG-E keys may be between 1024 and 4096 bits long. What keysize do you want? (2048) 1024 Requested keysize is 1024 bits Please specify how long the key should be valid. 0 = key does not expire = key expires in n days w = key expires in n weeks m = key expires in n months y = key expires in n years Key is valid for? (0) 1y Key expires at Tue 06 Mar 2007 07:37:52 PM PST 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) " Real name: Fedora News Email address: fedora@fedoranews.org Comment: Fedora Account System You selected this USER-ID: "Fedora News (Fedora Account System) " 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: key FDC17CB1 marked as ultimately trusted public and secret key created and signed. gpg: checking the trustdb gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model gpg: depth: 0 valid: 2 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 2u gpg: next trustdb check due at 2007-03-07 pub 1024D/FDC17CB1 2006-03-07 [expires: 2007-03-07] Key fingerprint = 33A3 F352 F19C ED96 DCC4 9713 08FB CA5D FDC1 7CB1 uid Fedora News (Fedora Account System) sub 1024g/183C7ADE 2006-03-07 [expires: 2007-03-07] [fedora@localhost ~]$ gpg --list-keys /home/fedora/.gnupg/pubring.gpg ------------------------------- pub 1024D/E982C57F 2006-03-07 [expires: 2007-03-07] uid Fedora News (Fedora Account System) sub 1024g/42925B8F 2006-03-07 [expires: 2007-03-07] [fedora@localhost ~]$ gpg --keyserver pgp.mit.edu --send-keys E982C57F gpg: sending key E982C57F to hkp server pgp.mit.edu [fedora@localhost ~]$