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