1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-03 22:48:03 +02:00

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

View File

@ -196,11 +196,13 @@ Make a detached signature.
@item --encrypt @item --encrypt
@itemx -e @itemx -e
@opindex encrypt @opindex encrypt
Encrypt data. This command may be combined with @option{--sign} (to Encrypt data to one or more public keys. This command may be combined
sign and encrypt a message), @option{--symmetric} (to encrypt a with @option{--sign} (to sign and encrypt a message),
message that can decrypted using a secret key or a passphrase), or @option{--symmetric} (to encrypt a message that can decrypted using a
@option{--sign} and @option{--symmetric} together (for a signed secret key or a passphrase), or @option{--sign} and
message that can be decrypted using a secret key or a passphrase). @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 @item --symmetric
@itemx -c @itemx -c