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 | 16257201db63a8f65b2afe278414690980d0d358 (patch) | |
tree | 904c49bb5aafebcf7ced9985b0b6d7de32738026 /mail/pkg | |
parent | 4c8cc737d205231c475000f2f7399262829630a3 (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 'mail/pkg')
0 files changed, 0 insertions, 0 deletions