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 +4 -4
- data/lib/noise/protocol.rb +2 -0
- data/lib/noise/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5b9a60ad373cac4331e555d8372ea83ddfa64c0
|
4
|
+
data.tar.gz: 23eba0e2151a9c9515654cc6f864120e8db6bf51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f618a4552c53fc5134d5acb82737e0b4764707f5e78544b2433993fed3a13c842b7cdbe7d1f3031e17a6f49d73265f67912f1b1170cf546563850d29036e206
|
7
|
+
data.tar.gz: e186f84ae901a3aa3a4cac973785ba3fa7c4779009b457e0a2ea69d8b59753e53e4ee9c62c973bdddc5adf4116b91a01c69399b96a58af5061e9ac831cdaa833
|
data/lib/noise/protocol.rb
CHANGED
@@ -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
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.
|
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-
|
11
|
+
date: 2018-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|