diff options
author | Werner Koch <[email protected]> | 2024-06-24 14:31:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-06-24 14:31:40 +0000 |
commit | 1695cf267edf85bc451b59bf012083feb250bf59 (patch) | |
tree | cbd9cddb3b17e25106143ec02aaa3bf7ec705ceb /doc/DETAILS | |
parent | gpg: Rename recently added import option no-seckeys to only-pubkeys. (diff) | |
download | gnupg-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 'doc/DETAILS')
-rw-r--r-- | doc/DETAILS | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/DETAILS b/doc/DETAILS index a8c0edf9d..d50de6d60 100644 --- a/doc/DETAILS +++ b/doc/DETAILS @@ -569,11 +569,13 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB: actual key used for decryption. <fpr2> is the fingerprint of the primary key. <otrust> is the letter with the ownertrust; this is in general a 'u' which stands for ultimately trusted. -*** DECRYPTION_INFO <mdc_method> <sym_algo> [<aead_algo>] +*** DECRYPTION_INFO <mdc_method> <sym_algo> [<aead_algo> <complerr>] Print information about the symmetric encryption algorithm and the MDC method. This will be emitted even if the decryption fails. - For an AEAD algorithm AEAD_ALGO is not 0. GPGSM currently does - not print such a status. + For an AEAD algorithm AEAD_ALGO is not 0. COMPLERR is set to a + non-zero integer if a compliance check for the cipher failed. + GPGSM currently prints only the first two items and thus they are + marked as optional *** DECRYPTION_FAILED The symmetric decryption failed - one reason could be a wrong |