Home GnuPG
Diffusion GnuPG 926d07c5fa05

agent: compile-time configuration of s2k calibration.

Description

agent: compile-time configuration of s2k calibration.

* configure.ac: add --with-agent-s2k-calibration=MSEC, introduces
AGENT_S2K_CALIBRATION (measured in milliseconds)
* agent/protect.c (calibrate_s2k_count): Calibrate based on
AGENT_S2K_CALIBRATION.
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
  • GnuPG-bug-id: T3399

Details

Provenance
dkgAuthored on Sep 8 2017, 11:08 PM
Parents
rG73ff075204df: gpg: default to AES-256.
Branches
Unknown
Tags
Unknown
Tasks
T3399: gpg-agent: add a configure option for default calibration time for s2k