Files
chatmail-core/src
holger krekel 285e8b08d8 feat: add enforce_outer_from_key_alignment config for bots using addresses as identity
If enabled (default is disabled) the processing of encrypted messages changes:

- the outer From address must be listed as a relay address in the signing key,
  otherwise the message is trashed,

- the sender contact keeps the outer From address instead of adopting
  the one from the encrypted part.

Otherwise an attacker sending from their own relay-enforced address,
with their own unmodified key, puts the victim's address into the
encrypted From header and the contact address becomes the victim's.

Arguably a fix: Autocrypt headers from the encrypted part are now accepted without
comparing their address to the outer From, so that a newly added relay address
is imported from the message before the check.
2026-07-20 13:40:52 +02:00
..
2026-06-22 17:48:56 +02:00
2026-04-25 20:24:57 +00:00
2026-03-25 19:53:10 +00:00
2026-02-23 15:58:06 +00:00
2026-06-13 15:43:47 +00:00
2025-11-08 03:26:23 +00:00
2026-03-25 20:31:53 +00:00
2026-04-17 15:24:24 +00:00
2026-05-19 22:40:28 +00:00
2026-06-13 15:43:47 +00:00
2026-06-13 15:43:47 +00:00