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
328 stars 99 forks source link

Fix SEIPDv2 packet parsing error messages #215

Closed twiss closed 1 month ago

twiss commented 1 month ago

Cosmetically fmt.Sprintf("invalid aead cipher: %d", int(...)) might be nicer but it is also fine like that.

Yeah, I agree but there are a lot of other places that do it like this so I'll keep it consistent for now ^.^