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