argon2-kdf 0.1.3 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/LICENSE.txt +1 -1
- data/README.md +1 -1
- data/lib/argon2/kdf/version.rb +1 -1
- data/lib/argon2/kdf.rb +10 -2
- data/vendor/libargon2.arm64.dylib +0 -0
- data/vendor/libargon2.arm64.so +0 -0
- metadata +11 -65
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f93f6f8d6b288fe0bf774cfb98f11681e2dcd547749d8a386179f53f8f7167b
|
4
|
+
data.tar.gz: 1a3751d1249910ddd83aa585971df9d973733b5e92a85f5ad78d7ba8fcf5d2bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8501b2793ceb5a1d74bcf03881b4788c7e153abbf9d13ae47977460c7700a43ea807842c9165ca69e3760f625155436ad171b6b4bb4c0f4391b5e2efc1d09e1a
|
7
|
+
data.tar.gz: 89624447fc7c5b36d786710f4081ef4ce8bd98c24f135a74a7a01821f51ee840eba20b68ab480937a32c158356b23a8ef4a52273cf1c21d93165f25d23bd5c1f
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
## 0.1.7 (2021-12-13)
|
2
|
+
|
3
|
+
- Improved ARM detection
|
4
|
+
|
5
|
+
## 0.1.6 (2021-03-10)
|
6
|
+
|
7
|
+
- Added ARM shared library for Linux
|
8
|
+
|
9
|
+
## 0.1.5 (2021-01-05)
|
10
|
+
|
11
|
+
- Fixed ARM detection
|
12
|
+
|
13
|
+
## 0.1.4 (2020-12-28)
|
14
|
+
|
15
|
+
- Added ARM shared library for Mac
|
16
|
+
|
1
17
|
## 0.1.3 (2020-03-25)
|
2
18
|
|
3
19
|
- Fixed `Symbol not found` error on Mac 10.13
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
For password hashing, use the [argon2](https://github.com/technion/ruby-argon2) gem
|
9
9
|
|
10
|
-
[![Build Status](https://
|
10
|
+
[![Build Status](https://github.com/ankane/argon2-kdf/workflows/build/badge.svg?branch=master)](https://github.com/ankane/argon2-kdf/actions)
|
11
11
|
|
12
12
|
## Installation
|
13
13
|
|
data/lib/argon2/kdf/version.rb
CHANGED
data/lib/argon2/kdf.rb
CHANGED
@@ -15,9 +15,17 @@ module Argon2
|
|
15
15
|
if Gem.win_platform?
|
16
16
|
"argon2.dll"
|
17
17
|
elsif RbConfig::CONFIG["host_os"] =~ /darwin/i
|
18
|
-
"
|
18
|
+
if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
|
19
|
+
"libargon2.arm64.dylib"
|
20
|
+
else
|
21
|
+
"libargon2.dylib"
|
22
|
+
end
|
19
23
|
else
|
20
|
-
"
|
24
|
+
if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
|
25
|
+
"libargon2.arm64.so"
|
26
|
+
else
|
27
|
+
"libargon2.so"
|
28
|
+
end
|
21
29
|
end
|
22
30
|
vendor_lib = File.expand_path("../../vendor/#{lib_name}", __dir__)
|
23
31
|
self.ffi_lib = [vendor_lib]
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,73 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: argon2-kdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: minitest
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '5'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '5'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: benchmark-ips
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
description:
|
70
|
-
email: andrew@chartkick.com
|
11
|
+
date: 2021-12-13 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description:
|
14
|
+
email: andrew@ankane.org
|
71
15
|
executables: []
|
72
16
|
extensions: []
|
73
17
|
extra_rdoc_files: []
|
@@ -80,13 +24,15 @@ files:
|
|
80
24
|
- lib/argon2/kdf/version.rb
|
81
25
|
- vendor/LICENSE
|
82
26
|
- vendor/argon2.dll
|
27
|
+
- vendor/libargon2.arm64.dylib
|
28
|
+
- vendor/libargon2.arm64.so
|
83
29
|
- vendor/libargon2.dylib
|
84
30
|
- vendor/libargon2.so
|
85
31
|
homepage: https://github.com/ankane/argon2-kdf
|
86
32
|
licenses:
|
87
33
|
- MIT
|
88
34
|
metadata: {}
|
89
|
-
post_install_message:
|
35
|
+
post_install_message:
|
90
36
|
rdoc_options: []
|
91
37
|
require_paths:
|
92
38
|
- lib
|
@@ -101,8 +47,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
47
|
- !ruby/object:Gem::Version
|
102
48
|
version: '0'
|
103
49
|
requirements: []
|
104
|
-
rubygems_version: 3.
|
105
|
-
signing_key:
|
50
|
+
rubygems_version: 3.2.32
|
51
|
+
signing_key:
|
106
52
|
specification_version: 4
|
107
53
|
summary: Argon2 key derivation for Ruby
|
108
54
|
test_files: []
|