gitlab-omniauth-openid-connect 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37197f76441b711d0f9ecbc461b533298e827e0a0be5679994e7c2e72d930695
4
- data.tar.gz: d854e863540d1132cd182988f909338b192e0655da0872f9b357d0a165a1a4c2
3
+ metadata.gz: cfe87cbb7313b1a3d1c25fa167d6a400b076043eb029b603f201e9c8f2bc06a0
4
+ data.tar.gz: 7386c0d5374abd0e310b28bd4a7cca97b0fa71e3a0e66f34d1e650ac16c8c8dc
5
5
  SHA512:
6
- metadata.gz: 184378eed49019d8fe115ea54071cc17d97a9482ad16ae0fb5ad33e4985ee49ef29ad20c52d66a6e7a016bb14a28ced575f0b73d820e87e0663f234f66304183
7
- data.tar.gz: 468a122b46e8a1e9fc62d380131500471d66d68285753334cf60b699c7e3d6e87ecd44b3d4f9ded43bf3bfb968bfe3403133b31cd6d0af456e180e90bc0cb979
6
+ metadata.gz: 34b17d1e9911b4e262efcddc65b7b3f83e9eda3285ca8a3309d37abb3128b9319c1d35a9666b78bf6401d9d02e1ff89011b3b4d7fcb2278fda9187d9d972a56a
7
+ data.tar.gz: ef6276095ef55576545620e9de38098872990a280b9e3c4ea38de48e25755c94dc272b5bce90d04a09c14be6ba758aeb6a141ef5078d7b80d97f3d42f79b852c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v0.9.1 (01.03.2022)
2
+
3
+ - [Assume public key encryption unless HMAC is specified](https://gitlab.com/gitlab-org/gitlab-omniauth-openid-connect/-/merge_requests/19)
4
+
1
5
  # v0.9.0 (01.03.2022)
2
6
 
3
7
  - [Add support for ES[256|384|512|256K] algorithms](https://gitlab.com/gitlab-org/gitlab-omniauth-openid-connect/-/merge_requests/17)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module OpenIDConnect
5
- VERSION = '0.9.0'
5
+ VERSION = '0.9.1'.freeze
6
6
  end
7
7
  end
@@ -265,10 +265,10 @@ module OmniAuth
265
265
 
266
266
  keyset =
267
267
  case algorithm
268
- when :ES256, :ES384, :ES512, :ES256K, :RS256, :RS384, :RS512
269
- public_key
270
268
  when :HS256, :HS384, :HS512
271
269
  secret
270
+ else
271
+ public_key
272
272
  end
273
273
 
274
274
  decoded.verify!(keyset)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-omniauth-openid-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Bohn