ProtonMail / gopenpgp

A high-level OpenPGP library
https://gopenpgp.org
MIT License
1.04k stars 117 forks source link

`invalid signature: MDC hash mismatch` instead of io.EOF after io.EOF #257

Open wizardishungry opened 10 months ago

wizardishungry commented 10 months ago

Once an io.EOF is returned, PlainMessageReader should return io.EOF for reads past the end of stream. Many libraries depend on this behavior (https://github.com/gocarina/gocsv, for example).