mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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
|
@ -234,7 +234,8 @@ struct
|
|||
int ignore_expiration;
|
||||
int command_fd;
|
||||
const char *override_session_key;
|
||||
int show_session_key;
|
||||
unsigned int show_session_key:1;
|
||||
unsigned int show_only_session_key:1;
|
||||
|
||||
const char *gpg_agent_info;
|
||||
int try_all_secrets;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue