mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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
This commit is contained in:
parent
4c65dfeb28
commit
1695cf267e
6 changed files with 42 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue