Sample PGP key creation session

In following session, creates keys for:

    Marty McFly <marty@future.com>
(We don't know future.com domain exists or not. This is just an example.)

With following secret pass phrase:

    No Body Knows What I'm Typing Here
Note the text marked by caret (^) below does not echoed by PGP. Anyway, Again in big letter:

Read The MANUAL before use PGP.

PGP author nor we can't (and don't want to!) answer PGP related questions.


% pgp -kg
  ^^^^^^^ generate keys now.
Pretty Good Privacy(tm) 2.6.i - Public-key encryption for the masses.
(c) 1990-1994 Philip Zimmermann, Phil's Pretty Good Software. 29 Sep 94
International version - not for use in the USA.  Does not use RSAREF.
If this software is imported to the USA, it must not be re-exported.
Current time: 1995/04/19 02:27 GMT
Pick your RSA key size:
    1)   512 bits- Low commercial grade, fast but less secure
    2)   768 bits- High commercial grade, medium speed, good security
    3)  1024 bits- "Military" grade, slow, highest security
Choose 1, 2, or 3, or enter desired number of bits: 3
                                                    ^ pick 1024 here.
Generating an RSA key with a 1024-bit modulus.

You need a user ID for your public key.  The desired form for this
user ID is your name, followed by your E-mail address enclosed in
, if you have an E-mail address.
For example:  John Q. Smith <12345.6789@compuserve.com>
Enter a user ID for your public key: 
Marty McFly 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Type-in your address here.

You need a pass phrase to protect your RSA secret key.
Your pass phrase can be any sentence or phrase and may have many
words, spaces, punctuation, or any other printable characters.

Enter pass phrase: No Body Knows What I'm Typing Here
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type pass phrase(no echo)
Enter same pass phrase again: No Body Knows What I'm Typing Here
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type again.

Note that key generation is a lengthy process.
..........................................................................................++++ .................++++ 
Key generation completed.
% pgp -ks marty
  ^^^^^^^^^^^^^ Sign the key by yourself. You need to replace "marty" with
                your login name or whatever.

Pretty Good Privacy(tm) 2.6.i - Public-key encryption for the masses.
(c) 1990-1994 Philip Zimmermann, Phil's Pretty Good Software. 29 Sep 94
International version - not for use in the USA.  Does not use RSAREF.
If this software is imported to the USA, it must not be re-exported.
Current time: 1995/04/19 02:41 GMT

A secret key is required to make a signature. 
You specified no user ID to select your secret key,
so the default user ID and key will be the most recently
added key on your secret keyring.

Looking for key for user 'marty':

Key for user ID: Marty McFly 
1024-bit key, Key ID 143E4925, created 1995/04/19
          Key fingerprint =  4D DA 09 36 73 1D C5 33  BB 93 EB 4B 35 02 24 7E 


READ CAREFULLY:  Based on your own direct first-hand knowledge, are
you absolutely certain that you are prepared to solemnly certify that
the above public key actually belongs to the user specified by the
above user ID (y/N)? y
                     ^ You're signing your key!

You need a pass phrase to unlock your RSA secret key. 
Key for user ID "Marty McFly "

Enter pass phrase: No Body Knows What I'm Typing Here Pass phrase is good.  Just a moment....
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type pass phrase(no echo)
Key signature certificate added.
% pgp -kxaf marty >FILE
  ^^^^^^^^^^^^^^^^^^^^^ extract the key to the file FILE.
Pretty Good Privacy(tm) 2.6.i - Public-key encryption for the masses.
(c) 1990-1994 Philip Zimmermann, Phil's Pretty Good Software. 29 Sep 94
International version - not for use in the USA.  Does not use RSAREF.
If this software is imported to the USA, it must not be re-exported.
Current time: 1995/04/19 02:41 GMT

Extracting from key ring: '/tmp/ss/pgptest/pubring.pgp', userid "marty".

Key for user ID: Marty McFly 
1024-bit key, Key ID 143E4925, created 1995/04/19

Key extracted to file '/tmp/pgptemp.$00'.
% cat FILE
  ^^^^^^^^ now, see what you get.
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.i

mQCNAi+UeBsAAAEEAMP0kXU75GQdzwwlMiwZBUKFUDRgR4wH9y5NP9JaZfVX8shT
ESbCTbGSEExB2ktEPh5//dkfftsKNlzlAugKFKTgBv20tQ9lDKfdbPVR0HmTLz0e
wVIeqEue4+Mt/Kq7kMcQy+5sX2RBAiZTYl0n/JdY/WxflU0taq1kH/UUPkklAAUR
tB5NYXJ0eSBNY0ZseSA8bWFydHlAZnV0dXJlLmNvbT6JAJUCBRAvlHhGrWQf9RQ+
SSUBAQX+BACnhx7OTb1SfAcJVF/1kuRPUWuGcl57eZgv4syc1O9T3YNr0terWQBT
K0vFR00FdaBv9X9XwlxaBJHGeiBcmhaiOTwB912ysoteUzZHne3sHPw3MkYboAFx
xHg43Cnj60OeZG2PKp/kU91ipOJP1cs8/xYOGkeoAMqDfwPeFlkBiA==
=ddBN
-----END PGP PUBLIC KEY BLOCK-----
%
Then, send the contents of FILE to us.