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

ECDH with v6 must use the full fingerprint #211

Closed lubux closed 1 month ago

lubux commented 1 month ago

ECDH truncated the fingerprint to 20 bytes for version 6 crypto-refresh keys. This MR ensures that the full fingerprint is used as mandated by the OpenPGP crypto-refresh. Further, it resolves the complaints by the linter.