Home GnuPG
Diffusion GpgOL 60b331568188

Simplify isMailResolvable and accept keygen

Description

Simplify isMailResolvable and accept keygen

* src/keycache.cpp (isMailResolvable): Return bool. Accept
potential keygen.
* src/keycache.h: Update accordingly.
* src/mail.cpp (Mail::autoresolve_check_s): Update for new API.

This inly check for a self key for SMIME. For OpenPGP we can
generate a key.

Details

Provenance
aheineckeAuthored on Jun 21 2018, 11:22 AM
Parents
rOc8f46557da70: Implement auto secure feature
Branches
Unknown
Tags
Unknown
Tasks
T3999: automatically turn on/offer encryption if recipients' keys are known