|
|
1.1.1.5 root 1: Here's a quick summary of PGP v2.6 commands.
2:
3: To encrypt a plaintext file with the recipient's public key:
4: pgp -e textfile her_userid
5:
6: To sign a plaintext file with your secret key:
7: pgp -s textfile [-u your_userid]
8:
1.1.1.6 ! root 9: To sign a plaintext file with your secret key and have the output
! 10: readable to people without running PGP first:
! 11: pgp -sta textfile [-u your_userid]
! 12:
1.1.1.5 root 13: To sign a plaintext file with your secret key, and then encrypt it
14: with the recipient's public key:
15: pgp -es textfile her_userid [-u your_userid]
16:
17: To encrypt a plaintext file with just conventional cryptography, type:
18: pgp -c textfile
19:
20: To decrypt an encrypted file, or to check the signature integrity of a
21: signed file:
22: pgp ciphertextfile [-o plaintextfile]
23:
24: To encrypt a message for any number of multiple recipients:
25: pgp -e textfile userid1 userid2 userid3
26:
27: --- Key management commands:
28:
29: To generate your own unique public/secret key pair:
30: pgp -kg
31:
32: To add a public or secret key file's contents to your public or
33: secret key ring:
34: pgp -ka keyfile [keyring]
35:
36: To extract (copy) a key from your public or secret key ring:
37: pgp -kx userid keyfile [keyring]
38: or: pgp -kxa userid keyfile [keyring]
39:
40: To view the contents of your public key ring:
41: pgp -kv[v] [userid] [keyring]
42:
43: To view the "fingerprint" of a public key, to help verify it over
44: the telephone with its owner:
45: pgp -kvc [userid] [keyring]
46:
47: To view the contents and check the certifying signatures of your
48: public key ring:
49: pgp -kc [userid] [keyring]
50:
51: To edit the userid or pass phrase for your secret key:
52: pgp -ke userid [keyring]
53:
54: To edit the trust parameters for a public key:
55: pgp -ke userid [keyring]
56:
57: To remove a key or just a userid from your public key ring:
58: pgp -kr userid [keyring]
59:
60: To sign and certify someone else's public key on your public key ring:
61: pgp -ks her_userid [-u your_userid] [keyring]
62:
63: To remove selected signatures from a userid on a keyring:
64: pgp -krs userid [keyring]
65:
66: To permanently revoke your own key, issuing a key compromise
67: certificate:
68: pgp -kd your_userid
69:
70: To disable or reenable a public key on your own public key ring:
71: pgp -kd userid
72:
73: --- Esoteric commands:
74:
75: To decrypt a message and leave the signature on it intact:
76: pgp -d ciphertextfile
77:
78: To create a signature certificate that is detached from the document:
79: pgp -sb textfile [-u your_userid]
80:
81: To detach a signature certificate from a signed message:
82: pgp -b ciphertextfile
83:
84: --- Command options that can be used in combination with other
85: command options (sometimes even spelling interesting words!):
86:
87: To produce a ciphertext file in ASCII radix-64 format, just add the
88: -a option when encrypting or signing a message or extracting a key:
89: pgp -sea textfile her_userid
90: or: pgp -kxa userid keyfile [keyring]
91:
92: To wipe out the plaintext file after producing the ciphertext file,
93: just add the -w (wipe) option when encrypting or signing a message:
94: pgp -sew message.txt her_userid
95:
96: To specify that a plaintext file contains ASCII text, not binary, and
97: should be converted to recipient's local text line conventions, add
98: the -t (text) option to other options:
99: pgp -seat message.txt her_userid
100:
101: To view the decrypted plaintext output on your screen (like the
102: Unix-style "more" command), without writing it to a file, use
103: the -m (more) option while decrypting:
104: pgp -m ciphertextfile
105:
106: To specify that the recipient's decrypted plaintext will be shown
107: ONLY on her screen and cannot be saved to disk, add the -m option:
108: pgp -steam message.txt her_userid
109:
110: To recover the original plaintext filename while decrypting, add
111: the -p option:
112: pgp -p ciphertextfile
113:
114: To use a Unix-style filter mode, reading from standard input and
115: writing to standard output, add the -f option:
116: pgp -feast her_userid <inputfile >outputfile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.