bcrypt_pbkdf 1.1.0.rc1-x64-mingw32 → 1.1.0.rc2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/README.md +2 -2
- data/Rakefile +2 -1
- data/bcrypt_pbkdf.gemspec +3 -3
- data/ext/mri/bcrypt_pbkdf_ext.c +1 -1
- data/ext/mri/sha2.h +3 -3
- data/lib/2.2/bcrypt_pbkdf_ext.so +0 -0
- data/lib/2.3/bcrypt_pbkdf_ext.so +0 -0
- data/lib/2.4/bcrypt_pbkdf_ext.so +0 -0
- data/lib/2.5/bcrypt_pbkdf_ext.so +0 -0
- data/lib/2.6/bcrypt_pbkdf_ext.so +0 -0
- data/lib/2.7/bcrypt_pbkdf_ext.so +0 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddaae9261a797a15decaf38133ed431a2c5690f72273dc6341abe5e7ad4aca30
|
4
|
+
data.tar.gz: e004e877b338a26063f49453265d8ccda9040953ecaecb1e2bf2b7bc254100f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fc3368fbf298cb61b5e9187a834838ec8b39cceffb5420e0fc78e7d1f5cc9862d11d99cbff13b71fe67a0a4f7c6baa0e189154538901010eb9082f7fc52054a
|
7
|
+
data.tar.gz: 61437231f5b1d7dc3f11ea6d18e00937c9004a6b44dde0857a7383ff295094b338d14e14829d1bb2832d07135a898c87b2d5827b036a29703552c423d18e67b7
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# bcrypt_pbkdf-ruby
|
2
2
|
|
3
|
-
|
3
|
+
bcrypt_pbkdf is a ruby gem implementing bcrypt_pbkdf from OpenBSD. This is currently used by net-ssh to read password encrypted Ed25519 keys.
|
4
4
|
|
5
5
|
[![Build Status](https://travis-ci.org/mfazekas/bcrypt_pbkdf-ruby.png?branch=master)](https://travis-ci.org/mfazekas/bcrypt_pbkdf-ruby)
|
6
6
|
|
data/Rakefile
CHANGED
@@ -17,6 +17,7 @@ CLEAN.include(
|
|
17
17
|
"lib/2.5",
|
18
18
|
"lib/2.6",
|
19
19
|
"lib/2.7",
|
20
|
+
"lib/3.0",
|
20
21
|
"lib/bcrypt_pbkdf_ext.so"
|
21
22
|
)
|
22
23
|
CLOBBER.include(
|
@@ -27,7 +28,7 @@ CLOBBER.include(
|
|
27
28
|
task 'gem:windows' do
|
28
29
|
require 'rake_compiler_dock'
|
29
30
|
sh "bundle package" # Avoid repeated downloads of gems by using gem files from the host.
|
30
|
-
RakeCompilerDock.sh "bundle && rake cross native gem RUBY_CC_VERSION=2.7.0:2.6.0:2.5.0:2.4.0:2.3.0:2.2.2:2.1.6:2.0.0"
|
31
|
+
RakeCompilerDock.sh "bundle && rake cross native gem RUBY_CC_VERSION=3.0.0:2.7.0:2.6.0:2.5.0:2.4.0:2.3.0:2.2.2:2.1.6:2.0.0"
|
31
32
|
end
|
32
33
|
|
33
34
|
task 'gem:windows:release' do
|
data/bcrypt_pbkdf.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'bcrypt_pbkdf'
|
3
|
-
s.version = '1.1.0.
|
3
|
+
s.version = '1.1.0.rc2'
|
4
4
|
|
5
|
-
s.summary = "OpenBSD's
|
5
|
+
s.summary = "OpenBSD's bcrypt_pbkdf (a variant of PBKDF2 with bcrypt-based PRF)"
|
6
6
|
s.description = <<-EOF
|
7
|
-
This gem implements
|
7
|
+
This gem implements bcrypt_pbkdf (a variant of PBKDF2 with bcrypt-based PRF)
|
8
8
|
EOF
|
9
9
|
|
10
10
|
s.files = `git ls-files`.split("\n")
|
data/ext/mri/bcrypt_pbkdf_ext.c
CHANGED
@@ -8,7 +8,7 @@ static VALUE cBCryptPbkdfEngine;
|
|
8
8
|
*/
|
9
9
|
static VALUE bc_crypt_pbkdf(VALUE self, VALUE pass, VALUE salt, VALUE keylen, VALUE rounds) {
|
10
10
|
size_t okeylen = NUM2ULONG(keylen);
|
11
|
-
u_int8_t* okey = xmalloc(
|
11
|
+
u_int8_t* okey = xmalloc(okeylen);
|
12
12
|
VALUE out;
|
13
13
|
|
14
14
|
int ret = bcrypt_pbkdf(
|
data/ext/mri/sha2.h
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
#endif
|
8
8
|
#define SHA512_DIGEST_LENGTH crypto_hash_sha512_BYTES
|
9
9
|
|
10
|
-
inline void SHA512Init(SHA2_CTX* ctx) { crypto_hash_sha512_init(ctx); }
|
11
|
-
inline void SHA512Update(SHA2_CTX* ctx, const void *in, size_t inlen) { crypto_hash_sha512_update(ctx, in, inlen); }
|
12
|
-
inline void SHA512Final(uint8_t* out, SHA2_CTX* ctx) { crypto_hash_sha512_final(ctx, out); }
|
10
|
+
inline static void SHA512Init(SHA2_CTX* ctx) { crypto_hash_sha512_init(ctx); }
|
11
|
+
inline static void SHA512Update(SHA2_CTX* ctx, const void *in, size_t inlen) { crypto_hash_sha512_update(ctx, in, inlen); }
|
12
|
+
inline static void SHA512Final(uint8_t* out, SHA2_CTX* ctx) { crypto_hash_sha512_final(ctx, out); }
|
13
13
|
|
data/lib/2.2/bcrypt_pbkdf_ext.so
CHANGED
Binary file
|
data/lib/2.3/bcrypt_pbkdf_ext.so
CHANGED
Binary file
|
data/lib/2.4/bcrypt_pbkdf_ext.so
CHANGED
Binary file
|
data/lib/2.5/bcrypt_pbkdf_ext.so
CHANGED
Binary file
|
data/lib/2.6/bcrypt_pbkdf_ext.so
CHANGED
Binary file
|
data/lib/2.7/bcrypt_pbkdf_ext.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bcrypt_pbkdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.
|
4
|
+
version: 1.1.0.rc2
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Miklos Fazekas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 1.0.1
|
83
|
-
description: " This gem implements
|
83
|
+
description: " This gem implements bcrypt_pbkdf (a variant of PBKDF2 with bcrypt-based
|
84
84
|
PRF)\n"
|
85
85
|
email: mfazekas@szemafor.com
|
86
86
|
executables: []
|
@@ -141,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '2.0'
|
142
142
|
- - "<"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
144
|
+
version: 3.1.dev
|
145
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
147
|
- - ">"
|
@@ -151,5 +151,5 @@ requirements: []
|
|
151
151
|
rubygems_version: 3.1.2
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
|
-
summary: OpenBSD's
|
154
|
+
summary: OpenBSD's bcrypt_pbkdf (a variant of PBKDF2 with bcrypt-based PRF)
|
155
155
|
test_files: []
|