summaryrefslogtreecommitdiff
path: root/src/leap/mail/incoming/tests
AgeCommit message (Collapse)Author
2016-06-08Merge branch 'pixelated/fix_sign_apple_mail' into developRuben Pollan
2016-06-07Merge branch 'pixelated/fix_test_decrypt_email' into developRuben Pollan
2016-05-24[tests] add test to validate signature from apple mailCaio Carrara
This change adds test to validate signature of encrypted email created by apple mail. It's important to note that apple mail has a specific way to encrypt signed messages. First it sign the email and then encrypt the previous signed message. It was also added a message file with the expected data.
2016-05-18[feat] Adapt to the new KeyManager API without key types.Ruben Pollan
- Related: #8031
2016-05-18Add not called asserts to testDecryptEmailThais Siqueira
The functions decryption_error_not_called and add_decrypted_header_called were not being called on testDecryptEmail. So the asserts was not being called as well. This change adds the above functions as callbacks to be called after the fetch method.
2016-04-15[refactor] change IMAPAccount signatureKali Kaneko
for consistency with the previous Account change.
2015-09-23[refactor] avoid circular import due to rfc3156Kali Kaneko
2015-09-22[bug] don't extract openpgp header if valid attached keyRuben Pollan
The key extract should check first for attached keys and if this fails then should try the OpenPGP header. - Resolves: #7480
2015-09-16[bug] don't fail importing mismatched attached keyRuben Pollan
We can't import attached keys with different email address than the sender. Now we don't fail in this case, just log it. - Resolves: #7454
2015-09-02[style] fixing pep8 warningsDuda Dornelles
2015-09-02[feat] adding encryption header to msg before savingDuda Dornelles
This way we can tell if a message was originally encrypted, so that we can show that information to the end user.
2015-02-18Use MessageCollection instead of IMAPMailbox in IncomingMailRuben Pollan
2015-02-18Add callbacks to inbox insertionsRuben Pollan
2015-02-11Fix incoming email decryption problemsRuben Pollan
2015-02-11If not signature don't failRuben Pollan
2015-02-11tests: add link related to trial block with syncKali Kaneko
2015-02-11Refactor fetch into leap.mail.incoming IServiceRuben Pollan