summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-11-04 20:20:02 -0600
committerPatrick Totzke <patricktotzke@gmail.com>2019-01-21 13:49:23 +0000
commitfd1348329b8697d9bb014e7d61560f3421d29e46 (patch)
tree0b2962a306237785bd55b3adf383affbd435335b /tests
parent8c25bed24d7729d99d8bfe3417627ce1500da6c2 (diff)
db/message: accept attachments of type pgp-encrypted
In case of a '.gpg' file being attached to a non-encrypted email some email clients (like thunderbird) will mark this attachment as content type 'application/pgp-encrypted'. Alot used to discard that mime part because the same content type is being used in PGP/MIME to signal de version: https://tools.ietf.org/html/rfc3156#section-6.1 Now alot differenciates two cases: * Normal PGP/MIME encrypted messages, where we need to discard the 'application/pgp-encrypted' mime part. Detected because this part is followed by a 'application/octet-stream' mime part. * A mime part with aplication/pgp-encrypted as content type, that is displayed as attachment.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions