jwt_signed_request 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -0
- data/lib/jwt_signed_request/verify.rb +1 -1
- data/lib/jwt_signed_request/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3144368c75430387496d7c472a81f8cac91a9841
|
4
|
+
data.tar.gz: 54cb1f07bb06dda6837ba15cd7aea3611f3aa2e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb195e8fe72496043a0bbfbc5debf26d187d11a0977c21ff4056c255840c724f320a25499d868222153600eb3c4da47d5e031f59b21ccae1f9e653621cd5ea78
|
7
|
+
data.tar.gz: 41bfb5dcb88155d9c095c5463d70c31378c06275f7fa4d009e005aa16ef6dc782d84a9a7addaca63661a75ac442fa3a1abe165c058a5a263fdbd446eea8ccd16
|
data/README.md
CHANGED
@@ -195,6 +195,7 @@ Many thanks to the following contributors to this gem:
|
|
195
195
|
- Ben Axnick - [@bentheax](https://github.com/bentheax)
|
196
196
|
- Glen Stampoultzis - [@gstamp](https://github.com/gstamp)
|
197
197
|
- Lucas Parry - [@lparry](https://github.com/lparry)
|
198
|
+
- Chris Mckenzie - [@chrisface](https://github.com/chrisface)
|
198
199
|
|
199
200
|
## Contributing
|
200
201
|
|
@@ -29,7 +29,7 @@ module JWTSignedRequest
|
|
29
29
|
attr_reader :request, :leeway
|
30
30
|
|
31
31
|
def stored_key
|
32
|
-
|
32
|
+
_body, jwt_header = ::JWT.decode(jwt_token, nil, false)
|
33
33
|
key_id = jwt_header.fetch('kid') { raise MissingKeyIdError }
|
34
34
|
signed_algorithm = jwt_header.fetch('alg')
|
35
35
|
JWTSignedRequest.key_store.get_verification_key(key_id: key_id).tap do |key|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jwt_signed_request
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Envato
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.6.13
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: JWT request signing and verification for Internal APIs
|