1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-03-03 21:21:08 +01:00
Werner Koch ef2be95258
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
2024-10-02 16:45:01 +02:00
..
2023-03-16 09:46:05 +01:00
2023-08-31 12:30:26 +02:00
2024-05-31 12:28:32 +02:00
2024-05-31 12:28:32 +02:00
2024-01-26 09:41:00 +01:00
2024-05-31 12:28:32 +02:00
2024-05-31 12:28:32 +02:00
2023-11-07 20:38:27 +01:00
2023-12-22 13:45:02 +01:00
2024-09-11 14:30:40 +02:00