home *** CD-ROM | disk | FTP | other *** search
- Here's a quick summary of PGP v2.3 commands
- -------------------------------------------
-
- pgp -e textfile her_userid To encrypt a plaintext file with the
- recipient's public key:
-
- pgp -s textfile [-u your_userid] To sign a plaintext file with your
- secret key:
-
- pgp -es textfile her_userid [-u your_userid] To sign a plaintext file with
- your secret key, and then encrypt it
- with the recipient's public key:
-
- pgp -c textfile To encrypt a plaintext file with just
- conventional cryptography, type:
-
- pgp ciphertextfile [-o plaintextfile] To decrypt an encrypted file, or to
- check the signature integrity of a
- signed file:
-
- pgp -e textfile userid1 userid2 userid3 To encrypt a message for any
- number of multiple recipients:
-
- --- Key management commands: ---
-
- pgp -kg To generate your own unique
- public/secret key pair:
-
- pgp -ka keyfile [keyring] To add a public or secret key file's
- contents to your public or secret key
- ring:
-
- pgp -kx userid keyfile [keyring] or: To extract (copy) a key from your
- pgp -kxa userid keyfile [keyring] public or secret key ring:
-
- pgp -kv[v] [userid] [keyring] To view the contents of your public
- key ring:
-
- pgp -kvc [userid] [keyring] To view the "fingerprint" of a public
- key, to help verify it over the
- telephone with its owner:
-
- pgp -kc [userid] [keyring] To view the contents and check the
- certifying signatures of your public
- key ring:
-
- pgp -ke userid [keyring] To edit the userid or pass phrase for
- your secret key:
-
- pgp -ke userid [keyring] To edit the trust parameters for a
- public key:
-
- pgp -kr userid [keyring] To remove a key or just a userid from
- your public key ring:
-
- pgp -ks her_userid [-u your_userid] [keyring] To sign and certify someone
- else's public key on your public key
- ring:
-
- pgp -krs userid [keyring] To remove selected signatures from a
- userid on a keyring:
-
- pgp -kd your_userid To permanently revoke your own key,
- issuing a key compromise certificate:
-
- pgp -kd userid To disable or reenable a public key on
- your own public key ring:
-
- --- Esoteric commands: ---
-
- pgp -n To switch PGP into 2.6 mode, meaning
- that the generated files will not be
- readable by earlier versions.
-
- pgp -d ciphertextfile To decrypt a message and leave the
- signature on it intact:
-
- pgp -sb textfile [-u your_userid] To create a signature certificate that
- is detached from the document:
-
- pgp -b ciphertextfile To detach a signature certificate from
- a signed message:
-
- --- Command options that can be used in combination with other ---
- --- command options (sometimes even spelling interesting words!): ---
-
- pgp -sea textfile her_userid or: To produce a ciphertext file in ASCII
- pgp -kxa userid keyfile [keyring] radix-64 format, just add the -a option
- when encrypting or signing a message
- or extracting a key:
-
- pgp -sew message.txt her_userid To wipe out the plaintext file after
- producing the ciphertext file, just add
- the -w (wipe) option when encrypting or
- signing a message:
-
- pgp -seat message.txt her_userid To specify that a plaintext file
- contains ASCII text, not binary, and
- should be converted to recipient's local
- text line conventions, add the -t (text)
- option to other options:
-
- pgp -m ciphertextfile To view the decrypted plaintext output
- on your screen (like the Unix-style
- "more" command), without writing it to
- a file, use the -m (more) option while
- decrypting:
-
- pgp -steam message.txt her_userid To specify that the recipient's
- decrypted plaintext will be shown ONLY
- on her screen and cannot be saved to
- disk, add the -m option:
-
- pgp -p ciphertextfile To recover the original plaintext
- filename while decrypting, add the
- -p option:
-
- pgp -feast her_userid <inputfile >outputfile To use a Unix-style filter
- mode, reading from standard input and
- writing to standard output, add the
- -f option:
-