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)
- GnuPG-bug-id: T6846