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
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 public_ keys
Failure/Error: instance.
OpenSSL: :PKey:: PKeyError: rubygems- integration/ all/gems/ json-jwt- 1.13.0/ lib/json/ jwk.rb: 106:in `set_key' rubygems- integration/ all/gems/ json-jwt- 1.13.0/ lib/json/ jwk.rb: 106:in `to_rsa_key' rubygems- integration/ all/gems/ json-jwt- 1.13.0/ lib/json/ jwk.rb: 43:in `to_key' rubygems- integration/ all/gems/ openid_ connect- 1.2.0/lib/ openid_ connect/ discovery/ provider/ config/ response. rb:91:in `collect' rubygems- integration/ all/gems/ openid_ connect- 1.2.0/lib/ openid_ connect/ discovery/ provider/ config/ response. rb:91:in `public_keys' openid_ connect/ discovery/ provider/ config/ response_ spec.rb: 100:in `block (4 levels) in <top (required)>' helpers/ webmock_ helper. rb:10:in `mock_json' openid_ connect/ discovery/ provider/ config/ response_ spec.rb: 99:in `block (3 levels) in <top (required)>'
rsa#set_key= is incompatible with OpenSSL 3.0
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# ./spec/
# ./spec/
# ./spec/
2) OpenIDConnect: :ResponseObject ::IdToken. decode when self-issued when valid when key == :self_issued is expected not to raise Exception
klass. decode self_issued, :self_issued
Failure/Error:
expect do
end.not_to raise_error
expected no Exception, got #<OpenSSL: :PKey:: PKeyError: rsa#set_key= is incompatible with OpenSSL 3.0> with backtrace: rubygems- integration/ all/gems/ json-jwt- 1.13.0/ lib/json/ jwk.rb: 106:in `set_key' rubygems- integration/ all/gems/ json-jwt- 1.13.0/ lib/json/ jwk.rb: 106:in `to_rsa_key' rubygems- integration/ all/gems/ json-jwt- 1.13.0/ lib/json/ jwk.rb: 43:in `to_key' rubygems- integration/ all/gems/ json-jwt- 1.13.0/ lib/json/ jose.rb: 27:in `with_jwk_support' rubygems- integration/ all/gems/ json-jwt- 1.13.0/ lib/json/ jws.rb: 124:in `valid?' rubygems- integration/ all/gems/ json-jwt- 1.13.0/ lib/json/ jws.rb: 26:in `verify!' rubygems- integration/ all/gems/ openid_ connect- 1.2.0/lib/ openid_ connect/ response_ object/ id_token. rb:79:in `decode_ self_issued' rubygems- integration/ all/gems/ openid_ connect- 1.2.0/lib/ openid_ connect/ response_ object/ id_token. rb:68:in `decode' openid_ connect/ response_ object/ id_token_ spec.rb: 263:in `block (7 levels) in <top (required)>' openid_ connect/ response_ object/ id_token_ spec.rb: 262:in `block (6 levels) in <top (required)>' openid_ connect/ response_ object/ id_token_ spec.rb: 262:in `block (6 levels) in <top (required)>'
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# /usr/share/
# ./spec/
# ./spec/
# ./spec/
Finished in 32.37 seconds (files took 0.73441 seconds to load)
234 examples, 2 failures, 2 pending