Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionEdjunior Barbosa Machado
2022-10-21 10:47:20 UTC
After fixing bug #2132694, 'GOLANG_FIPS=1 go get ...' is now failing with panic on s390x only:
[root@s390x-kvm-055 tmp.eiWXO3QkTw]# GOLANG_FIPS=1 go get golang.org/x/net/html
panic: crypto/elliptic: attempted operation on invalid point
goroutine 37 [running]:
crypto/elliptic.panicIfNotOnCurve({0x17f1960, 0x1a9b310}, 0xc00006ee20, 0xc00006ee40)
/usr/lib/golang/src/crypto/elliptic/elliptic.go:182 +0xee
crypto/elliptic.Marshal({0x17f1960, 0x1a9b310}, 0xc00006ee20, 0xc00006ee40)
/usr/lib/golang/src/crypto/elliptic/elliptic.go:75 +0x42
crypto/tls.(*nistParameters).PublicKey(0xc0001311a0)
/usr/lib/golang/src/crypto/tls/key_schedule.go:195 +0x62
crypto/tls.(*Conn).makeClientHello(0xc000121500)
/usr/lib/golang/src/crypto/tls/handshake_client.go:146 +0xf3a
crypto/tls.(*Conn).clientHandshake(0xc000121500, {0x17f0718, 0xc0001384c0})
/usr/lib/golang/src/crypto/tls/handshake_client.go:161 +0x90
crypto/tls.(*Conn).handshakeContext(0xc000121500, {0x17f0750, 0xc0000240b0})
/usr/lib/golang/src/crypto/tls/conn.go:1462 +0x37c
crypto/tls.(*Conn).HandshakeContext(...)
/usr/lib/golang/src/crypto/tls/conn.go:1405
net/http.(*persistConn).addTLS.func2()
/usr/lib/golang/src/net/http/transport.go:1538 +0x9e
created by net/http.(*persistConn).addTLS
/usr/lib/golang/src/net/http/transport.go:1534 +0x3dc
[root@s390x-kvm-055 ~]# rpm -qa golang
Like on previous bug, 'go get' works as expected when GOLANG_FIPS is not set:
[root@s390x-kvm-055 tmp.xILskNmDbj]# GOLANG_FIPS= go get -v golang.org/x/net/html
go: downloading golang.org/x/net v0.1.0
go: added golang.org/x/net v0.1.0
Version-Release number of selected component (if applicable):
go-toolset:rhel8:8080020221018192211:17f3f959
golang-1.19.2-3.module+el8.8.0+16972+3559a6f8.s390x
RHEL-8.8.0-20221017.2