Home GnuPG
Diffusion GpgOL 12535d4e5d51

Populate keycache on startup

Description

Populate keycache on startup

* src/gpgoladdin.cpp (GpgolAddin::OnStartupComplete): Populate
keycache.
* src/keycache.cpp (KeyCache::populate, do_populate)
(do_populate_protocol): New.
(KeyCache::getUltimateKeys): New.
* src/mail.cpp (level_4_check): Use getUltimateKeys from cache.
* src/parsecontroller.cpp, src/parsecontroller.h (get_ultimate_keys):
Removed.

This moves the ultimate keys cache into the keycache where it
belongs and should fix problems not finding signing keys when
sign always is set. It should also speed up the first verify
operation as keylistings are no longer required.

Details

Provenance
aheineckeAuthored on Oct 25 2018, 2:03 PM
Parents
rO1bf9ef131291: Revert "Explicitly set real access key for reg too"
Branches
Unknown
Tags
Unknown
Tasks
T4218: GpgOL: Populate key cache on startup