jwt 2.2.1 → 2.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHORS +79 -44
- data/CHANGELOG.md +305 -20
- data/CODE_OF_CONDUCT.md +84 -0
- data/CONTRIBUTING.md +99 -0
- data/README.md +268 -40
- data/lib/jwt/base64.rb +16 -2
- data/lib/jwt/claims_validator.rb +13 -9
- data/lib/jwt/configuration/container.rb +32 -0
- data/lib/jwt/configuration/decode_configuration.rb +46 -0
- data/lib/jwt/configuration/jwk_configuration.rb +27 -0
- data/lib/jwt/configuration.rb +15 -0
- data/lib/jwt/decode.rb +80 -18
- data/lib/jwt/deprecations.rb +29 -0
- data/lib/jwt/encode.rb +24 -19
- data/lib/jwt/error.rb +17 -14
- data/lib/jwt/jwa/ecdsa.rb +76 -0
- data/lib/jwt/jwa/eddsa.rb +42 -0
- data/lib/jwt/jwa/hmac.rb +75 -0
- data/lib/jwt/jwa/hmac_rbnacl.rb +50 -0
- data/lib/jwt/jwa/hmac_rbnacl_fixed.rb +46 -0
- data/lib/jwt/jwa/none.rb +19 -0
- data/lib/jwt/jwa/ps.rb +30 -0
- data/lib/jwt/jwa/rsa.rb +25 -0
- data/lib/jwt/{algos → jwa}/unsupported.rb +8 -5
- data/lib/jwt/jwa/wrapper.rb +26 -0
- data/lib/jwt/jwa.rb +62 -0
- data/lib/jwt/jwk/ec.rb +251 -0
- data/lib/jwt/jwk/hmac.rb +103 -0
- data/lib/jwt/jwk/key_base.rb +57 -0
- data/lib/jwt/jwk/key_finder.rb +19 -30
- data/lib/jwt/jwk/kid_as_key_digest.rb +15 -0
- data/lib/jwt/jwk/okp_rbnacl.rb +110 -0
- data/lib/jwt/jwk/rsa.rb +181 -25
- data/lib/jwt/jwk/set.rb +80 -0
- data/lib/jwt/jwk/thumbprint.rb +26 -0
- data/lib/jwt/jwk.rb +39 -15
- data/lib/jwt/verify.rb +25 -6
- data/lib/jwt/version.rb +24 -3
- data/lib/jwt/x5c_key_finder.rb +52 -0
- data/lib/jwt.rb +6 -4
- data/ruby-jwt.gemspec +18 -10
- metadata +45 -76
- data/.codeclimate.yml +0 -20
- data/.ebert.yml +0 -18
- data/.gitignore +0 -11
- data/.rspec +0 -1
- data/.rubocop.yml +0 -98
- data/.travis.yml +0 -20
- data/Appraisals +0 -14
- data/Gemfile +0 -3
- data/Rakefile +0 -11
- data/lib/jwt/algos/ecdsa.rb +0 -35
- data/lib/jwt/algos/eddsa.rb +0 -23
- data/lib/jwt/algos/hmac.rb +0 -33
- data/lib/jwt/algos/ps.rb +0 -43
- data/lib/jwt/algos/rsa.rb +0 -19
- data/lib/jwt/default_options.rb +0 -15
- data/lib/jwt/security_utils.rb +0 -57
- data/lib/jwt/signature.rb +0 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af3792b982f014801d3ff7ae3410be6bd1e0b27f199c500942eb86267bb2b764
|
4
|
+
data.tar.gz: c37fc4b72cf3819210b15164548eff44579de1e8f8c48d9ce35864a84f007d9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f61fd13a1d56c657691abb4bfde3671a7d93b5c853785b804c0d119d27f4641685828eb9c65a8e4856487782530e791ecbce5f1a5f1cb61c883daff97a44367
|
7
|
+
data.tar.gz: ef36aa81991e28cb9d3df65f1ebbeb6599eb99dee8e1953aff1a6231e91c6a3f9633e3afd22fbbc6c09f6318c4e516ee7a908428eee303f3952fed890395b267
|
data/AUTHORS
CHANGED
@@ -1,84 +1,119 @@
|
|
1
1
|
Tim Rudat
|
2
|
+
Joakim Antman
|
2
3
|
Jeff Lindsay
|
3
4
|
A.B
|
4
|
-
|
5
|
+
shields
|
5
6
|
Bob Aman
|
7
|
+
Emilio Cristalli
|
8
|
+
Egon Zemmer
|
6
9
|
Zane Shannon
|
7
|
-
Oliver
|
8
|
-
Paul Battley
|
9
10
|
Nikita Shatov
|
11
|
+
Paul Battley
|
12
|
+
Oliver
|
10
13
|
blackanger
|
14
|
+
Ville Lautanala
|
11
15
|
Tyler Pickett
|
12
16
|
James Stonehill
|
13
17
|
Adam Michael
|
14
|
-
|
18
|
+
Martin Emde
|
19
|
+
Saverio Trioni
|
15
20
|
Peter M. Goldstein
|
16
|
-
Joakim Antman
|
17
21
|
Korstiaan de Ridder
|
22
|
+
Richard Larocque
|
23
|
+
Andrew Davis
|
24
|
+
Yason Khaburzaniya
|
18
25
|
Klaas Jan Wierenga
|
26
|
+
Nick Hammond
|
27
|
+
Bart de Water
|
19
28
|
Steve Sloan
|
29
|
+
Antonis Berkakis
|
20
30
|
Bill Mill
|
21
|
-
Erik Michaels-Ober
|
22
|
-
Brian Flethcer
|
23
|
-
Jurriaan Pruis
|
24
31
|
Kevin Olbrich
|
25
|
-
|
26
|
-
|
27
|
-
Steven Davidovitz
|
28
|
-
Tom Wey
|
32
|
+
Simon Fish
|
33
|
+
jb08
|
29
34
|
lukas
|
35
|
+
Rodrigo López Dato
|
30
36
|
ojab
|
37
|
+
Ritikesh
|
31
38
|
sawyerzhang
|
39
|
+
Larry Lv
|
40
|
+
smudge
|
32
41
|
wohlgejm
|
42
|
+
Tom Wey
|
33
43
|
yann ARMAND
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
aarongray
|
40
|
-
B
|
41
|
-
Adam Greene
|
42
|
-
Lowell Kirsh
|
43
|
-
Lucas Mazza
|
44
|
-
Makoto Chiba
|
45
|
-
Manuel Bustillo
|
46
|
-
Marco Adkins
|
47
|
-
Micah Gates
|
48
|
-
Mike Eirih
|
49
|
-
Mike Pastore
|
50
|
-
Mingan
|
51
|
-
Mitch Birti
|
44
|
+
Brian Flethcer
|
45
|
+
Jurriaan Pruis
|
46
|
+
Erik Michaels-Ober
|
47
|
+
Matthew Simpson
|
48
|
+
Steven Davidovitz
|
52
49
|
Nicolas Leger
|
53
|
-
|
54
|
-
|
55
|
-
Arnaud Mesureur
|
56
|
-
Ariel Salomon
|
50
|
+
Pierre Michard
|
51
|
+
RahulBajaj
|
57
52
|
Rob Wygand
|
58
|
-
danielgrippi
|
59
53
|
Ryan Brushett
|
60
54
|
Ryan McIlmoyl
|
61
|
-
|
55
|
+
Ryan Metzler
|
56
|
+
Severin Schoepke
|
57
|
+
Shaun Guth
|
62
58
|
Steve Teti
|
63
|
-
|
59
|
+
T.J. Schuck
|
64
60
|
Taiki Sugawara
|
65
|
-
|
66
|
-
Alexandr Kostrikov
|
61
|
+
Takehiro Adachi
|
67
62
|
Tobias Haar
|
68
63
|
Toby Pinder
|
69
|
-
rono23
|
70
64
|
Tomé Duarte
|
71
65
|
Travis Hunter
|
72
|
-
Alexander Boyd
|
73
66
|
Yuji Yaginuma
|
67
|
+
Zuzanna Stolińska
|
68
|
+
aarongray
|
69
|
+
danielgrippi
|
70
|
+
fusagiko/takayamaki
|
71
|
+
mai fujii
|
72
|
+
nycvotes-dev
|
73
|
+
revodoge
|
74
|
+
rono23
|
75
|
+
antonmorant
|
76
|
+
Adam Greene
|
77
|
+
Alexander Boyd
|
78
|
+
Alexandr Kostrikov
|
79
|
+
Aman Gupta
|
80
|
+
Ariel Salomon
|
81
|
+
Arnaud Mesureur
|
82
|
+
Artsiom Kuts
|
83
|
+
Austin Kabiru
|
84
|
+
B
|
85
|
+
Bouke van der Bijl
|
86
|
+
Brandon Keepers
|
87
|
+
Dan Leyden
|
88
|
+
Dave Grijalva
|
89
|
+
Dmitry Pashkevich
|
90
|
+
Dorian Marié
|
74
91
|
Ernie Miller
|
75
92
|
Evgeni Golov
|
76
93
|
Ewoud Kohl van Wijngaarden
|
94
|
+
HoneyryderChuck
|
95
|
+
Igor Victor
|
77
96
|
Ilyaaaaaaaaaaaaa Zhitomirskiy
|
78
|
-
Dorian Marié
|
79
|
-
Dave Grijalva
|
80
97
|
Jens Hausherr
|
81
98
|
Jeremiah Wuenschel
|
82
|
-
Brandon Keepers
|
83
99
|
John Downey
|
100
|
+
Jordan Brough
|
84
101
|
Josh Bodah
|
102
|
+
JotaSe
|
103
|
+
Juanito Fatas
|
104
|
+
Julio Lopez
|
105
|
+
Katelyn Kasperowicz
|
106
|
+
Leonardo Saraiva
|
107
|
+
Lowell Kirsh
|
108
|
+
Loïc Lengrand
|
109
|
+
Lucas Mazza
|
110
|
+
Makoto Chiba
|
111
|
+
Manuel Bustillo
|
112
|
+
Marco Adkins
|
113
|
+
Meredith Leu
|
114
|
+
Micah Gates
|
115
|
+
Michał Begejowicz
|
116
|
+
Mike Eirih
|
117
|
+
Mike Pastore
|
118
|
+
Mingan
|
119
|
+
Mitch Birti
|