Home GnuPG
Diffusion GpgOL 97244bfe690b

Only autosecure when seckey found for CMS

Description

Only autosecure when seckey found for CMS

* src/keycache.cpp (isMailResolvable): If the prefer smime
option is selected only autosecure if there is a secret CMS cert.

When OpenPGP keys could be found for all recipients
it would toggle autosecure even if S/MIME was preferred.
As we don't have a good way to automatically handle
SMIME key generation we should not automatically toggle
encryption for that case.

Details

Provenance
aheineckeAuthored on May 6 2019, 2:57 PM
Parents
rOe0a1949b03c2: Fix T3656 workaround activation
Branches
Unknown
Tags
Unknown
Tasks
T4483: GpgOL: Autosecure toggling too agressive for S/MIME users without key