Skip to content
Commit 04ba77a3 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Make the KeyCache actually work as cache

KeyCache destroys itself whenever the last reference to it is released.
Since reinitialization of the cache is very expensive if one has a lot
of keys in the key ring, keep a reference on KeyCache for the whole
lifetime of the kernel. This will greatly speed up selection of keys,
e.g. when composing an encrypted message or when configuring the keys
in the identity dialog.

Also set up automatic update of the key cache on changes in the key ring
by watching the GnuPG home directory (as Kleopatra does).
parent ec9efe4c
Pipeline #61963 passed with stage
in 24 minutes and 20 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment