PGP Command Summary:

Encrypting -e(encrypt) -s(sign) -t(text) -a(ascii) -c(conventional)
pgp -e messagefile her_user_id Encrypt email w/ her_key
pgp -c filename Conventional encryption, for my system only
pgp -es messagefile her_user_id -u your_user_id Encrypt & Sign w/ one or multiple public_keys
pgp -e messagefile user_id1 user_id2 user_id3 . . . Encrypt w/ multiple public_keys
pgp -ca filename Conventional encryption into ASCII file for email
pgp -cw filename Conventional encryption, wipe original file afterwards
pgp -ew messagefile her_user_id Encrypt & wipe message w/ her public_key
pgp -eat message her_user_id Encrypt into ASCII textfile using one or more IDs
pgp -eatf her_user_id Filter: reads from keyboard input


Signatures Meaning:
pgp -s messagefile -u your_user_id Sign: uses your secret key to create digital signature
pgp -sta messagefile user_id -u your_user_id Sign, Text, ASCII: creates ASCII text file for emailing
pgp -sb messagefile user_id -u your_user_id Sign By Itself: creates detached sig. certificate in file
pgp -se messagefile user_id -u your_user_id Sign & Encrypt
pgp -sea messagefile user_id -u your_user_id Sign & Encrypt using ASCII output
pgp -seaw messagefile user_id -u your_user_id Sign & Encrypt w/ ASCII & Wipe afterwards
pgp -seat messagefile user_id -u your_user_id Sign, Encrypt w/ ASCII & Text output file


Miscellaneous Switch Options (used together with other switches) Meaning:
-a ASCII Armor--all output is ASCII Radix 64
-f Filter: reads file from standard input (keyboard)
-m More: displays decrypted file on screen but doesn't save file; when encrypting tells recipient to not save file.
-o outputfile Output: says what to name outputfile
-p encryptedfile Preserve: keeps the original filename plaintext
-t Text:: treats all input and output as text files
-w Wipe: writes over original file so can't be "undeleted"


Decrypting & Authenticating -o(output) Meaning:
pgp ciphertextfile -o plaintextfile Decrypts file to specified output filename
pgp signedfile -o plaintextfile Authenticates signature with public keys on your pubring
pgp -m ciphertextfile More: doesn't save decrypted file to disk


Key Management -k(key) -g(generate) -a(add) -x(extract) -v(view) -c(certify) -e(edit) -r(remove) -s(sign or signature) -d(delete or revoke or disable)
pgp -kg Keypair Generate: creates new public and secret keys
pgp -ke userid keyring (for user_id or passphrase or trust parameters) Keyring Edit: requires passphrase to edit trust or IDs
pgp -ka keyfile keyring Key Add: updates keyring with contents of keyfile
pgp -kaf keyfile keyring Key Add Filter: updates as above but from standard input
pgp -kx [or -kxa] user_id keyfile keyring Key Extract [ASCII]: copies ID's key to keyfile from keyring
pgp -kxaf user_id keyfile keyring Key Extract ASCII Filter: same as above but from std input
pgp -kv[v] [userid] keyring Keyring View [Verbose]: shows key[s] & signature[s]
pgp -kvc [userid] keyring Keyring View & Check: displays key[s] & fingerprint[s]
pgp -kc [userid] keyring Key Check: Checks user_id's key on keyring w/ signature
pgp -kr userid keyring Key Remove: revokes user_id's key on keyring
pgp -ks her_userid -u your_userid keyring Key Sign: Signs her_key with your secret_key on keyring
pgp -krs userid keyring Key Remove Signature: deletes your sig from user_id's key
pgp -kd your_userid Key Disable: Revokes or disables your_user_id
pgp -kd userid Key Disable: Revokes or disables user_id's public key


Esoteric & Combination Commands (Reviewed) Meaning:
pgp -d ciphertext Decrypt & Leave Signature Intact
pgp -sb textfile -u your_userid Sign By Itself: creates sig. certif. in a file by itself
pgp -b ciphertextfile Detach a signature from a signed message into a file
pgp -sea textfile her_userid Sign Encrypt ASCII
pgp -kxa userid keyfile keyring Key Extract into ASCII file
pgp -sea message her_userid Sign Encrypt to ASCII file
pgp -seat message her_userid Sign Encrypt ASCII & Text file
pgp -m ciphertextfile Decrypt & display on screen but don't save to file
pgp -steam message.txt her_userid Sign Text Encrypt ASCII More: does it all
pgp -p ciphertextfile Preserve: restores file to original filename before encryption
pgp -feast her_userid outputfile Filter Mode, Encrypt, ASCII, Sign Text using std input
pgp -seaw message her_useid Sign & Encrypt w/ ASCII & Wipe afterwards


This information is prepared by David S. Jackson <dsj@dsj.net>