diff options
author | Caio Carrara <ccarrara@thoughtworks.com> | 2016-05-25 16:11:34 -0300 |
---|---|---|
committer | Caio Carrara <ccarrara@thoughtworks.com> | 2016-05-25 16:11:34 -0300 |
commit | 1a6aa67ea31b4bedb2a59a84659f7e19b385ec12 (patch) | |
tree | a8d3d18efb4ac8980fa9998e1818eba45057ac8f /src/leap/mail/mail.py | |
parent | ff75ceecbff76bc9142516c198d726422c050797 (diff) |
[refactor] change the check to validate signature from Apple Mail
It changes the way that incoming service checks if a additional
verification is needed to validate signature. The way before was
checking by the type of signature object and calling the verify
signature method if the type is different from OpenPGPKey. However it
could be more readable if we check the type of decrypted message. If
it's a multipart/signed message and not a plain/text we need to verify
the signature because keymanager couldn't do it during the decryption
process.
Diffstat (limited to 'src/leap/mail/mail.py')
0 files changed, 0 insertions, 0 deletions