aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-06-24 14:31:24 +0000
committerWerner Koch <[email protected]>2024-06-24 14:31:40 +0000
commit1695cf267edf85bc451b59bf012083feb250bf59 (patch)
treecbd9cddb3b17e25106143ec02aaa3bf7ec705ceb /doc/gpg.texi
parentgpg: Rename recently added import option no-seckeys to only-pubkeys. (diff)
downloadgnupg-1695cf267edf85bc451b59bf012083feb250bf59.tar.gz
gnupg-1695cf267edf85bc451b59bf012083feb250bf59.zip
gpg: New option --show-only-session-key
* g10/options.h (opt): Add show_only_session_key and turn show_session_key into a bit flag. * g10/gpg.c (oShowOnlySessionKey): New. (opts): Add "show-only-session-key". (main): Set flag. * g10/mainproc.c (proc_encrypted): Handle the new option. * g10/decrypt-data.c (decrypt_data): Ditto. Add compliance error flag to the DECRYPTION_INFO status line. -- This new option is somehow related to GnuPG-bug-id: 1825
Diffstat (limited to '')
-rw-r--r--doc/gpg.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 3eecc7d64..a65039c1a 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -3794,9 +3794,13 @@ This is not for normal use. Use the source to see for what it might be useful.
This is not for normal use. Use the source to see for what it might be useful.
@item --show-session-key
+@itemx --show-only-session-key
@opindex show-session-key
+@opindex show-only-session-key
Display the session key used for one message. See
@option{--override-session-key} for the counterpart of this option.
+The variant @option{--show-only-session-key} does not actually use the
+session key but stops processing after having printed the session key.
We think that Key Escrow is a Bad Thing; however the user should have
the freedom to decide whether to go to prison or to reveal the content