You are on page 1of 3

Following are the steps for PGP and public creation

1) install PGP software on a server


2) link this pgp executable such that pgp is available from any location
ln -s source_directory/pgp destination_directory/

3) login to the server where installation is done with applmgr as user name
4) put the key file at particular location
5) import key using following command
pgp -ka Key_file_name

enter three times 'y' as a input asked at command prompt.

this will install key

6) create public key/private key for your login


remember the passphrase gievn or used

{e08k25voa002:applmgr}$ pgp –kc

Pretty Good Privacy(tm) Version 6.5.8


1999 Network Associates Inc.
Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc.
Export of this software may be restricted by the U.S. government.
Key ring: '/export/home/applmgr/.pgp/pubring.pkr'
Type bits keyID Date User ID
RSA 1024 0x97739813 1999/11/23 TELCEL1 <hhernan@dipsa.telcel.com>
sig? 0xBCB56F63 (Unknown signator, can't be checked)
sig! 0x97739813 TELCEL1 <hhernan@dipsa.telcel.com>
1 matching key found.

6.1) To generate private key for applmgr

pgp -kg
Enter 2
Enter 1 for 1024 bits
enter applmgr
Enter the validity period of your signing key in days from 0 - 10950
0 is forever (the default is 0):
Enter 0
Enter pass phrase: "What you never thought possible." Note: Without Double
quotes

If you get message like …


PGP needs to generate some random data. This is done by measuring
the time intervals between your keystrokes. Please enter some
random text on your keyboard until the indicator reaches 100%.
Press ^D to cancel
29% of required data

Go on clicking any random alphabets till it reaches to 100% Then you will get
following message:
Enough, thank you.
....******* ..........................********
Make this the default signing key? (Y/n) Enter Y

Key generation completed.

6.2) To Sign a public key TELCEL1

pgp -ks TELCEL1 -u applmgr

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)?

Enter y

You need a pass phrase to unlock your secret key.


Key for user ID "applmgr"

Enter pass phrase:

Enter pass phrase: "What you never thought possible." Note: Without Double
quotes

Attach a regular expression to this signature, or


press enter for none:

click on enter

7) To check the Key.

pgp –kc

Pretty Good Privacy(tm) Version 6.5.8


1999 Network Associates Inc.
Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc.
Export of this software may be restricted by the U.S. government.

Key ring: '/export/home/applmgr/.pgp/pubring.pkr'


Type bits keyID Date User ID
RSA 1024 0xBA79E17B 2008/05/22 *** DEFAULT SIGNING KEY ***
applmgr
sig! 0xBA79E17B applmgr
RSA 1024 0x97739813 1999/11/23 TELCEL1 <hhernan@dipsa.telcel.com>
sig? 0xBCB56F63 (Unknown signator, can't be checked)
sig! 0x97739813 TELCEL1 <hhernan@dipsa.telcel.com>
sig! 0xBA79E17B applmgr
2 matching keys found.
KeyID Trust Validity User ID
0x97739813 complete complete TELCEL1 <hhernan@dipsa.telcel.com>
undefined (KeyID: 0xBCB56F63)
c complete TELCEL1 <hhernan@dipsa.telcel.com>
c ultimate applmgr
* 0xBA79E17B ultimate complete applmgr
c ultimate applmgr

You might also like