doc: clarify that --encrypt refers to public key encryption

--

A simple read of gpg(1) is ambiguous about whether --encrypt could be
for either symmetric or pubkey encryption.  Closer inference suggests
that --encrypt is about pubkey encryption only.  Make that clearer on
a first read.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
Daniel Kahn Gillmor 2017-11-17 10:17:08 +08:00
parent 918792befd
commit 91eb242d63
1 changed files with 7 additions and 5 deletions

View File

@ -196,11 +196,13 @@ Make a detached signature.
@item --encrypt
@itemx -e
@opindex encrypt
Encrypt data. This command may be combined with @option{--sign} (to
sign and encrypt a message), @option{--symmetric} (to encrypt a
message that can decrypted using a secret key or a passphrase), or
@option{--sign} and @option{--symmetric} together (for a signed
message that can be decrypted using a secret key or a passphrase).
Encrypt data to one or more public keys. This command may be combined
with @option{--sign} (to sign and encrypt a message),
@option{--symmetric} (to encrypt a message that can decrypted using a
secret key or a passphrase), or @option{--sign} and
@option{--symmetric} together (for a signed message that can be
decrypted using a secret key or a passphrase). @option{--recipient}
and related options specify which public keys to use for encryption.
@item --symmetric
@itemx -c