bcrypt_pbkdf 1.1.0.rc1-x86-mingw32 → 1.1.0.rc2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2eb91610c673b9c886c0bace8bf5bc294e20035c0675e87052fd1b6bea2aef84
4
- data.tar.gz: fac5558abd9e1f815aa5ed7b753475797085475c1fccc110206c0580fb0bf0d9
3
+ metadata.gz: 487b201b39f11a9b727049130178a64b547d616a0365c1f957573a7ba391ccd6
4
+ data.tar.gz: 325f0ac86cbd9a0443ef96ba7c6a8d999297caa76c1c4a51ef13c7378fb757bf
5
5
  SHA512:
6
- metadata.gz: 7320265f1030adc48f05207ac9885e23286b09c9d06f6256e85d7ce45c0154b641c942a85ced9707db902357fd7d637be4f8c06b1eb744ab832e167276b93ed3
7
- data.tar.gz: cfd06b7674ad26e8a3d4224ec909cfc16c3ae764e6c622c2184ff9e73b80cfa313040a3a4a92d3e165e59196eb99668991db0a6149ac0924bfe4af6afc5f8c01
6
+ metadata.gz: 75bf8dcffca16b731fc974819a5104eaa5afd02be3ca972ab2916d4d80e11005118caf833333fcd10a4ca08f5af9640d42ac681b91073e50a3c9aaf2a12090ae
7
+ data.tar.gz: 2e29f746356ee76f365551b0b50faf17c46251684dddea1f478ac4c03cdc160f320b00270f384ba69b121e56a48833977687ec4594269efb387772374a609ac0
@@ -1,4 +1,7 @@
1
1
  language: ruby
2
+ arch:
3
+ - amd64
4
+ - ppc64le
2
5
  rvm:
3
6
  - 2.3.0
4
7
  - 2.4.0
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # bcrypt_pdkfd-ruby
1
+ # bcrypt_pbkdf-ruby
2
2
 
3
- bcrypt_pdkfd is a ruby gem implementing bcrypt_pdkfd from OpenBSD. This is currently used by net-ssh to read password encrypted Ed25519 keys.
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
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'bcrypt_pbkdf'
3
- s.version = '1.1.0.rc1'
3
+ s.version = '1.1.0.rc2'
4
4
 
5
- s.summary = "OpenBSD's bcrypt_pdkfd (a variant of PBKDF2 with bcrypt-based PRF)"
5
+ s.summary = "OpenBSD's bcrypt_pbkdf (a variant of PBKDF2 with bcrypt-based PRF)"
6
6
  s.description = <<-EOF
7
- This gem implements bcrypt_pdkfd (a variant of PBKDF2 with bcrypt-based PRF)
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")
@@ -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(keylen);
11
+ u_int8_t* okey = xmalloc(okeylen);
12
12
  VALUE out;
13
13
 
14
14
  int ret = bcrypt_pbkdf(
@@ -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
 
Binary file
Binary file
Binary file
Binary file
Binary file
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.rc1
4
+ version: 1.1.0.rc2
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Miklos Fazekas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-11 00:00:00.000000000 Z
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 bcrypt_pdkfd (a variant of PBKDF2 with bcrypt-based
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: 2.8.dev
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 bcrypt_pdkfd (a variant of PBKDF2 with bcrypt-based PRF)
154
+ summary: OpenBSD's bcrypt_pbkdf (a variant of PBKDF2 with bcrypt-based PRF)
155
155
  test_files: []