Home GnuPG
Diffusion GnuPG 0cf0f3aaf835

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.

(cherry picked from commit 926d07c5fa05de05caef3a72b6fe156606ac0549)

  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
  • GnuPG-bug-id: T3399

Details

Provenance
dkgAuthored on Sep 8 2017, 11:08 PM
wernerCommitted on Dec 11 2018, 5:29 PM
Parents
rGe5abdb6da7fa: dirmngr: Retry another server from the pool on 502, 503, 504.
Branches
Unknown
Tags
Unknown
Tasks
T3399: gpg-agent: add a configure option for default calibration time for s2k