This bug is used to track golang readiness with OpenSSL 3.0 targetted for RHEL-9 beta.
As of now the following tests fail when golang is built with OpenSSL 3.0:
FAIL crypto/aes
FAIL TestCBCDecrypterAES
These are a couple of known failures that are already fixed upstream and they will be patched downstream
There are other test failures due to the following error:
FAIL TestDecryptPKCS1v15
FAIL TestEncryptPKCS1v15SessionKey
FAIL TestEncryptPKCS1v15DecrypterSessionKey
FAIL TestShortSessionKey
FAIL TestCreateSelfSignedCertificate
pkcs1v15_test.go:278: Failed to encrypt short message: EVP_PKEY_operation_init failed
openssl error(s):
error:1C800069:Provider routines::invalid key length
David is following this up and removing support for 1024 bit keys