go-pgpmail
go-pgpmail copied to clipboard
:lock: PGP-encrypted email library for Go
I want to update `github.com/ProtonMail/go-crypto` to version `v0.0.0-20220407094043-a94812496cf5` in Debian but unfortunately this breaks go-pgpmail. ``` go test go: downloading github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594 --- FAIL: TestEncrypt (0.00s) writer_test.go:46: Encrypt() = Content-Type:...
Either populate `SignatureError` with an error before verification is complete, or switch to our own type.
- [ ] The nested encrypted part may still contain a `Mime-Version` header field Closes: https://github.com/emersion/go-pgpmail/issues/14
MIME messages must specify the MIME-Version header at the top level of the message to be compliant with the [rfc](https://datatracker.ietf.org/doc/html/rfc2045#section-4). However, the writer sets only the multipart MIME types, not...