Files
chatmail-core/test-data/message
iequidoo ebfbc11973 feat: Don't affect MimeMessage with "From" and secured headers from encrypted unsigned messages
If a message is encrypted, but unsigned:
- Don't set `MimeMessage::from_is_signed`.
- Remove "secure-join-fingerprint" and "chat-verified" headers from `MimeMessage`.
- Minor: Preserve "Subject" from the unencrypted top level if there's no "Subject" in the encrypted
  part, this message is displayed w/o a padlock anyway.

Apparently it didn't lead to any vulnerabilities because there are checks for
`MimeMessage::signatures.is_empty()` in all necessary places, but still the code looked dangerous,
especially because `from_is_singed` var name didn't correspond to its actual value (it was rather
`from_is_encrypted_maybe_signed`).
2023-12-01 19:06:11 -03:00
..
2020-11-24 14:40:28 +01:00
2020-11-24 14:40:28 +01:00
2021-06-19 17:49:26 +03:00
2020-06-13 10:18:14 +02:00
2020-06-13 10:18:11 +02:00
2020-06-13 10:18:14 +02:00
2020-12-13 18:02:20 +01:00
2020-06-13 10:18:14 +02:00
2020-06-15 16:20:23 +02:00
2020-06-17 10:39:05 +02:00
2020-07-24 02:31:39 +02:00
2022-01-13 11:11:50 +01:00
2022-01-13 11:11:50 +01:00
2020-06-13 10:18:14 +02:00