From c6be407251273ea78a4325264489b69cd5078ced Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 4 Nov 2019 12:27:30 +0100 Subject: [PATCH] doc: Document the --unwrap command. -- Signed-off-by: Werner Koch --- doc/gpg.texi | 9 +++++++++ 1 file changed, 9 insertions(+) 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