aerc/worker
Koni Marti 698c0957d7 pgp: ensure CRLF line endings in pgpmail reader
Ensure CRLF line endings in the pgpmail reader. Fix the pgp signature
verification for maildir and notmuch.

These backends do not return the full message body with CRLF
line endings. But the accepted OpenPGP convention is for signed data to
end with a <CR><LF> sequence (see RFC3156).

If this is not the case the signed and transmitted data are considered
not the same and thus signature verification fails.

Link: https://datatracker.ietf.org/doc/html/rfc3156

Reported-by: Tim Culverhouse <tim@timculverhouse.com>
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Tested-by: Tim Culverhouse <tim@timculverhouse.com>
2022-04-25 12:31:33 +02:00
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap logging: added a log on panic 2022-03-23 20:56:09 +01:00
lib pgp: ensure CRLF line endings in pgpmail reader 2022-04-25 12:31:33 +02:00
maildir go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
notmuch logging: added a log on panic 2022-03-23 20:56:09 +01:00
types threading: honor user-defined sort criteria 2022-03-09 00:08:26 +01:00
handler_notmuch.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
worker.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
worker_enabled.go go.mod: change base git url 2021-11-05 10:21:45 +01:00