Home GnuPG
Diffusion GpgOL 15ba0e600979

Fix cryptcontroller handling of resolved mails

Description

Fix cryptcontroller handling of resolved mails

* src/cryptcontroller.cpp (CryptController::CryptController): Take
signing keys from mail.
(CryptController::lookup_fingerprints): Fix erase.
(CryptController::lookup_fingerprints): Call resolving_done.
(CryptController::resolving_done): Rename from prepare_encryption
to avoid confusion.
(CryptController::get_resolved_protocol): Check and obtain the
protocol for a crypto operation.
(CryptController::is_resolved): Add more debug info.
(CryptController::resolve_keys): Handle the case in which
we are already resolved.

Having a crypto operation already resolved is the case
when we split out multiple mails because of mixed protocol
or BCC.

Details

Provenance
aheineckeAuthored on Jan 31 2020, 12:03 PM
Parents
rO1dc0fea716c7: Add opts splitBCCMails and combinedOpsEnabled
Branches
Unknown
Tags
Unknown
Tasks
T4814: GpgOL: Send multiple E-Mails for BCC recipients