Hello community,
here is the log from the commit of package rubygem-openid_connect for
openSUSE:Factory checked in at 2018-07-18 22:50:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-openid_connect (Old)
and /work/SRC/openSUSE:Factory/.rubygem-openid_connect.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-openid_connect"
Wed Jul 18 22:50:36 2018 rev:3 rq:621019 version:1.1.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-openid_connect/rubygem-openid_connect.changes
2018-03-06 10:47:03.568779357 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-openid_connect.new/rubygem-openid_connect.changes
2018-07-18 22:50:37.659619887 +0200
@@ -1,0 +2,6 @@
+Fri Apr 27 10:15:11 UTC 2018 - [email protected]
+
+- updated to version 1.1.6
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
openid_connect-1.1.5.gem
New:
----
openid_connect-1.1.6.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-openid_connect.spec ++++++
--- /var/tmp/diff_new_pack.Qjtt9W/_old 2018-07-18 22:50:38.479617168 +0200
+++ /var/tmp/diff_new_pack.Qjtt9W/_new 2018-07-18 22:50:38.479617168 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-openid_connect
-Version: 1.1.5
+Version: 1.1.6
Release: 0
%define mod_name openid_connect
%define mod_full_name %{mod_name}-%{version}
++++++ openid_connect-1.1.5.gem -> openid_connect-1.1.6.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/VERSION new/VERSION
--- old/VERSION 2018-02-27 08:09:12.000000000 +0100
+++ new/VERSION 2018-04-27 11:49:37.000000000 +0200
@@ -1 +1 @@
-1.1.5
+1.1.6
\ No newline at end of file
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/openid_connect/response_object/id_token.rb
new/lib/openid_connect/response_object/id_token.rb
--- old/lib/openid_connect/response_object/id_token.rb 2018-02-27
08:09:12.000000000 +0100
+++ new/lib/openid_connect/response_object/id_token.rb 2018-04-27
11:49:37.000000000 +0200
@@ -1,5 +1,3 @@
-require 'json/jwt'
-
module OpenIDConnect
class ResponseObject
class IdToken < ConnectObject
@@ -58,7 +56,7 @@
def left_half_hash_of(string, hash_length)
digest = OpenSSL::Digest.new("SHA#{hash_length}").digest string
- UrlSafeBase64.encode64 digest[0, hash_length / (2 * 8)]
+ Base64.urlsafe_encode64 digest[0, hash_length / (2 * 8)], padding:
false
end
class << self
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/openid_connect.rb new/lib/openid_connect.rb
--- old/lib/openid_connect.rb 2018-02-27 08:09:12.000000000 +0100
+++ new/lib/openid_connect.rb 2018-04-27 11:49:37.000000000 +0200
@@ -8,6 +8,7 @@
require 'validate_email'
require 'attr_required'
require 'attr_optional'
+require 'json/jwt'
require 'rack/oauth2'
require 'rack/oauth2/server/authorize/error_with_connect_ext'
require 'rack/oauth2/server/authorize/request_with_connect_params'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-02-27 08:09:12.000000000 +0100
+++ new/metadata 2018-04-27 11:49:37.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: openid_connect
version: !ruby/object:Gem::Version
- version: 1.1.5
+ version: 1.1.6
platform: ruby
authors:
- nov matake
autorequire:
bindir: bin
cert_chain: []
-date: 2018-02-27 00:00:00.000000000 Z
+date: 2018-04-27 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: tzinfo
@@ -320,7 +320,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.6.13
+rubygems_version: 2.7.3
signing_key:
specification_version: 4
summary: OpenID Connect Server & Client Library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/openid_connect/response_object/id_token_spec.rb
new/spec/openid_connect/response_object/id_token_spec.rb
--- old/spec/openid_connect/response_object/id_token_spec.rb 2018-02-27
08:09:12.000000000 +0100
+++ new/spec/openid_connect/response_object/id_token_spec.rb 2018-04-27
11:49:37.000000000 +0200
@@ -157,7 +157,7 @@
t = id_token.to_jwt private_key do |t|
t.header[:x5u] = "http://server.example.com/x5u"
end
- h = UrlSafeBase64.decode64 t.split('.').first
+ h = Base64.urlsafe_decode64 t.split('.').first
h.should include 'x5u'
end
end
@@ -169,8 +169,9 @@
jwt = JSON::JWT.decode t, public_key
jwt.should include :at_hash
jwt.should_not include :c_hash
- jwt[:at_hash].should == UrlSafeBase64.encode64(
- OpenSSL::Digest::SHA256.digest('access_token')[0, 128 / 8]
+ jwt[:at_hash].should == Base64.urlsafe_encode64(
+ OpenSSL::Digest::SHA256.digest('access_token')[0, 128 / 8],
+ padding: false
)
end
end
@@ -193,8 +194,9 @@
jwt = JSON::JWT.decode t, public_key
jwt.should_not include :at_hash
jwt.should include :c_hash
- jwt[:c_hash].should == UrlSafeBase64.encode64(
- OpenSSL::Digest::SHA256.digest('authorization_code')[0, 128 / 8]
+ jwt[:c_hash].should == Base64.urlsafe_encode64(
+ OpenSSL::Digest::SHA256.digest('authorization_code')[0, 128 / 8],
+ padding: false
)
end
end
@@ -209,11 +211,13 @@
jwt = JSON::JWT.decode t, public_key
jwt.should include :at_hash
jwt.should include :c_hash
- jwt[:at_hash].should == UrlSafeBase64.encode64(
- OpenSSL::Digest::SHA256.digest('access_token')[0, 128 / 8]
+ jwt[:at_hash].should == Base64.urlsafe_encode64(
+ OpenSSL::Digest::SHA256.digest('access_token')[0, 128 / 8],
+ padding: false
)
- jwt[:c_hash].should == UrlSafeBase64.encode64(
- OpenSSL::Digest::SHA256.digest('authorization_code')[0, 128 / 8]
+ jwt[:c_hash].should == Base64.urlsafe_encode64(
+ OpenSSL::Digest::SHA256.digest('authorization_code')[0, 128 / 8],
+ padding: false
)
end
end