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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab23842cd40d69a51086b669d19b36105d73126a262072ff855e306faf5bf9b1
4
- data.tar.gz: 69da3202a5f63558dc93bad91e4575c8e4955fda607c181d267ef7e6cea994fa
3
+ metadata.gz: ddaae9261a797a15decaf38133ed431a2c5690f72273dc6341abe5e7ad4aca30
4
+ data.tar.gz: e004e877b338a26063f49453265d8ccda9040953ecaecb1e2bf2b7bc254100f9
5
5
  SHA512:
6
- metadata.gz: e52bdecd89d2961e80f8dc412ea5ba08953b29fa238b818e1cc5a0ea6b9bdea3bc8f60e6006d6664800184d2998010fc2982a2c9c405c86af3b4fd0f62d1530e
7
- data.tar.gz: 2d3f5c3746d5f4e0721bba88a7956cacd0fae4640ba870612289c7381d346d3e6c55c4f322951b71a60f8c5368c2b363724949165b0945de6b5cd2a46db38591
6
+ metadata.gz: 2fc3368fbf298cb61b5e9187a834838ec8b39cceffb5420e0fc78e7d1f5cc9862d11d99cbff13b71fe67a0a4f7c6baa0e189154538901010eb9082f7fc52054a
7
+ data.tar.gz: 61437231f5b1d7dc3f11ea6d18e00937c9004a6b44dde0857a7383ff295094b338d14e14829d1bb2832d07135a898c87b2d5827b036a29703552c423d18e67b7
@@ -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: x64-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: []