aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-03-24 09:30:17 +0000
committerWerner Koch <[email protected]>2017-03-24 09:35:36 +0000
commit2c237c13628a88ba23742da34ea18d3e205d7c53 (patch)
tree460f3b0071cb276356ad1f34578897fd0e3f0aaa /agent/agent.h
parentagent: New option --stub-only for DELETE_KEY (diff)
downloadgnupg-2c237c13628a88ba23742da34ea18d3e205d7c53.tar.gz
gnupg-2c237c13628a88ba23742da34ea18d3e205d7c53.zip
agent: New option --enable-extended-key-format.
* agent/gpg-agent.c (oEnableExtendedKeyFormat): New const. (opts): New option --enable-extended-key-format. (parse_rereadable_options): Set option * agent/findkey.c (write_extended_private_key): Add arg 'update'. (agent_write_private_key): Implement new option. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--agent/agent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h
index 3b53ba45d..01e675b52 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -124,6 +124,9 @@ struct
passphrase change. */
int enable_passphrase_history;
+ /* If set the extended key format is used for new keys. */
+ int enable_extended_key_format;
+
int running_detached; /* We are running detached from the tty. */
/* If this global option is true, the passphrase cache is ignored