Home GnuPG
Diffusion GpgOL ed840c434572

Use keycache instead of Signature::Key

Description

Use keycache instead of Signature::Key

* src/mail.cpp (Mail::updateSigstate),
(Mail::getCryptoDetails_o): Use keycache.
* src/parsecontroller.cpp (Parsecontroller::parse): Use
keycache.

This is a huge performance improvement as the old code
was pretty bad. The old code did three keylistings
after a verify to search the key, then check if the
key is secret and then update the key.

Details

Provenance
aheineckeAuthored on Aug 28 2018, 12:13 PM
Parents
rOd92cb5f7548c: Extend keycache for fingerprint lookup
Branches
Unknown
Tags
Unknown