diff options
author | Daniel Kahn Gillmor <[email protected]> | 2017-11-17 02:17:08 +0000 |
---|---|---|
committer | Daniel Kahn Gillmor <[email protected]> | 2017-11-30 15:21:58 +0000 |
commit | 8a2917345ba88159bce6153b54706e701564f189 (patch) | |
tree | 19afa63a9b2b595d94cc60692166dd3c679963a0 | |
parent | gpg: Do not read from uninitialized memory with --list-packets. (diff) | |
download | gnupg-8a2917345ba88159bce6153b54706e701564f189.tar.gz gnupg-8a2917345ba88159bce6153b54706e701564f189.zip |
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 <[email protected]>
-rw-r--r-- | doc/gpg.texi | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index bd45b0422..35bb9a810 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -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 |