rbnacl 6.0.1 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -8
- data/.travis.yml +1 -1
- data/CHANGES.md +6 -0
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/lib/rbnacl/group_elements/curve25519.rb +1 -1
- data/lib/rbnacl/version.rb +1 -1
- data/rbnacl.gemspec +1 -1
- data/spec/rbnacl/sodium_spec.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18e5a4efebf3a289cd699ebce7b08ad598411c112d15c35e72c1436ca4d93d6f
|
4
|
+
data.tar.gz: 0f26ed2371c60ea5a2bda37a31b0a9d501fd9813be84613b002c2d051ad9b97c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16de9db7bff675c9ffdede714661bcafa19fe5c9998ea8c8eb40e252297578f98eaf095c1672b98a7c08248900001917b2ccb32bc3987728ec9d32fedca4d29b
|
7
|
+
data.tar.gz: db529680fbb1b998520754bfee5530d7da2f732c4edfb8407df6284cb423d9816257c26e8a934a07aa8b712dd72e6d211f61d433c4e5b36ee639ecfbe4018ada
|
data/.rubocop.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.
|
2
|
+
TargetRubyVersion: 2.3
|
3
3
|
DisplayCopNames: true
|
4
4
|
Exclude:
|
5
5
|
- 'vendor/**/*'
|
@@ -38,13 +38,6 @@ Metrics/PerceivedComplexity:
|
|
38
38
|
Naming/UncommunicativeMethodParamName:
|
39
39
|
Enabled: false
|
40
40
|
|
41
|
-
#
|
42
|
-
# Performance
|
43
|
-
#
|
44
|
-
|
45
|
-
Performance/UnfreezeString:
|
46
|
-
Enabled: false
|
47
|
-
|
48
41
|
#
|
49
42
|
# Style
|
50
43
|
#
|
data/.travis.yml
CHANGED
data/CHANGES.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## [7.0.0] (2019-05-23)
|
2
|
+
|
3
|
+
- Drop support for Ruby 2.2 ([#194])
|
4
|
+
|
1
5
|
## [6.0.1] (2019-01-27)
|
2
6
|
|
3
7
|
- Add fallback `sodium_constants` for Argon2 ([#189])
|
@@ -101,6 +105,8 @@
|
|
101
105
|
|
102
106
|
- Initial release
|
103
107
|
|
108
|
+
[7.0.0]: https://github.com/crypto-rb/rbnacl/pull/195
|
109
|
+
[#194]: https://github.com/crypto-rb/rbnacl/pull/194
|
104
110
|
[6.0.1]: https://github.com/crypto-rb/rbnacl/pull/191
|
105
111
|
[#189]: https://github.com/crypto-rb/rbnacl/pull/189
|
106
112
|
[#186]: https://github.com/crypto-rb/rbnacl/pull/186
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -59,10 +59,10 @@ You can use RbNaCl on platforms libsodium is supported (see below).
|
|
59
59
|
This library aims to support and is [tested against][travis] the following Ruby
|
60
60
|
versions:
|
61
61
|
|
62
|
-
* Ruby 2.2
|
63
62
|
* Ruby 2.3
|
64
63
|
* Ruby 2.4
|
65
64
|
* Ruby 2.5
|
65
|
+
* Ruby 2.6
|
66
66
|
* JRuby 9.1
|
67
67
|
|
68
68
|
If something doesn't work on one of these versions, it's a bug.
|
@@ -19,7 +19,7 @@ module RbNaCl
|
|
19
19
|
STANDARD_GROUP_ORDER = 2**252 + 27_742_317_777_372_353_535_851_937_790_883_648_493
|
20
20
|
|
21
21
|
# Degenerate key (all-zeroes, results in an all-zero shared secret)
|
22
|
-
DEGENERATE_KEY =
|
22
|
+
DEGENERATE_KEY = "\0" * 32
|
23
23
|
|
24
24
|
include KeyComparator
|
25
25
|
include Serializable
|
data/lib/rbnacl/version.rb
CHANGED
data/rbnacl.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
|
-
spec.required_ruby_version = ">= 2.
|
24
|
+
spec.required_ruby_version = ">= 2.3.0"
|
25
25
|
|
26
26
|
spec.add_runtime_dependency "ffi"
|
27
27
|
|
data/spec/rbnacl/sodium_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbnacl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Arcieri
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|
@@ -147,7 +147,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
147
147
|
requirements:
|
148
148
|
- - ">="
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version: 2.
|
150
|
+
version: 2.3.0
|
151
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
152
|
requirements:
|
153
153
|
- - ">="
|