argon2id 0.8.0.rc1-aarch64-linux-gnu → 0.9.0-aarch64-linux-gnu
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
- data/CHANGELOG.md +25 -0
- data/README.md +5 -5
- data/Rakefile +2 -7
- data/argon2id.gemspec +2 -2
- data/lib/argon2id/3.1/argon2id.so +0 -0
- data/lib/argon2id/3.2/argon2id.so +0 -0
- data/lib/argon2id/3.3/argon2id.so +0 -0
- data/lib/argon2id/3.4/argon2id.so +0 -0
- data/lib/argon2id/4.0/argon2id.so +0 -0
- data/lib/argon2id/extension.rb +1 -0
- data/lib/argon2id/version.rb +1 -1
- metadata +9 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d411c8869bd11eb0445e82825c910686a45ab8ab88eb87f7f6a8dfe8ea6b5a1c
|
|
4
|
+
data.tar.gz: fd94cf628c83fba34ee035dc314c3aa61d46c34d2ac233e58056146b10c083c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f7f73d5617df265f3e0b344047c5d3b393b9f42e618ced06a1d71052104c54e53506c05de46a0b7372bea8dd7ca1da8e3d9f62c5b2496aab41a52f95f8650ed
|
|
7
|
+
data.tar.gz: fea0ccd561504a836c7801fac7bdebe6ad5f1ce0b0ae8e02baf8cae22adc9a595d94ab589a665c901dc21e3c2ff87b95ff8e1a93bd492e9be7c1f6a3425bb936
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,29 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.9.0] - 2025-12-30
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Add support for Ruby 4.0 in precompiled, native gems.
|
|
12
|
+
|
|
13
|
+
### Removed
|
|
14
|
+
- Remove support and native gems for Ruby 2.6, 2.7, and 3.0.
|
|
15
|
+
- Remove native gems for 32-bit platforms, specifically x86-linux-gnu,
|
|
16
|
+
x86-linux-musl, and x86-mingw32
|
|
17
|
+
|
|
18
|
+
## [0.8.0] - 2024-12-29
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- Add Ruby 3.4 support to the precompiled, native gems
|
|
23
|
+
- Restored support for Ruby 2.6, 2.7, and 3.0 after dropping them in 0.8.0.rc1
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Provide separate precompiled, native gems for GNU and Musl
|
|
28
|
+
- Require glibc 2.29+ for x86-linux-gnu and x86_64-linux-gnu (and recommend
|
|
29
|
+
RubyGems 3.3.22+ and Bundler 2.3.21+)
|
|
30
|
+
|
|
8
31
|
## [0.8.0.rc1] - 2024-12-16
|
|
9
32
|
|
|
10
33
|
### Added
|
|
@@ -128,6 +151,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
128
151
|
reference C implementation of Argon2, the password-hashing function that won
|
|
129
152
|
the Password Hashing Competition.
|
|
130
153
|
|
|
154
|
+
[0.9.0]: https://github.com/mudge/argon2id/releases/tag/v0.9.0
|
|
155
|
+
[0.8.0]: https://github.com/mudge/argon2id/releases/tag/v0.8.0
|
|
131
156
|
[0.8.0.rc1]: https://github.com/mudge/argon2id/releases/tag/v0.8.0.rc1
|
|
132
157
|
[0.7.0]: https://github.com/mudge/argon2id/releases/tag/v0.7.0
|
|
133
158
|
[0.6.0]: https://github.com/mudge/argon2id/releases/tag/v0.6.0
|
data/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Ruby bindings to [Argon2][], the password-hashing function that won the 2015
|
|
|
5
5
|
|
|
6
6
|
[](https://github.com/mudge/argon2id/actions)
|
|
7
7
|
|
|
8
|
-
**Current version:** 0.
|
|
8
|
+
**Current version:** 0.9.0
|
|
9
9
|
**Bundled Argon2 version:** libargon2.1 (20190702)
|
|
10
10
|
|
|
11
11
|
```ruby
|
|
@@ -257,8 +257,8 @@ User.find_by(name: "alice")&.authenticate("password") #=> user
|
|
|
257
257
|
|
|
258
258
|
This gem requires any of the following to run:
|
|
259
259
|
|
|
260
|
-
* [Ruby](https://www.ruby-lang.org/en/) 3.1 to
|
|
261
|
-
* [JRuby](https://www.jruby.org) 9.4
|
|
260
|
+
* [Ruby](https://www.ruby-lang.org/en/) 3.1 to 4.0
|
|
261
|
+
* [JRuby](https://www.jruby.org) 9.4 to 10.0
|
|
262
262
|
* [TruffleRuby](https://www.graalvm.org/ruby/) 24.1
|
|
263
263
|
|
|
264
264
|
> [!NOTE]
|
|
@@ -271,10 +271,10 @@ This gem requires any of the following to run:
|
|
|
271
271
|
Where possible, a pre-compiled native gem will be provided for the following platforms:
|
|
272
272
|
|
|
273
273
|
* Linux
|
|
274
|
-
* `aarch64-linux`, `arm-linux`, `
|
|
274
|
+
* `aarch64-linux`, `arm-linux`, `x86_64-linux` (requires [glibc](https://www.gnu.org/software/libc/) 2.29+, RubyGems 3.3.22+ and Bundler 2.3.21+)
|
|
275
275
|
* [musl](https://musl.libc.org/)-based systems such as [Alpine](https://alpinelinux.org) are supported with Bundler 2.5.6+
|
|
276
276
|
* macOS `x86_64-darwin` and `arm64-darwin`
|
|
277
|
-
* Windows `x64-mingw-ucrt`
|
|
277
|
+
* Windows 2022+ `x64-mingw-ucrt`
|
|
278
278
|
* Java: any platform running JRuby 9.4 or higher
|
|
279
279
|
|
|
280
280
|
### Verifying the gems
|
data/Rakefile
CHANGED
|
@@ -11,16 +11,12 @@ cross_platforms = %w[
|
|
|
11
11
|
arm-linux-musl
|
|
12
12
|
arm64-darwin
|
|
13
13
|
x64-mingw-ucrt
|
|
14
|
-
x64-mingw32
|
|
15
|
-
x86-linux-gnu
|
|
16
|
-
x86-linux-musl
|
|
17
|
-
x86-mingw32
|
|
18
14
|
x86_64-darwin
|
|
19
15
|
x86_64-linux-gnu
|
|
20
16
|
x86_64-linux-musl
|
|
21
17
|
].freeze
|
|
22
18
|
|
|
23
|
-
|
|
19
|
+
RakeCompilerDock.set_ruby_cc_version("~> 3.1", "~> 4.0")
|
|
24
20
|
|
|
25
21
|
gemspec = Gem::Specification.load("argon2id.gemspec")
|
|
26
22
|
|
|
@@ -31,7 +27,6 @@ namespace :java do
|
|
|
31
27
|
java_gemspec.files.reject! { |path| File.fnmatch?("ext/*", path) }
|
|
32
28
|
java_gemspec.extensions.clear
|
|
33
29
|
java_gemspec.platform = Gem::Platform.new("java")
|
|
34
|
-
java_gemspec.required_ruby_version = ">= 3.1.0"
|
|
35
30
|
|
|
36
31
|
Gem::PackageTask.new(java_gemspec).define
|
|
37
32
|
end
|
|
@@ -60,7 +55,7 @@ namespace :gem do
|
|
|
60
55
|
task platform do
|
|
61
56
|
RakeCompilerDock.sh <<~SCRIPT, platform: platform, verbose: true
|
|
62
57
|
gem install bundler --no-document &&
|
|
63
|
-
bundle &&
|
|
58
|
+
bundle install &&
|
|
64
59
|
bundle exec rake native:#{platform} pkg/#{gemspec.full_name}-#{Gem::Platform.new(platform)}.gem PATH="/usr/local/bin:$PATH"
|
|
65
60
|
SCRIPT
|
|
66
61
|
end
|
data/argon2id.gemspec
CHANGED
|
@@ -53,7 +53,7 @@ Gem::Specification.new do |s|
|
|
|
53
53
|
]
|
|
54
54
|
s.rdoc_options = ["--main", "README.md"]
|
|
55
55
|
|
|
56
|
-
s.add_development_dependency("rake-compiler", "~> 1.
|
|
57
|
-
s.add_development_dependency("rake-compiler-dock", "~> 1.
|
|
56
|
+
s.add_development_dependency("rake-compiler", "~> 1.3")
|
|
57
|
+
s.add_development_dependency("rake-compiler-dock", "~> 1.11")
|
|
58
58
|
s.add_development_dependency("minitest", "~> 5.25")
|
|
59
59
|
end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/argon2id/extension.rb
CHANGED
|
@@ -10,6 +10,7 @@ if RUBY_PLATFORM == "java"
|
|
|
10
10
|
class Password
|
|
11
11
|
def self.hash_encoded(t_cost, m_cost, parallelism, pwd, salt, hashlen)
|
|
12
12
|
raise Error, "Salt is too short" if salt.empty?
|
|
13
|
+
raise Error, "Memory cost is too small" if m_cost < 8
|
|
13
14
|
|
|
14
15
|
salt_bytes = salt.to_java_bytes
|
|
15
16
|
output = Java::byte[hashlen].new
|
data/lib/argon2id/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: argon2id
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: aarch64-linux-gnu
|
|
6
6
|
authors:
|
|
7
7
|
- Paul Mucur
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rake-compiler
|
|
@@ -16,28 +15,28 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - "~>"
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '1.
|
|
18
|
+
version: '1.3'
|
|
20
19
|
type: :development
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
23
|
- - "~>"
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '1.
|
|
25
|
+
version: '1.3'
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
27
|
name: rake-compiler-dock
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
30
29
|
requirements:
|
|
31
30
|
- - "~>"
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.
|
|
32
|
+
version: '1.11'
|
|
34
33
|
type: :development
|
|
35
34
|
prerelease: false
|
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
37
|
- - "~>"
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.
|
|
39
|
+
version: '1.11'
|
|
41
40
|
- !ruby/object:Gem::Dependency
|
|
42
41
|
name: minitest
|
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -54,7 +53,6 @@ dependencies:
|
|
|
54
53
|
version: '5.25'
|
|
55
54
|
description: Ruby bindings to Argon2, the password-hashing function that won the 2015
|
|
56
55
|
Password Hashing Competition.
|
|
57
|
-
email:
|
|
58
56
|
executables: []
|
|
59
57
|
extensions: []
|
|
60
58
|
extra_rdoc_files: []
|
|
@@ -87,6 +85,7 @@ files:
|
|
|
87
85
|
- lib/argon2id/3.2/argon2id.so
|
|
88
86
|
- lib/argon2id/3.3/argon2id.so
|
|
89
87
|
- lib/argon2id/3.4/argon2id.so
|
|
88
|
+
- lib/argon2id/4.0/argon2id.so
|
|
90
89
|
- lib/argon2id/extension.rb
|
|
91
90
|
- lib/argon2id/password.rb
|
|
92
91
|
- lib/argon2id/version.rb
|
|
@@ -102,7 +101,6 @@ metadata:
|
|
|
102
101
|
homepage_uri: https://github.com/mudge/argon2id
|
|
103
102
|
source_code_uri: https://github.com/mudge/argon2id
|
|
104
103
|
rubygems_mfa_required: 'true'
|
|
105
|
-
post_install_message:
|
|
106
104
|
rdoc_options:
|
|
107
105
|
- "--main"
|
|
108
106
|
- README.md
|
|
@@ -115,18 +113,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
115
113
|
version: '3.1'
|
|
116
114
|
- - "<"
|
|
117
115
|
- !ruby/object:Gem::Version
|
|
118
|
-
version:
|
|
116
|
+
version: 4.1.dev
|
|
119
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
118
|
requirements:
|
|
121
|
-
- - ">"
|
|
122
|
-
- !ruby/object:Gem::Version
|
|
123
|
-
version: 1.3.1
|
|
124
119
|
- - ">="
|
|
125
120
|
- !ruby/object:Gem::Version
|
|
126
121
|
version: 3.3.22
|
|
127
122
|
requirements: []
|
|
128
|
-
rubygems_version:
|
|
129
|
-
signing_key:
|
|
123
|
+
rubygems_version: 4.0.3
|
|
130
124
|
specification_version: 4
|
|
131
125
|
summary: Ruby bindings to Argon2
|
|
132
126
|
test_files: []
|