noise-ruby 0.5.2 → 0.5.3

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
  SHA1:
3
- metadata.gz: 51f37ab3100a6a9eee87e14af8968b954f24e8f8
4
- data.tar.gz: 56f22c1cacfdafb500bf3fd33e3b994691d47dab
3
+ metadata.gz: e5b9a60ad373cac4331e555d8372ea83ddfa64c0
4
+ data.tar.gz: 23eba0e2151a9c9515654cc6f864120e8db6bf51
5
5
  SHA512:
6
- metadata.gz: b4b3d5e8439776598eb70f76e9c89f9ba8b544c7a32580b23da5710aaf3067671b9caa0a5833fc11c0ec00fa23f90191dd02e23a835c2b593b50942ef67141b2
7
- data.tar.gz: 41ef87a98e5132e0dbac654a4bd5da28efa4093f90aee04088cb798e14af75bbe5daf2bfd2dac3045de66c531911fc24037c854dc923ce6b81c90a00d0ed7bfe
6
+ metadata.gz: 3f618a4552c53fc5134d5acb82737e0b4764707f5e78544b2433993fed3a13c842b7cdbe7d1f3031e17a6f49d73265f67912f1b1170cf546563850d29036e206
7
+ data.tar.gz: e186f84ae901a3aa3a4cac973785ba3fa7c4779009b457e0a2ea69d8b59753e53e4ee9c62c973bdddc5adf4116b91a01c69399b96a58af5061e9ac831cdaa833
@@ -9,6 +9,7 @@ module Noise
9
9
  attr_reader :name, :cipher_fn, :hash_fn, :dh_fn, :hkdf_fn, :pattern
10
10
  attr_reader :handshake_state, :keypairs, :keypair_fn
11
11
  attr_reader :handshake_hash
12
+ attr_accessor :ck
12
13
 
13
14
  CIPHER = {
14
15
  'AESGCM': Noise::Functions::Cipher::AesGcm,
@@ -66,6 +67,7 @@ module Noise
66
67
  @keypairs = @handshake_state.keypairs
67
68
 
68
69
  @handshake_state = nil
70
+ @ck = @symmetric_state.ck
69
71
  @symmetric_state = nil
70
72
  @cipher_state_handshake = nil
71
73
  @prologue = nil
data/lib/noise/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Noise
4
- VERSION = '0.5.2'
4
+ VERSION = '0.5.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noise-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hajime Yamaguchi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-05 00:00:00.000000000 Z
11
+ date: 2018-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler