slosilo 2.0.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.dockerignore +2 -0
- data/.github/CODEOWNERS +10 -0
- data/.gitleaks.toml +221 -0
- data/CHANGELOG.md +17 -1
- data/CONTRIBUTING.md +16 -0
- data/Jenkinsfile +75 -0
- data/LICENSE +2 -2
- data/README.md +6 -5
- data/SECURITY.md +42 -0
- data/lib/slosilo/adapters/sequel_adapter.rb +12 -3
- data/lib/slosilo/attr_encrypted.rb +4 -1
- data/lib/slosilo/errors.rb +3 -0
- data/lib/slosilo/jwt.rb +122 -0
- data/lib/slosilo/key.rb +74 -2
- data/lib/slosilo/keystore.rb +13 -2
- data/lib/slosilo/version.rb +1 -1
- data/lib/slosilo.rb +1 -0
- data/lib/tasks/slosilo.rake +5 -0
- data/publish-rubygem.sh +11 -0
- data/slosilo.gemspec +12 -3
- data/spec/file_adapter_spec.rb +1 -1
- data/spec/jwt_spec.rb +102 -0
- data/spec/key_spec.rb +48 -2
- data/spec/sequel_adapter_spec.rb +3 -3
- data/spec/slosilo_spec.rb +32 -0
- data/spec/spec_helper.rb +5 -2
- data/spec/symmetric_spec.rb +4 -4
- data/test.sh +27 -0
- metadata +61 -24
metadata
CHANGED
@@ -1,111 +1,139 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slosilo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafał Rzepecki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '3.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: ci_reporter_rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
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
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: simplecov
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov-cobertura
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: io-grab
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- - ~>
|
87
|
+
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
89
|
version: 0.0.1
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- - ~>
|
94
|
+
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: 0.0.1
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: sequel
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
|
-
- -
|
101
|
+
- - ">="
|
88
102
|
- !ruby/object:Gem::Version
|
89
103
|
version: '0'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
|
-
- -
|
108
|
+
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: sqlite3
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
|
-
- -
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: activesupport
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
102
130
|
- !ruby/object:Gem::Version
|
103
131
|
version: '0'
|
104
132
|
type: :development
|
105
133
|
prerelease: false
|
106
134
|
version_requirements: !ruby/object:Gem::Requirement
|
107
135
|
requirements:
|
108
|
-
- -
|
136
|
+
- - ">="
|
109
137
|
- !ruby/object:Gem::Version
|
110
138
|
version: '0'
|
111
139
|
description: This gem provides an easy way of storing and retrieving encryption keys
|
@@ -116,13 +144,19 @@ executables: []
|
|
116
144
|
extensions: []
|
117
145
|
extra_rdoc_files: []
|
118
146
|
files:
|
119
|
-
- .
|
120
|
-
- .
|
147
|
+
- ".dockerignore"
|
148
|
+
- ".github/CODEOWNERS"
|
149
|
+
- ".gitignore"
|
150
|
+
- ".gitleaks.toml"
|
151
|
+
- ".kateproject"
|
121
152
|
- CHANGELOG.md
|
153
|
+
- CONTRIBUTING.md
|
122
154
|
- Gemfile
|
155
|
+
- Jenkinsfile
|
123
156
|
- LICENSE
|
124
157
|
- README.md
|
125
158
|
- Rakefile
|
159
|
+
- SECURITY.md
|
126
160
|
- lib/slosilo.rb
|
127
161
|
- lib/slosilo/adapters/abstract_adapter.rb
|
128
162
|
- lib/slosilo/adapters/file_adapter.rb
|
@@ -132,15 +166,18 @@ files:
|
|
132
166
|
- lib/slosilo/adapters/sequel_adapter/migration.rb
|
133
167
|
- lib/slosilo/attr_encrypted.rb
|
134
168
|
- lib/slosilo/errors.rb
|
169
|
+
- lib/slosilo/jwt.rb
|
135
170
|
- lib/slosilo/key.rb
|
136
171
|
- lib/slosilo/keystore.rb
|
137
172
|
- lib/slosilo/random.rb
|
138
173
|
- lib/slosilo/symmetric.rb
|
139
174
|
- lib/slosilo/version.rb
|
140
175
|
- lib/tasks/slosilo.rake
|
176
|
+
- publish-rubygem.sh
|
141
177
|
- slosilo.gemspec
|
142
178
|
- spec/encrypted_attributes_spec.rb
|
143
179
|
- spec/file_adapter_spec.rb
|
180
|
+
- spec/jwt_spec.rb
|
144
181
|
- spec/key_spec.rb
|
145
182
|
- spec/keystore_spec.rb
|
146
183
|
- spec/random_spec.rb
|
@@ -148,6 +185,7 @@ files:
|
|
148
185
|
- spec/slosilo_spec.rb
|
149
186
|
- spec/spec_helper.rb
|
150
187
|
- spec/symmetric_spec.rb
|
188
|
+
- test.sh
|
151
189
|
homepage: ''
|
152
190
|
licenses:
|
153
191
|
- MIT
|
@@ -158,23 +196,23 @@ require_paths:
|
|
158
196
|
- lib
|
159
197
|
required_ruby_version: !ruby/object:Gem::Requirement
|
160
198
|
requirements:
|
161
|
-
- -
|
199
|
+
- - ">="
|
162
200
|
- !ruby/object:Gem::Version
|
163
|
-
version:
|
201
|
+
version: 3.0.0
|
164
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
203
|
requirements:
|
166
|
-
- -
|
204
|
+
- - ">="
|
167
205
|
- !ruby/object:Gem::Version
|
168
206
|
version: '0'
|
169
207
|
requirements: []
|
170
|
-
|
171
|
-
rubygems_version: 2.0.14.1
|
208
|
+
rubygems_version: 3.1.6
|
172
209
|
signing_key:
|
173
210
|
specification_version: 4
|
174
211
|
summary: Store SSL keys in a database
|
175
212
|
test_files:
|
176
213
|
- spec/encrypted_attributes_spec.rb
|
177
214
|
- spec/file_adapter_spec.rb
|
215
|
+
- spec/jwt_spec.rb
|
178
216
|
- spec/key_spec.rb
|
179
217
|
- spec/keystore_spec.rb
|
180
218
|
- spec/random_spec.rb
|
@@ -182,4 +220,3 @@ test_files:
|
|
182
220
|
- spec/slosilo_spec.rb
|
183
221
|
- spec/spec_helper.rb
|
184
222
|
- spec/symmetric_spec.rb
|
185
|
-
has_rdoc:
|