You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
parallel.test-crypto-rsa-dsa fails with Missing expected exception #52537
The code does a runtime check for whether the OpenSSL implementation supports implicit rejection and conditionally throws an exception based on the check:
@mhdawson Thoughts? Perhaps as a short term fix we can skip the test if built with a dynamically linked OpenSSL?
I presume we'd expect to have to update the test in the future when we update the statically linked OpenSSL to a version that supports the implicit rejection.
I had a quick discussion with @mhdawson who is going to look at if there's a way for the test to detect if the underlying OpenSSL implementation supports implicit rejections.
As a temporary fix to unblock the CI, I've opened #52542 to skip that part of the test if Node.js has been dynamically linked against OpenSSL.
Activity
richardlau commentedon Apr 15, 2024
The stack is pointing at the test added in 54cd268 for https://hackerone.com/reports/2269177.
IIRC ubi81_sharedlibs_openssl111fips_x64 builds against the system OpenSSL (i.e. the one in UBI 8). The container was recently redeployed -- I'm wondering if that has picked up a patched system OpenSSL that the test case doesn't pass with.
cc @mhdawson
richardlau commentedon Apr 15, 2024
The code does a runtime check for whether the OpenSSL implementation supports implicit rejection and conditionally throws an exception based on the check:
node/src/crypto/crypto_cipher.cc
Lines 1081 to 1095 in f098b7a
However the test looks to be always expecting the exception. It may not be easy for the test to do the feature detection without native code.
richardlau commentedon Apr 15, 2024
@mhdawson Thoughts? Perhaps as a short term fix we can skip the test if built with a dynamically linked OpenSSL?
I presume we'd expect to have to update the test in the future when we update the statically linked OpenSSL to a version that supports the implicit rejection.
targos commentedon Apr 15, 2024
This is a similar problem to #52196
richardlau commentedon Apr 15, 2024
targos commentedon Apr 15, 2024
I also rebuilt test-digitalocean-ubi81_container-x64-1 (and all other containers on that host) today.
richardlau commentedon Apr 15, 2024
I had a quick discussion with @mhdawson who is going to look at if there's a way for the test to detect if the underlying OpenSSL implementation supports implicit rejections.
As a temporary fix to unblock the CI, I've opened #52542 to skip that part of the test if Node.js has been dynamically linked against OpenSSL.
test: skip test for dynamically linked OpenSSL
test: skip test for dynamically linked OpenSSL
test: skip test for dynamically linked OpenSSL
test: skip test for dynamically linked OpenSSL
test: crypto-rsa-dsa testing for dynamic openssl
test: crypto-rsa-dsa testing for dynamic openssl
test: crypto-rsa-dsa testing for dynamic openssl
test: crypto-rsa-dsa testing for dynamic openssl
test: crypto-rsa-dsa testing for dynamic openssl