GPG
Generazione delle chiavi.
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. gpg: keyring `/tmp/gpg//secring.gpg' created gpg: keyring `/tmp/gpg//pubring.gpg' created 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. 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 = 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) 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: Paolino Paperino Email address: paperino@paperopoli.com Comment: You selected this USER-ID: "Paolino Paperino " 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: /tmp/gpg//trustdb.gpg: trustdb created public and secret key created and signed. key marked as ultimately trusted. pub 1024D/9F75909D 2003-11-28 Paolino Paperino Key fingerprint = FC05 4080 CC62 8525 075D AECE 4410 AB63 9F75 909D sub 1024g/8AF32E90 2003-11-28