ProtonMail / go-crypto

Fork of go/x/crypto, providing an up-to-date OpenPGP implementation
https://pkg.go.dev/github.com/ProtonMail/go-crypto
BSD 3-Clause "New" or "Revised" License
330 stars 100 forks source link

Why is the IV written to the SHA1 Hasher of the MDC? #131

Closed phifty closed 1 year ago

phifty commented 1 year ago

I wonder where this comes from? I can't find it in the RFC.

https://github.com/ProtonMail/go-crypto/blob/c6815a8c17ad6a69d71ff580d2dd6869049d643d/openpgp/packet/symmetrically_encrypted.go#L286

Kind regards