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

Remove VerifyDetachedSignatureAndSaltedHash and SaltedHashSpecifier #196

Closed lubux closed 7 months ago

lubux commented 7 months ago

This pull request removes the openpgp.VerifyDetachedSignatureAndSaltedHash function and the packet.SaltedHashSpecifier as they are not required anymore. They were introduced for verifying the headers in cleartext messages. However, in the latest crypto refresh specification, cleartext message headers were dropped.