mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: New option --no-symkey-cache.
* g10/gpg.c (oNoSymkeyCache): New. (opts): Add that option. (main): Set var. * g10/options.h (struct opt): New field no_symkey_cache. * g10/passphrase.c (passphrase_to_dek): Implement that feature. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
9f69dbeb90
commit
789d240cb4
5 changed files with 22 additions and 2 deletions
|
@ -242,7 +242,7 @@ struct
|
|||
unsigned int allow_weak_digest_algos:1;
|
||||
unsigned int large_rsa:1;
|
||||
unsigned int disable_signer_uid:1;
|
||||
/* Flag to enbale experimental features from RFC4880bis. */
|
||||
/* Flag to enable experimental features from RFC4880bis. */
|
||||
unsigned int rfc4880bis:1;
|
||||
} flags;
|
||||
|
||||
|
@ -275,6 +275,8 @@ struct
|
|||
|
||||
int unwrap_encryption;
|
||||
int only_sign_text_ids;
|
||||
|
||||
int no_symkey_cache; /* Disable the cache used for --symmetric. */
|
||||
} opt;
|
||||
|
||||
/* CTRL is used to keep some global variables we currently can't
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue