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.
- GnuPG-Bug-Id: T4218