
Introduction to PGP Command Line 171
For example, to create a keypair for myself, I would run
the following:
# pgp --gen-key "Michael Warren Lucas Jr (Consultant, author, sysadmin)
<mwlucas@blackhelicopters.org>" --key-type rsa --encryption-bits 2048 --
passphrase "This is a really bad passphrase" --expiration-date 2008-12-31
PGP will quickly generate a key and end by listing the
keyid.
Generating Revocation Certificates
As with any other OpenPGP key, it’s important to create a
revocation certificate immediately upon certificate creation.
To create a revocation certificate, use the --gen-revocation com-
mand like so:
# pgp --gen-revocation "UID" --passphrase ...