Comment 0 for bug 1965184

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

ruby-openid-connect/1.2.0-2 do not support OpenSSL 3 which lead us to the following test failures during build/autopkgtest time:

Failures:

  1) OpenIDConnect::Discovery::Provider::Config::Response#public_keys
     Failure/Error: instance.public_keys

     OpenSSL::PKey::PKeyError:
       rsa#set_key= is incompatible with OpenSSL 3.0
     # /usr/share/rubygems-integration/all/gems/json-jwt-1.13.0/lib/json/jwk.rb:106:in `set_key'
     # /usr/share/rubygems-integration/all/gems/json-jwt-1.13.0/lib/json/jwk.rb:106:in `to_rsa_key'
     # /usr/share/rubygems-integration/all/gems/json-jwt-1.13.0/lib/json/jwk.rb:43:in `to_key'
     # /usr/share/rubygems-integration/all/gems/openid_connect-1.2.0/lib/openid_connect/discovery/provider/config/response.rb:91:in `collect'
     # /usr/share/rubygems-integration/all/gems/openid_connect-1.2.0/lib/openid_connect/discovery/provider/config/response.rb:91:in `public_keys'
     # ./spec/openid_connect/discovery/provider/config/response_spec.rb:100:in `block (4 levels) in <top (required)>'
     # ./spec/helpers/webmock_helper.rb:10:in `mock_json'
     # ./spec/openid_connect/discovery/provider/config/response_spec.rb:99:in `block (3 levels) in <top (required)>'

  2) OpenIDConnect::ResponseObject::IdToken.decode when self-issued when valid when key == :self_issued is expected not to raise Exception
     Failure/Error:
       expect do
         klass.decode self_issued, :self_issued
       end.not_to raise_error

       expected no Exception, got #<OpenSSL::PKey::PKeyError: rsa#set_key= is incompatible with OpenSSL 3.0> with backtrace:
         # /usr/share/rubygems-integration/all/gems/json-jwt-1.13.0/lib/json/jwk.rb:106:in `set_key'
         # /usr/share/rubygems-integration/all/gems/json-jwt-1.13.0/lib/json/jwk.rb:106:in `to_rsa_key'
         # /usr/share/rubygems-integration/all/gems/json-jwt-1.13.0/lib/json/jwk.rb:43:in `to_key'
         # /usr/share/rubygems-integration/all/gems/json-jwt-1.13.0/lib/json/jose.rb:27:in `with_jwk_support'
         # /usr/share/rubygems-integration/all/gems/json-jwt-1.13.0/lib/json/jws.rb:124:in `valid?'
         # /usr/share/rubygems-integration/all/gems/json-jwt-1.13.0/lib/json/jws.rb:26:in `verify!'
         # /usr/share/rubygems-integration/all/gems/openid_connect-1.2.0/lib/openid_connect/response_object/id_token.rb:79:in `decode_self_issued'
         # /usr/share/rubygems-integration/all/gems/openid_connect-1.2.0/lib/openid_connect/response_object/id_token.rb:68:in `decode'
         # ./spec/openid_connect/response_object/id_token_spec.rb:263:in `block (7 levels) in <top (required)>'
         # ./spec/openid_connect/response_object/id_token_spec.rb:262:in `block (6 levels) in <top (required)>'
     # ./spec/openid_connect/response_object/id_token_spec.rb:262:in `block (6 levels) in <top (required)>'

Finished in 32.37 seconds (files took 0.73441 seconds to load)
234 examples, 2 failures, 2 pending