summaryrefslogtreecommitdiff
path: root/docs/api/leap.mail.incoming.rst
diff options
context:
space:
mode:
authorCaio Carrara <ccarrara@thoughtworks.com>2016-05-25 16:11:34 -0300
committerCaio Carrara <ccarrara@thoughtworks.com>2016-05-25 16:11:34 -0300
commit1a6aa67ea31b4bedb2a59a84659f7e19b385ec12 (patch)
treea8d3d18efb4ac8980fa9998e1818eba45057ac8f /docs/api/leap.mail.incoming.rst
parentff75ceecbff76bc9142516c198d726422c050797 (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 'docs/api/leap.mail.incoming.rst')
0 files changed, 0 insertions, 0 deletions