jwt-multisig 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -10
- data/lib/jwt-multisig.rb +1 -1
- data/lib/jwt-multisig/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2d5cb56b491d2821e088bf0a109ff503f5eb348048ebb377ee265750f2970eb
|
4
|
+
data.tar.gz: 024a5788c0596c3076ccf4cb8e5d26299a73a9936d91ca0bc3d7ad6fed361c12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c3aae71b52284732567c5874afe816c7a329ccd194e1aff5ce6ea731778837402cd8f9c708eb928c3806a0097b650b604467395c5552cfb7c5f94f7e9d8bf99
|
7
|
+
data.tar.gz: 5b92d0fc646e416f951833d243d4f0c211d9de6422c2cb9680e8adaeed70247ecd669b0332ede5af23bb3a11508717d28b54864cc683760ca0f9c7c582eda17a
|
data/Gemfile.lock
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jwt-multisig (1.0.
|
4
|
+
jwt-multisig (1.0.5)
|
5
5
|
activesupport (>= 4.0)
|
6
6
|
jwt (~> 2.2)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (6.0
|
11
|
+
activesupport (6.1.0)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
-
i18n (>=
|
14
|
-
minitest (
|
15
|
-
tzinfo (~>
|
16
|
-
zeitwerk (~> 2.
|
13
|
+
i18n (>= 1.6, < 2)
|
14
|
+
minitest (>= 5.1)
|
15
|
+
tzinfo (~> 2.0)
|
16
|
+
zeitwerk (~> 2.3)
|
17
17
|
concurrent-ruby (1.1.7)
|
18
18
|
i18n (1.8.5)
|
19
19
|
concurrent-ruby (~> 1.0)
|
@@ -24,10 +24,9 @@ GEM
|
|
24
24
|
rake (12.3.3)
|
25
25
|
test-unit (3.3.6)
|
26
26
|
power_assert
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
zeitwerk (2.4.0)
|
27
|
+
tzinfo (2.0.3)
|
28
|
+
concurrent-ruby (~> 1.0)
|
29
|
+
zeitwerk (2.4.2)
|
31
30
|
|
32
31
|
PLATFORMS
|
33
32
|
ruby
|
data/lib/jwt-multisig.rb
CHANGED
@@ -41,7 +41,7 @@ module JWT
|
|
41
41
|
def generate_jwt(payload, private_keychain, algorithms)
|
42
42
|
proxy_exception JWT::EncodeError do
|
43
43
|
algorithms_mapping = algorithms.with_indifferent_access
|
44
|
-
{ payload: base64_encode(payload
|
44
|
+
{ payload: base64_encode(::JSON.dump(payload)),
|
45
45
|
signatures: private_keychain.map do |id, value|
|
46
46
|
generate_jws(payload, id, value, algorithms_mapping.fetch(id))
|
47
47
|
end }
|
data/lib/jwt-multisig/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jwt-multisig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RubyKube
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|