agent: New option --s2k-count.
authorWerner Koch <wk@gnupg.org>
Mon, 6 Nov 2017 12:57:30 +0000 (13:57 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 6 Nov 2017 14:11:13 +0000 (15:11 +0100)
commit78a6d0ce88ae14d8324fbab3aee3286b17e49259
treeaf30466ae0ed4def46b81b679a7a4e26c6d3569f
parent680161647ad56d1ca92988f80bcc4d6fcb20b1eb
agent: New option --s2k-count.

* agent/agent.h (opt): New field 's2k_count'.
* agent/gpg-agent.c (oS2KCount): New enum value.
(opts): New option --s2k-count.
(parse_rereadable_options): Set opt.s2k_count.
--

This option is useful to speed up the starting of gpg-agent and in
cases where the auto-calibration runs into problems due to a broken
time measurement facility.

Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit f7212f1d11aad5d910d2c77b2e5c6ab31a0e786e)
agent/agent.h
agent/gpg-agent.c
agent/protect.c
doc/gpg-agent.texi