Home GnuPG
Diffusion GnuPG 3607ab2cf382

agent: New GETINFO sub-commands "s2k_count_cal" and "s2k_time".

Description

agent: New GETINFO sub-commands "s2k_count_cal" and "s2k_time".

* agent/command.c (cmd_getinfo): New sub-commands.
* agent/protect.c (get_standard_s2k_count): Factor some code out to ...
(get_calibrated_s2k_count): new.
(get_standard_s2k_time): New.

(cherry picked from commit 52d41c8b0f4af6278d18d8935399ddad16a26856)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 6 2017, 2:20 PM
Parents
rG78a6d0ce88ae: agent: New option --s2k-count.
Branches
Unknown
Tags
Unknown