.


:




:

































 

 

 

 


, . : , ,




: , , .

:

RSA, - -, RSA DSA (DSS);

PGP;

, ( , );

.

Pretty Good Privacy (PGP) (Philip Zimmermann). . :

1. PGP DOS/Windows, UNIX, Macintosh .

2. .

3. PGP , . RSA, DSS -, CAST-128, IDEA 3DES, SHA.

4. PGP .

, , PGP , , . , , .

PGP , , , . , PGP , .

, , . , , , . , , .

, . , "" . , ( - ) , . , -, , , . , .

, : , . : , . .

, , , . , , , "", . . . , , , .

PGP " ", ( ), , , . , . . , (" " "keyring") . ( pubring.pkr) , ( secring.skr) .

" ", "" ( 64 ). , 24 . , .

, , , - , . , . .

, . , . .

. , , , . . , , .

:

1. 4.1.1, 4.1.2, 4.2.1, 4.3.1, 4.3.2 4.3.3.

2. PGP, , , . .

PGP 6.5.8. (. 4). , PGP .

. PGP : pgp -h.

. textfile her_userid, : pgp -e textfile her_userid.
textfile.pgp.

: pgp -e letter.txt Alice, : pgp -e letter.txt "Alice S".
PGP "pubring.pkr" , "Alice" . PGP , "Alice S". , . . , "letter.txt", "letter.txt.pgp".

PGP , . , , .

, ASCII- Radix-64 - a: pgp -a textfile.pgp. textfile.asc.

: pgp -ea textfile her_userid. textfile.asc textfile.pgp.

. , , . , : pgp -e letter.txt Alice Bob Carol. letter.txt.pgp, : Alice, Bob Carol. .

. textfile your_userid, :

pgp -s textfile [-u your_userid].

, [] , .

textfile.pgp.

: pgp -s letter.txt -u Bob. PGP secring.skr , "Bob" . . , letter.txt, letter.txt.pgp.

, .

. textfile your_userid her_userid, :

pgp -es textfile her_userid [-u your_userid].

"" textfile.pgp. your_userid. her_userid. , PGP . , .

, PGP .

, ASCII- Radix-64 - a.

, .

. , . , , -. , , .

, : pgp -c textfile. PGP textfile.pgp , , .. PGP . , . PGP .

PGP , .

. ciphertextfile ciphertextfile :

pgp ciphertextfile [-o plaintextfile].

".pgp". plaintextfile , . , .

, . , .

, , , , , . PGP . , PGP , . , , , PGP , . , PGP .

. / , : pgp -kg. PGP , :

Choose the public-key algorithm to use with your new key

1) DSS/DH (a.k.a. DSA/ElGamal) (default)

2) RSA

Choose 1 or 2:

DSS/DH (a.k.a. DSA/ElGamal) PGP , ( ):

Choose the type of key you want to generate

1) Generate a new signing key (default)

2) Generate an encryption key for an existing signing key

Choose 1 or 2:

1- PGP . 2- PGP , . 1- , .

PGP :

Pick your DSS "master key'' size:

1) 1024 bits- Maximum size (Recommended)

Choose 1 or enter desired number of bits:

, , . :

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

<angle brackets>, if you have an E-mail address.

For example: John Q. Smith <[email protected]>

Enter a user ID for your public key:

, , , . . , < > , : John Q. Smith <[email protected]>. , , , .

PGP :

Enter the validity period of your signing key in days from 0 - 10950

0 is forever (the default is 0):

PGP " " , :

You need a pass phrase to protect your DSS 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:

Enter same pass phrase again:

. , , , , , . , . . , , . . , - .

:

PGP will generate a signing key. Do you also require an

encryption key? (Y/n)

PGP :

Pick your DH key size:

1) 1024 bits- High commercial grade, secure for many years

2) 2048 bits- "Military" grade, secure for forseeable future

3) 3072 bits- Archival grade, slow, highest security

Choose 1, 2, 3, or enter desired number of bits:

PGP :

Enter the validity period of your signing key in days from 0 - 10950

0 is forever (the default is 0):

, / , . , PGP :

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

RSA . :

Pick your RSA key size:

1) 1024 bits- High commercial grade, secure for many years

2) 2048 bits- "Military" grade, secure for forseeable future

Choose 1, 2, or enter desired number of bits:

, .

. -kx () , . . , , . .

- . , . . "" , , .

. : pgp -ka keyfile [keyring]. keyfile ".pgp". keyring pubring.pkr secring.skr , . .

, PGP . keyfile , . , , . , PGP , .

. : pgp -kr userid [keyring]. PGP , , . , . pubring.pkr. , secring.skr . .

, , .

() . , :

pgp -kx userid keyfile [keyring]

PGP , , . , -.

, , .

ASCII E-mail, -kxa.

. : pgp -kv[v] [userid] [keyring]. , userid . , . keyring pubring.pkr. , secring.skr . , .

, , , -kvv: pgp -kvv [userid] [keyring]. , , : pgp keyfile. , PGP keyfile.pgp, , .

PGP . 5.1.

5.1 ()

PGP

/ ,
pgp -e textfile her_userid
pgp -s textfile [-u your_userid]
, , pgp -es textfile her_userid [-u your_userid]
(CAST, 3DES, IDEA) pgp -c textfile
pgp ciphertextfile [-o plaintextfile]
, pgp -e textfile userid1 userid2 userid3
, pgp -d ciphertextfile

 


5.1 ()

PGP

pgp sb textfile [-u your_userid]
pgp b ciphertextfile
/ pgp kg
pgp ka keyfile [keyring]
() pgp kx userid keyfile [keyring] pgp kxa userid keyfile [keyring]  
pgp kv[v] [userid] [keyring]
pgp kc [userid] [keyring]
pgp ke userid [keyring]
pgp ke userid [keyring]
pgp kr userid [keyring]
- pgp ks her_userid [-u your_userid] [keyring]
pgp krs userid [keyring]
pgp kd your_userid
pgp kd userid

 


5.1 ()

PGP

,
ASCII radix-64 - a pgp -sea textfile her_userid pgp -kxa userid keyfile [keyring]
- w (wipe) pgp -sew her_userid message.txt
, ASCII, , , - t (text) pgp -sat message.txt her_userid

 





:


: 2016-10-06; !; : 424 |


:

:

, .
==> ...

790 - | 695 -


© 2015-2024 lektsii.org - -

: 0.075 .