aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-10-02 12:20:03 +0000
committerWerner Koch <[email protected]>2024-10-02 14:45:01 +0000
commitef2be95258d2e02659e96f6c4df5a9a1a233c8fd (patch)
treed15a972d3dae5996a9f6179f8eb3c5efc5487889 /sm/gpgsm.c
parentagent: Add option --status to the LISTRUSTED command. (diff)
downloadgnupg-ef2be95258d2e02659e96f6c4df5a9a1a233c8fd.tar.gz
gnupg-ef2be95258d2e02659e96f6c4df5a9a1a233c8fd.zip
gpgsm: Use a cache for ISTRUSTED queries.
* sm/call-agent.c (struct istrusted_cache_s): New. (istrusted_cache, istrusted_cache_valid): New. (istrusted_cache_disabled): New. (flush_istrusted_cache): New. (struct istrusted_status_parm_s): New. (istrusted_status_cb): Fill the cache. (gpgsm_agent_istrusted): Implement a cache. -- Not a really measurable performance improvements on Linux but maybe somewhat on Windows (not yet tested). However, it does not clutter the log files with IPC calls returning NOT_TRUSTED. GnuPG-bug-id: 7308
Diffstat (limited to 'sm/gpgsm.c')
0 files changed, 0 insertions, 0 deletions