-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Ran into this issue auditing these patches for FIPS Compliance and noticed that the pairwise consistency tests were not being executed when calling ecdsa.GenerateKey()
due to the go SDK invoking the deprecated EC_KEY_generate_key
functions (deprecated in OpenSSL3: https://www.openssl.org/docs/man3.0/man3/EC_KEY_generate_key.html)
This looks like it was addressed in an update to the golang-fipss/openssl library here:
golang-fips/openssl@1607c24
But was never included in the FIPS Patches for Go on the go1.20-fips-release
branch here:
https://github.com/golang-fips/go/blob/go1.20-fips-release/patches/001-initial-openssl-for-fips.patch#L2367-L2368
Which seem to reference this version here:
https://github.com/golang-fips/openssl/blob/b175be2ccd46/openssl/ecdsa.go#L194
Is this something that could be backported to the Go 1.21 branch? Or at least documented as being a branch that is not FIPS Compliant under OpenSSL 3.