scrypt 3.0.3 → 3.0.4
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.tar.gz.sig +0 -0
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/ext/scrypt/Rakefile +1 -1
- data/lib/scrypt/version.rb +1 -1
- data/scrypt.gemspec +5 -5
- metadata +43 -14
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 308474f5c2443b49da8c23130b20a7d5cdefcb0f
|
4
|
+
data.tar.gz: 707e70564c2f4459e542d3b0176bea903cf94b33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39e6be1ed66c35673234c477e23713f673560eac255c6f4caceb5cc761e2694d93ffd7d0a347d2f273a79fa3ab38998361f316ef13166bd328e6062bc72799e6
|
7
|
+
data.tar.gz: 79f953ae52da5a6c1d6be042cce0314bb9390ecbc52940171e850134b1dc6705938eda810625c6fa111a7a0201d8e9b93a7074f23bbc613f2ada7c43374ebb4e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -27,7 +27,7 @@ namespace "ffi-compiler" do
|
|
27
27
|
t.cflags << "-Wall -std=c99"
|
28
28
|
t.cflags << "-msse -msse2" if t.platform.arch.include? "86"
|
29
29
|
t.cflags << "-D_GNU_SOURCE=1" if RbConfig::CONFIG["host_os"].downcase =~ /mingw/
|
30
|
-
t.cflags << "-
|
30
|
+
t.cflags << "-D_POSIX_C_SOURCE=199309L" if RbConfig::CONFIG['host_os'].downcase =~ /linux/
|
31
31
|
t.cflags << "-arch x86_64 -arch i386" if t.platform.mac?
|
32
32
|
t.ldflags << "-arch x86_64 -arch i386" if t.platform.mac?
|
33
33
|
|
data/ext/scrypt/Rakefile
CHANGED
@@ -4,7 +4,7 @@ FFI::Compiler::CompileTask.new('scrypt_ext') do |t|
|
|
4
4
|
t.cflags << "-Wall -std=c99"
|
5
5
|
t.cflags << "-msse -msse2" if t.platform.arch.include? "86"
|
6
6
|
t.cflags << "-D_GNU_SOURCE=1" if RbConfig::CONFIG["host_os"].downcase =~ /mingw/
|
7
|
-
t.cflags << "-
|
7
|
+
t.cflags << "-D_POSIX_C_SOURCE=199309L" if RbConfig::CONFIG['host_os'].downcase =~ /linux/
|
8
8
|
t.cflags << "-arch x86_64 -arch i386" if t.platform.mac?
|
9
9
|
t.ldflags << "-arch x86_64 -arch i386" if t.platform.mac?
|
10
10
|
t.export '../../lib/scrypt/scrypt_ext.rb'
|
data/lib/scrypt/version.rb
CHANGED
data/scrypt.gemspec
CHANGED
@@ -19,11 +19,11 @@ Gem::Specification.new do |s|
|
|
19
19
|
alternative functions such as PBKDF2 or bcrypt.
|
20
20
|
EOF
|
21
21
|
|
22
|
-
s.add_dependency 'ffi-compiler', '>= 1.0.0'
|
23
|
-
s.add_dependency 'rake'
|
24
|
-
s.add_development_dependency
|
25
|
-
s.add_development_dependency
|
26
|
-
s.add_development_dependency
|
22
|
+
s.add_dependency 'ffi-compiler', '>= 1.0', '< 2.0'
|
23
|
+
s.add_dependency 'rake', '>= 9', '< 12'
|
24
|
+
s.add_development_dependency 'rspec', '>= 3', '< 4'
|
25
|
+
s.add_development_dependency 'rdoc', '>= 4', '< 5'
|
26
|
+
s.add_development_dependency 'awesome_print', '>= 1', '< 2'
|
27
27
|
|
28
28
|
s.rubyforge_project = "scrypt"
|
29
29
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Hogan
|
@@ -33,7 +33,7 @@ cert_chain:
|
|
33
33
|
wpN2wi2CVPoj+c4bOYxgvF17WNGDWYdVEXXCRzoqGbA2kLbTH1o9BxI6NBzmfwyH
|
34
34
|
LY7uYxN8Hy8S4Oto/gB1eREHqYwwXt3TmlJ6kAVGbO5y9xblPncdnfwNLCUnPfxN
|
35
35
|
-----END CERTIFICATE-----
|
36
|
-
date:
|
36
|
+
date: 2017-03-16 00:00:00.000000000 Z
|
37
37
|
dependencies:
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: ffi-compiler
|
@@ -41,70 +41,100 @@ dependencies:
|
|
41
41
|
requirements:
|
42
42
|
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 1.0
|
44
|
+
version: '1.0'
|
45
|
+
- - "<"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.0'
|
45
48
|
type: :runtime
|
46
49
|
prerelease: false
|
47
50
|
version_requirements: !ruby/object:Gem::Requirement
|
48
51
|
requirements:
|
49
52
|
- - ">="
|
50
53
|
- !ruby/object:Gem::Version
|
51
|
-
version: 1.0
|
54
|
+
version: '1.0'
|
55
|
+
- - "<"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '2.0'
|
52
58
|
- !ruby/object:Gem::Dependency
|
53
59
|
name: rake
|
54
60
|
requirement: !ruby/object:Gem::Requirement
|
55
61
|
requirements:
|
56
62
|
- - ">="
|
57
63
|
- !ruby/object:Gem::Version
|
58
|
-
version: '
|
64
|
+
version: '9'
|
65
|
+
- - "<"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '12'
|
59
68
|
type: :runtime
|
60
69
|
prerelease: false
|
61
70
|
version_requirements: !ruby/object:Gem::Requirement
|
62
71
|
requirements:
|
63
72
|
- - ">="
|
64
73
|
- !ruby/object:Gem::Version
|
65
|
-
version: '
|
74
|
+
version: '9'
|
75
|
+
- - "<"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '12'
|
66
78
|
- !ruby/object:Gem::Dependency
|
67
79
|
name: rspec
|
68
80
|
requirement: !ruby/object:Gem::Requirement
|
69
81
|
requirements:
|
70
82
|
- - ">="
|
71
83
|
- !ruby/object:Gem::Version
|
72
|
-
version: '
|
84
|
+
version: '3'
|
85
|
+
- - "<"
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '4'
|
73
88
|
type: :development
|
74
89
|
prerelease: false
|
75
90
|
version_requirements: !ruby/object:Gem::Requirement
|
76
91
|
requirements:
|
77
92
|
- - ">="
|
78
93
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
94
|
+
version: '3'
|
95
|
+
- - "<"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '4'
|
80
98
|
- !ruby/object:Gem::Dependency
|
81
99
|
name: rdoc
|
82
100
|
requirement: !ruby/object:Gem::Requirement
|
83
101
|
requirements:
|
84
102
|
- - ">="
|
85
103
|
- !ruby/object:Gem::Version
|
86
|
-
version: '
|
104
|
+
version: '4'
|
105
|
+
- - "<"
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '5'
|
87
108
|
type: :development
|
88
109
|
prerelease: false
|
89
110
|
version_requirements: !ruby/object:Gem::Requirement
|
90
111
|
requirements:
|
91
112
|
- - ">="
|
92
113
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
114
|
+
version: '4'
|
115
|
+
- - "<"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '5'
|
94
118
|
- !ruby/object:Gem::Dependency
|
95
119
|
name: awesome_print
|
96
120
|
requirement: !ruby/object:Gem::Requirement
|
97
121
|
requirements:
|
98
122
|
- - ">="
|
99
123
|
- !ruby/object:Gem::Version
|
100
|
-
version: '
|
124
|
+
version: '1'
|
125
|
+
- - "<"
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '2'
|
101
128
|
type: :development
|
102
129
|
prerelease: false
|
103
130
|
version_requirements: !ruby/object:Gem::Requirement
|
104
131
|
requirements:
|
105
132
|
- - ">="
|
106
133
|
- !ruby/object:Gem::Version
|
107
|
-
version: '
|
134
|
+
version: '1'
|
135
|
+
- - "<"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '2'
|
108
138
|
description: |2
|
109
139
|
The scrypt key derivation function is designed to be far
|
110
140
|
more secure against hardware brute-force attacks than
|
@@ -176,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
206
|
version: '0'
|
177
207
|
requirements: []
|
178
208
|
rubyforge_project: scrypt
|
179
|
-
rubygems_version: 2.
|
209
|
+
rubygems_version: 2.6.10
|
180
210
|
signing_key:
|
181
211
|
specification_version: 4
|
182
212
|
summary: scrypt password hashing algorithm.
|
@@ -185,4 +215,3 @@ test_files:
|
|
185
215
|
- spec/scrypt/password_spec.rb
|
186
216
|
- spec/scrypt/utils_spec.rb
|
187
217
|
- spec/spec_helper.rb
|
188
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|