Home GnuPG
Diffusion GpgOL 95749cea7b19

Fix Level 2 validity for WKD keys

Description

Fix Level 2 validity for WKD keys

* src/mail.cpp (Mail::updateSigstate): Fix validity for signed
mails with keys from WKD.

The sig.summary is not valid in that case. But the verification
does not have an error. With the additional checks for Unknown
or Marginal validity and if we have a key with the user id
from WKD we can still make it level 2.

The old code was probably only tested with tofu+pgp trust
model.

Details

Provenance
aheineckeAuthored on Jun 3 2020, 1:31 PM
Parents
rO3c486a6468fa: Add accessor to hidden "Dirty" property
Branches
Unknown
Tags
Unknown