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
"CertificateAuthority::Certificate from_openssl should check to make sure that if a certificate had extensions they were imported" fails with OpenSSL 3.0
#62
The print format for X509v3 authority key identifier was changed in openssl, and in openssl >= 3.0 the keyid: prefix is no longer included in most cases. See openssl/openssl@86afd00 and openssl/openssl#6226 for context.
This appears to cause a test failure when running against openssl 3.0:
Failures:
1) CertificateAuthority::Certificate from_openssl should check to make sure that if a certificate had extensions they were imported
Failure/Error: expect(@cert_with_extensions.extensions["authorityKeyIdentifier"]).to eq(expected_authorityKeyIdentifier)
expected: #<CertificateAuthority::Extensions::AuthorityKeyIdentifier:0x000055d255e61018 @critical=false, @identifier="keyid:4C:58:CB:25:F0:41:4F:52:F4:28:C8:81:43:9B:A6:A8:A0:E6:92:E5">
got: #<CertificateAuthority::Extensions::AuthorityKeyIdentifier:0x000055d255e58828 @critical=false, @identifier="4C:58:CB:25:F0:41:4F:52:F4:28:C8:81:43:9B:A6:A8:A0:E6:92:E5">
(compared using ==)
Diff:
@@ -1,5 +1,4 @@
-#<CertificateAuthority::Extensions::AuthorityKeyIdentifier:0x000055d255e61018
+#<CertificateAuthority::Extensions::AuthorityKeyIdentifier:0x000055d255e58828
@critical=false,
- @identifier=
- "keyid:4C:58:CB:25:F0:41:4F:52:F4:28:C8:81:43:9B:A6:A8:A0:E6:92:E5">
+ @identifier="4C:58:CB:25:F0:41:4F:52:F4:28:C8:81:43:9B:A6:A8:A0:E6:92:E5">
# ./spec/units/certificate_spec.rb:427:in `block (3 levels) in <top (required)>'
Finished in 1.22 seconds (files took 0.44575 seconds to load)
189 examples, 1 failure, 1 pending
Failed examples:
rspec ./spec/units/certificate_spec.rb:403 # CertificateAuthority::Certificate from_openssl should check to make sure that if a certificate had extensions they were imported
The print format for X509v3 authority key identifier was changed in openssl, and in openssl >= 3.0 the
keyid:
prefix is no longer included in most cases. See openssl/openssl@86afd00 and openssl/openssl#6226 for context.This appears to cause a test failure when running against openssl 3.0:
This is from an Ubuntu package build, and the full log can be found here: https://launchpadlibrarian.net/609963185/buildlog_ubuntu-kinetic-amd64.ruby-certificate-authority_1.0.0-1_BUILDING.txt.gz.
The text was updated successfully, but these errors were encountered: