Home GnuPG
Diffusion GpgOL 9f132ff7cbc2

Prepare keycache for autoencryption

Description

Prepare keycache for autoencryption

* src/keycache.cpp,
* src/mail.cpp, src/mail.h (set_crypto_selected_manually),
(increment_locate_count, decrement_locate_count): New stateholders.
* src/keycache.cpp (LocateArgs): Argument helper to carry mail.
(startLocate, startLocateSecret): Add mail argument and use it.
* src/keycache.h: Update accordingly.

This keeps track of how many locate threads are running
on a mail. So that we can handle the state where
all locates for a mail are done.

This prepares:

Details

Provenance
aheineckeAuthored on Jun 20 2018, 1:56 PM
Parents
rOe26e6b58b48e: Locks and more locks
Branches
Unknown
Tags
Unknown
Tasks
T3999: automatically turn on/offer encryption if recipients' keys are known