Home GnuPG

Add option to force a refresh of the key cache

Description

Add option to force a refresh of the key cache

While a refresh is running requests to refresh the cache are ignored and
listening for file system changes is disabled. This may cause externally
imported certificates to be missed. The option to force a cache refresh
allows users running a command that potentially adds new certificates
(e.g. "gpgsm --learn-card") to trigger a refresh to ensure all certificates
are loaded in the cache.

(cherry picked from commit 7e8059eea5b54ad70ba2b9775346972641b3dadd)

Details

Provenance
ikloeckerAuthored on Feb 26 2024, 2:16 PM
Parents
rLIBKLEO5bab2d5d814c: Fix 'ret' may be used uninitialized warning
Branches
Unknown
Tags
Unknown
Tasks
T6846: Kleopatra: learn TCOS cards automatically