xcrypt 0.1.1 → 0.2.0
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/Rakefile +4 -100
- data/ext/libxcrypt/build-aux/m4/libtool.m4 +8488 -0
- data/ext/libxcrypt/build-aux/m4/ltoptions.m4 +467 -0
- data/ext/libxcrypt/build-aux/m4/ltsugar.m4 +124 -0
- data/ext/libxcrypt/build-aux/m4/ltversion.m4 +24 -0
- data/ext/libxcrypt/build-aux/m4/lt~obsolete.m4 +99 -0
- data/lib/xcrypt/ffi.rb +12 -8
- data/lib/xcrypt/version.rb +1 -1
- data/lib/xcrypt/yescrypt.rb +219 -0
- data/lib/xcrypt.rb +223 -6
- metadata +16 -11
- data/ext/xcrypt/xcrypt.c +0 -9
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xcrypt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Konstantin Haase
|
|
@@ -24,33 +24,33 @@ dependencies:
|
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
25
|
version: '1.0'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
|
-
name:
|
|
27
|
+
name: rake
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - "~>"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '
|
|
32
|
+
version: '13.0'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '
|
|
39
|
+
version: '13.0'
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
|
-
name: rake
|
|
41
|
+
name: rake-compiler-dock
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
|
-
- - "
|
|
44
|
+
- - ">="
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: '
|
|
47
|
-
type: :
|
|
46
|
+
version: '0'
|
|
47
|
+
type: :development
|
|
48
48
|
prerelease: false
|
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
|
-
- - "
|
|
51
|
+
- - ">="
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '
|
|
53
|
+
version: '0'
|
|
54
54
|
description: |
|
|
55
55
|
Ruby FFI bindings for libxcrypt, a modern library for one-way hashing of
|
|
56
56
|
passwords. Supports yescrypt, bcrypt, SHA-512, SHA-256, and other
|
|
@@ -79,6 +79,11 @@ files:
|
|
|
79
79
|
- ext/libxcrypt/build-aux/m4/ax_gcc_func_attribute.m4
|
|
80
80
|
- ext/libxcrypt/build-aux/m4/ax_require_defined.m4
|
|
81
81
|
- ext/libxcrypt/build-aux/m4/ax_valgrind_check.m4
|
|
82
|
+
- ext/libxcrypt/build-aux/m4/libtool.m4
|
|
83
|
+
- ext/libxcrypt/build-aux/m4/ltoptions.m4
|
|
84
|
+
- ext/libxcrypt/build-aux/m4/ltsugar.m4
|
|
85
|
+
- ext/libxcrypt/build-aux/m4/ltversion.m4
|
|
86
|
+
- ext/libxcrypt/build-aux/m4/lt~obsolete.m4
|
|
82
87
|
- ext/libxcrypt/build-aux/m4/pkg_compat.m4
|
|
83
88
|
- ext/libxcrypt/build-aux/m4/zw_alignment.m4
|
|
84
89
|
- ext/libxcrypt/build-aux/m4/zw_automodern.m4
|
|
@@ -216,10 +221,10 @@ files:
|
|
|
216
221
|
- ext/libxcrypt/test/symbols-compat.pl
|
|
217
222
|
- ext/libxcrypt/test/symbols-renames.pl
|
|
218
223
|
- ext/libxcrypt/test/symbols-static.pl
|
|
219
|
-
- ext/xcrypt/xcrypt.c
|
|
220
224
|
- lib/xcrypt.rb
|
|
221
225
|
- lib/xcrypt/ffi.rb
|
|
222
226
|
- lib/xcrypt/version.rb
|
|
227
|
+
- lib/xcrypt/yescrypt.rb
|
|
223
228
|
homepage: https://github.com/rkh/ruby-xcrypt
|
|
224
229
|
licenses:
|
|
225
230
|
- MIT
|
data/ext/xcrypt/xcrypt.c
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* xcrypt.c — compilation stub for ffi-compiler.
|
|
3
|
-
*
|
|
4
|
-
* The actual implementation lives in libxcrypt (ext/libxcrypt), which is
|
|
5
|
-
* linked statically into this shared library at build time. Ruby code
|
|
6
|
-
* reaches the libxcrypt API through Ruby-FFI (see lib/xcrypt/ffi.rb); no
|
|
7
|
-
* wrapper functions are needed here.
|
|
8
|
-
*/
|
|
9
|
-
#include "crypt.h"
|