
170 Appendix A
Creating a Keypair
PGP Command Line creates many different sorts of keypairs
in addition to the standard OpenPGP signing and encryption
keys. The format for creating an OpenPGP keypair is as fol-
lows, where UID is a standard PGP user ID, consisting of a
name followed by an email address in angle brackets:
# pgp --gen-key "UID" --key-type rsa --encryption-bits 2048
--passphrase "passphrase" --other-options
To use an optional comment, as discussed in Chapter 2,
add it between the name and the email address in parentheses.
(PGP will emit a warning about this being nonstandard, but
many people have UIDs in exactly that format, ...