jwt-multisig 1.0.4 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.drone.yml +1 -0
- data/Gemfile.lock +18 -19
- data/jwt-multisig.gemspec +1 -1
- data/lib/jwt-multisig/version.rb +1 -1
- data/lib/jwt-multisig.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d964bfaaaa655928527573b8867a7ed7b535caaeb97ef922093d9f0bcdcf1e3
|
4
|
+
data.tar.gz: 5e709f1fa1ba46b6083fc48a6b5df9e4e00ac259cf283a5b73e59507c48d117a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f1a6661ba691c780eba2d4a46d159c54359567035b53e47c357382eaab363f0fac70ed417587369dbce3b5052bddafcd6fa8589672e5939a2ac1d14f75e2813
|
7
|
+
data.tar.gz: 88b06acc104911a9754e8a4210660a3bcec8573a0f117a4256839505236850c69a22c05c82e5c52942c4719812c051e7d04f2d64aafef6b970cacd8d0f3383ab
|
data/.drone.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,43 +1,42 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jwt-multisig (1.0.
|
4
|
+
jwt-multisig (1.0.6)
|
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.
|
11
|
+
activesupport (6.1.7.2)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
-
i18n (>=
|
14
|
-
minitest (
|
15
|
-
tzinfo (~>
|
16
|
-
zeitwerk (~> 2.
|
17
|
-
concurrent-ruby (1.
|
18
|
-
i18n (1.
|
13
|
+
i18n (>= 1.6, < 2)
|
14
|
+
minitest (>= 5.1)
|
15
|
+
tzinfo (~> 2.0)
|
16
|
+
zeitwerk (~> 2.3)
|
17
|
+
concurrent-ruby (1.2.2)
|
18
|
+
i18n (1.12.0)
|
19
19
|
concurrent-ruby (~> 1.0)
|
20
|
-
jwt (2.
|
20
|
+
jwt (2.7.0)
|
21
21
|
memoist (0.16.2)
|
22
|
-
minitest (5.
|
23
|
-
power_assert (
|
22
|
+
minitest (5.17.0)
|
23
|
+
power_assert (2.0.3)
|
24
24
|
rake (12.3.3)
|
25
|
-
test-unit (3.
|
25
|
+
test-unit (3.5.7)
|
26
26
|
power_assert
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
zeitwerk (2.4.0)
|
27
|
+
tzinfo (2.0.6)
|
28
|
+
concurrent-ruby (~> 1.0)
|
29
|
+
zeitwerk (2.6.7)
|
31
30
|
|
32
31
|
PLATFORMS
|
33
|
-
|
32
|
+
x86_64-linux
|
34
33
|
|
35
34
|
DEPENDENCIES
|
36
|
-
bundler (~>
|
35
|
+
bundler (~> 2.4.7)
|
37
36
|
jwt-multisig!
|
38
37
|
memoist (~> 0.16)
|
39
38
|
rake (~> 12.3)
|
40
39
|
test-unit (~> 3.1)
|
41
40
|
|
42
41
|
BUNDLED WITH
|
43
|
-
|
42
|
+
2.4.7
|
data/jwt-multisig.gemspec
CHANGED
data/lib/jwt-multisig/version.rb
CHANGED
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 }
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RubyKube
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 2.4.7
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 2.4.7
|
55
55
|
description: The tool for working with JWT signed by multiple verificators as per
|
56
56
|
RFC 7515. Based on the RubyGem «jwt» under the hood.
|
57
57
|
email: support@rubykube.io
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
|
-
rubygems_version: 3.0.3
|
100
|
+
rubygems_version: 3.0.3.1
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: The tool for working with multi-signature JWT.
|