summaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-11-04 12:27:30 +0100
committerWerner Koch <wk@gnupg.org>2019-11-06 14:43:34 +0100
commitc6be407251273ea78a4325264489b69cd5078ced (patch)
tree4c59831e0abe5dfecd26e735a0c484d0e06c519c /doc/gpg.texi
parentscd,ccid: Fix GEMPC_EZIO handling. (diff)
downloadgnupg2-c6be407251273ea78a4325264489b69cd5078ced.tar.xz
gnupg2-c6be407251273ea78a4325264489b69cd5078ced.zip
doc: Document the --unwrap command.
-- Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r--doc/gpg.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index c68e8ff49..b9e07b4d7 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -617,6 +617,15 @@ with ant release.
Pack or unpack an arbitrary input into/from an OpenPGP ASCII armor.
This is a GnuPG extension to OpenPGP and in general not very useful.
+@item --unwrap
+@opindex unwrap
+This command is similar to @option{--decrypt} with the change that the
+output is not the usual plaintext but the original message with the
+decryption layer removed. Thus the output will be an OpenPGP data
+structure which often means a signed OpenPGP message. Note that this
+command may or may not remove a compression layer which is often found
+beneath the encryption layer.
+
@item --tofu-policy @{auto|good|unknown|bad|ask@} @var{keys}
@opindex tofu-policy
Set the TOFU policy for all the bindings associated with the specified