unix-crypt 1.3.0 → 1.3.2
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 +5 -5
- data/lib/unix_crypt/base.rb +1 -1
- data/lib/unix_crypt/command_line.rb +1 -0
- data/lib/unix_crypt.rb +1 -1
- data/test/unix_crypt/test_command_line.rb +1 -1
- data/unix-crypt.gemspec +4 -4
- metadata +13 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 2b167e38d22a0c6ecb2d44f6e94b1a94e181178481845c8534c6633d1fb35de1
|
|
4
|
+
data.tar.gz: c45a32d89cf6c40fda9c1a17de5d59af1ca20ac690a326860a1b84aefaf5adde
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd4a868f21f957f44f86273e1deaf91e153d0e73268926df0a51e1486e5010973dd2c64ece5138d99a702e9893f231f3e9a96aa36476c7dee5b82c50ba73ca79
|
|
7
|
+
data.tar.gz: 6bf87c6320bd99bee8700abb1d82d4ea2f42c103b4b617afa91fa3bce84b293f65b6bf4bf9fdd467d599528305f6ec66fd0b06ed4a2dd02892019c4bcf43a7b6
|
data/lib/unix_crypt/base.rb
CHANGED
|
@@ -26,7 +26,7 @@ class UnixCrypt::Base
|
|
|
26
26
|
def self.bit_specified_base64encode(input)
|
|
27
27
|
b64 = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
|
28
28
|
input = input.bytes.to_a
|
|
29
|
-
output = ""
|
|
29
|
+
output = +""
|
|
30
30
|
byte_indexes.each do |i3, i2, i1|
|
|
31
31
|
b1, b2, b3 = i1 && input[i1] || 0, i2 && input[i2] || 0, i3 && input[i3] || 0
|
|
32
32
|
output <<
|
data/lib/unix_crypt.rb
CHANGED
data/unix-crypt.gemspec
CHANGED
|
@@ -12,9 +12,9 @@ spec = Gem::Specification.new do |s|
|
|
|
12
12
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
|
13
13
|
s.executables = ["mkunixcrypt"]
|
|
14
14
|
s.require_path = 'lib'
|
|
15
|
-
s.
|
|
16
|
-
s.
|
|
17
|
-
s.email = "roger@seriousorange.com"
|
|
15
|
+
s.author = "Mog Nesbitt"
|
|
16
|
+
s.email = "mog@seriousorange.com"
|
|
18
17
|
s.homepage = "https://github.com/mogest/unix-crypt"
|
|
19
|
-
s.license = "
|
|
18
|
+
s.license = "0BSD"
|
|
19
|
+
s.required_ruby_version = '>= 2.3'
|
|
20
20
|
end
|
metadata
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: unix-crypt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
8
|
-
autorequire:
|
|
7
|
+
- Mog Nesbitt
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-03-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Performs the UNIX crypt(3) algorithm using DES (standard 13 character
|
|
14
14
|
passwords), MD5 (starting with $1$), SHA256 (starting with $5$) and SHA512 (starting
|
|
15
15
|
with $6$)
|
|
16
|
-
email:
|
|
16
|
+
email: mog@seriousorange.com
|
|
17
17
|
executables:
|
|
18
18
|
- mkunixcrypt
|
|
19
19
|
extensions: []
|
|
20
20
|
extra_rdoc_files: []
|
|
21
21
|
files:
|
|
22
|
-
- .gitignore
|
|
22
|
+
- ".gitignore"
|
|
23
23
|
- LICENSE
|
|
24
24
|
- README.rdoc
|
|
25
25
|
- Rakefile
|
|
@@ -35,26 +35,25 @@ files:
|
|
|
35
35
|
- unix-crypt.gemspec
|
|
36
36
|
homepage: https://github.com/mogest/unix-crypt
|
|
37
37
|
licenses:
|
|
38
|
-
-
|
|
38
|
+
- 0BSD
|
|
39
39
|
metadata: {}
|
|
40
|
-
post_install_message:
|
|
40
|
+
post_install_message:
|
|
41
41
|
rdoc_options: []
|
|
42
42
|
require_paths:
|
|
43
43
|
- lib
|
|
44
44
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
45
45
|
requirements:
|
|
46
|
-
- -
|
|
46
|
+
- - ">="
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: '
|
|
48
|
+
version: '2.3'
|
|
49
49
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
|
-
- -
|
|
51
|
+
- - ">="
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: '0'
|
|
54
54
|
requirements: []
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
signing_key:
|
|
55
|
+
rubygems_version: 3.5.22
|
|
56
|
+
signing_key:
|
|
58
57
|
specification_version: 4
|
|
59
58
|
summary: Performs the UNIX crypt(3) algorithm using DES, MD5, SHA256 or SHA512
|
|
60
59
|
test_files:
|