1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-02-22 14:53:57 +01:00
aerc/lib/crypto
Robin Jarry 3ff25aeaa1 pgp: ensure mime-version header is in the right place
Update go-pgpmail which has a similar fix to the one we had in place.
Update our fix to use the same implementation: do not parse the whole
signed part. Only parse the part header, remove the mime-version header
from it if any and re-write it, followed the part body verbatim without
any decoding/re-encoding.

Fixes: 7346d20343 ("gpg: fix signed message encoding")
Fixes: 7b8fbe2a3d ("gpg: fix mime-version header position")
Signed-off-by: Robin Jarry <robin@jarry.cc>
Reviewed-by: Simon Ser <contact@emersion.fr>
2025-01-14 15:01:10 +01:00
..
gpg pgp: ensure mime-version header is in the right place 2025-01-14 15:01:10 +01:00
pgp log: move package to lib 2024-02-14 23:04:38 +01:00
util cryptoutil: implement cleartext function 2024-08-20 11:54:34 +02:00
crypto.go log: move package to lib 2024-02-14 23:04:38 +01:00