scrypt 3.0.6 → 3.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/Rakefile +6 -5
- data/ext/scrypt/Rakefile +1 -1
- data/lib/scrypt/engine.rb +175 -0
- data/lib/scrypt/errors.rb +14 -0
- data/lib/scrypt/password.rb +97 -0
- data/lib/scrypt/scrypt_ext.rb +3 -0
- data/lib/scrypt/security_utils.rb +4 -3
- data/lib/scrypt/version.rb +3 -1
- data/lib/scrypt.rb +7 -266
- data/scrypt.gemspec +39 -20
- data/spec/scrypt/engine_spec.rb +34 -37
- data/spec/scrypt/password_spec.rb +56 -58
- data/spec/scrypt/utils_spec.rb +5 -3
- data/spec/spec_helper.rb +6 -3
- data.tar.gz.sig +0 -0
- metadata +126 -42
- metadata.gz.sig +0 -0
metadata
CHANGED
@@ -1,43 +1,44 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrypt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Hogan
|
8
8
|
- Stephen von Takach
|
9
9
|
- Rene van Paassen
|
10
|
-
|
10
|
+
- Johanns Gregorian
|
11
|
+
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain:
|
13
14
|
- |
|
14
15
|
-----BEGIN CERTIFICATE-----
|
15
16
|
MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MRAwDgYDVQQDDAdwYmhv
|
16
17
|
Z2FuMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNjb20w
|
17
|
-
|
18
|
+
HhcNMjQwNjA0MTUwOTUzWhcNMjUwNjA0MTUwOTUzWjA+MRAwDgYDVQQDDAdwYmhv
|
18
19
|
Z2FuMRUwEwY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4IBgQAOMv+VFnM3VYGOXvkXKZIQ
|
32
|
+
1U9WNeFdoEErMT1UNJ2RUXrq74wLcNFHuTmpt1CiqvhEPKBPoro3UaBo8XOcLqOo
|
33
|
+
c9pMZ8Od1zjmiwbMZoVJz7rzxy+/uG8CF8qlBh84B+L7M5HbhZBA0+M4tlmA24pf
|
34
|
+
gsC4RXZICOb0IOt++HK+roi0iiXqtc7k1lFc9wvrNmQmg5ehqnIJduH7VLE4DXeR
|
35
|
+
gFsk4zW1CsPxhNJGTUJawCcRDX3gS/dv1xa4+WaOFbG+pT0kVH1vFWBd6ylQgzOS
|
36
|
+
GoK4s/sTBfyITuo91NPV8+NpdcOrzaZUmdO3i+dox2JR01OXRSaapuRTn8CmjGPq
|
37
|
+
DvDKDJVWX/gAm+wYW871bYbzYtoPGrLO16fzYBKbwBDDHxxW2ju1CdM1PGR9fRVp
|
38
|
+
j9xWOu4Z1nHLCxQxv+h4jQqTUXr6QS0Aei4heTJEH85yXqdgsn2EKsTMC1vAbBGR
|
39
|
+
2SIh/w6kd92reXNpKv+PzBa+yFT5pS7f+6CfMC8XdJE=
|
39
40
|
-----END CERTIFICATE-----
|
40
|
-
date:
|
41
|
+
date: 2024-06-04 00:00:00.000000000 Z
|
41
42
|
dependencies:
|
42
43
|
- !ruby/object:Gem::Dependency
|
43
44
|
name: ffi-compiler
|
@@ -68,7 +69,47 @@ dependencies:
|
|
68
69
|
version: '9'
|
69
70
|
- - "<"
|
70
71
|
- !ruby/object:Gem::Version
|
71
|
-
version: '
|
72
|
+
version: '14'
|
73
|
+
type: :runtime
|
74
|
+
prerelease: false
|
75
|
+
version_requirements: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '9'
|
80
|
+
- - "<"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '14'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: awesome_print
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1'
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '2'
|
93
|
+
type: :development
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '1'
|
100
|
+
- - "<"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '2'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rake
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '9'
|
110
|
+
- - "<"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '14'
|
72
113
|
type: :development
|
73
114
|
prerelease: false
|
74
115
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -78,7 +119,27 @@ dependencies:
|
|
78
119
|
version: '9'
|
79
120
|
- - "<"
|
80
121
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
122
|
+
version: '14'
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: rdoc
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '4'
|
130
|
+
- - "<"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '5'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '4'
|
140
|
+
- - "<"
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '5'
|
82
143
|
- !ruby/object:Gem::Dependency
|
83
144
|
name: rspec
|
84
145
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,45 +161,65 @@ dependencies:
|
|
100
161
|
- !ruby/object:Gem::Version
|
101
162
|
version: '4'
|
102
163
|
- !ruby/object:Gem::Dependency
|
103
|
-
name:
|
164
|
+
name: rubocop
|
104
165
|
requirement: !ruby/object:Gem::Requirement
|
105
166
|
requirements:
|
106
167
|
- - ">="
|
107
168
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
169
|
+
version: 0.76.0
|
109
170
|
- - "<"
|
110
171
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
172
|
+
version: 1.0.0
|
112
173
|
type: :development
|
113
174
|
prerelease: false
|
114
175
|
version_requirements: !ruby/object:Gem::Requirement
|
115
176
|
requirements:
|
116
177
|
- - ">="
|
117
178
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
179
|
+
version: 0.76.0
|
119
180
|
- - "<"
|
120
181
|
- !ruby/object:Gem::Version
|
121
|
-
version:
|
182
|
+
version: 1.0.0
|
122
183
|
- !ruby/object:Gem::Dependency
|
123
|
-
name:
|
184
|
+
name: rubocop-gitlab-security
|
124
185
|
requirement: !ruby/object:Gem::Requirement
|
125
186
|
requirements:
|
126
187
|
- - ">="
|
127
188
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
189
|
+
version: 0.1.1
|
129
190
|
- - "<"
|
130
191
|
- !ruby/object:Gem::Version
|
131
|
-
version: '2'
|
192
|
+
version: '0.2'
|
132
193
|
type: :development
|
133
194
|
prerelease: false
|
134
195
|
version_requirements: !ruby/object:Gem::Requirement
|
135
196
|
requirements:
|
136
197
|
- - ">="
|
137
198
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
199
|
+
version: 0.1.1
|
139
200
|
- - "<"
|
140
201
|
- !ruby/object:Gem::Version
|
141
|
-
version: '2'
|
202
|
+
version: '0.2'
|
203
|
+
- !ruby/object:Gem::Dependency
|
204
|
+
name: rubocop-performance
|
205
|
+
requirement: !ruby/object:Gem::Requirement
|
206
|
+
requirements:
|
207
|
+
- - ">="
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: 1.5.0
|
210
|
+
- - "<"
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: 1.6.0
|
213
|
+
type: :development
|
214
|
+
prerelease: false
|
215
|
+
version_requirements: !ruby/object:Gem::Requirement
|
216
|
+
requirements:
|
217
|
+
- - ">="
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: 1.5.0
|
220
|
+
- - "<"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 1.6.0
|
142
223
|
description: |2
|
143
224
|
The scrypt key derivation function is designed to be far
|
144
225
|
more secure against hardware brute-force attacks than
|
@@ -147,6 +228,7 @@ email:
|
|
147
228
|
- pbhogan@gmail.com
|
148
229
|
- steve@advancedcontrol.com.au
|
149
230
|
- rene.vanpaassen@gmail.com
|
231
|
+
- io+scrypt@jsg.io
|
150
232
|
executables: []
|
151
233
|
extensions:
|
152
234
|
- ext/scrypt/Rakefile
|
@@ -182,6 +264,9 @@ files:
|
|
182
264
|
- ext/scrypt/warnp.c
|
183
265
|
- ext/scrypt/warnp.h
|
184
266
|
- lib/scrypt.rb
|
267
|
+
- lib/scrypt/engine.rb
|
268
|
+
- lib/scrypt/errors.rb
|
269
|
+
- lib/scrypt/password.rb
|
185
270
|
- lib/scrypt/scrypt_ext.rb
|
186
271
|
- lib/scrypt/security_utils.rb
|
187
272
|
- lib/scrypt/version.rb
|
@@ -194,7 +279,7 @@ homepage: https://github.com/pbhogan/scrypt
|
|
194
279
|
licenses:
|
195
280
|
- BSD-3-Clause
|
196
281
|
metadata: {}
|
197
|
-
post_install_message:
|
282
|
+
post_install_message:
|
198
283
|
rdoc_options: []
|
199
284
|
require_paths:
|
200
285
|
- lib
|
@@ -202,20 +287,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
202
287
|
requirements:
|
203
288
|
- - ">="
|
204
289
|
- !ruby/object:Gem::Version
|
205
|
-
version:
|
290
|
+
version: 2.3.0
|
206
291
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
292
|
requirements:
|
208
293
|
- - ">="
|
209
294
|
- !ruby/object:Gem::Version
|
210
295
|
version: '0'
|
211
296
|
requirements: []
|
212
|
-
|
213
|
-
|
214
|
-
signing_key:
|
297
|
+
rubygems_version: 3.5.10
|
298
|
+
signing_key:
|
215
299
|
specification_version: 4
|
216
300
|
summary: scrypt password hashing algorithm.
|
217
301
|
test_files:
|
218
|
-
- spec/spec_helper.rb
|
219
|
-
- spec/scrypt/password_spec.rb
|
220
302
|
- spec/scrypt/engine_spec.rb
|
303
|
+
- spec/scrypt/password_spec.rb
|
221
304
|
- spec/scrypt/utils_spec.rb
|
305
|
+
- spec/spec_helper.rb
|
metadata.gz.sig
CHANGED
Binary file
|