noise-ruby 0.5.0 → 0.5.1
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/state/handshake_state.rb +5 -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: a3af440ccbf17d1f1473ce067d4fda18ba52b49f
|
4
|
+
data.tar.gz: 923021236e6f85f11fd1464379df4ac955aa08f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9904c5f4ae81300c198ae9617a08b480be783084aacc33b2c60c77859b4254c278a19a68f4e13ab61688c3f8070ad1e43eb2387b538ddac421407c019ffbd3f1
|
7
|
+
data.tar.gz: cd7fb07ded8b862c4bd67431e74a8a0c893c877a6690c050096fb4d40e2ce4e65b06540c9f6e91f224bb40f19a04113aa8c2a9c4c474029e93ef28d79292e39b
|
data/lib/noise/protocol.rb
CHANGED
@@ -143,6 +143,11 @@ module Noise
|
|
143
143
|
payload_buffer << @symmetric_state.decrypt_and_hash(message)
|
144
144
|
@symmetric_state.split if @message_patterns.empty?
|
145
145
|
end
|
146
|
+
|
147
|
+
# no need for ephemeral keys after handshake has completed.
|
148
|
+
def keypairs
|
149
|
+
{ s: @s, rs: @rs }
|
150
|
+
end
|
146
151
|
end
|
147
152
|
end
|
148
153
|
end
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hajime Yamaguchi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|