net-ssh 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGES.txt +10 -1
- data/lib/net/ssh/transport/algorithms.rb +4 -3
- data/lib/net/ssh/transport/packet_stream.rb +3 -1
- data/lib/net/ssh/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cc1432c4de3e73664584e030b5afdb9d2f48518de8e56f275a1550c4bce6834
|
4
|
+
data.tar.gz: c6212df63e3018f8f97cd231101e7b1754fe6fdc5ff4970704069ebf40c9f62c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c44edd812bb538f3ef63491e413c4750d2745a3cc13075dab44e7a86fcd5326b072c908fb84d374bfa56cb06d033e2e83462774b0500a7046ce7d523e980e0f
|
7
|
+
data.tar.gz: acd87825d5584f0751595d94020d8aa99f9096deb6015285c1e3376c8957cb88335b3892e76d3af0354031b471f7de90f4ee55e64ac9197db017b0724deba2c3
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGES.txt
CHANGED
@@ -1,5 +1,14 @@
|
|
1
|
+
=== 6.0.1
|
2
|
+
|
3
|
+
* Make sha2-{256,512}-etm@openssh.com MAC opt-in as they seems to have issues [#757]
|
4
|
+
|
5
|
+
=== 6.0.0
|
6
|
+
|
7
|
+
* Support empty lines and comments in known_hosts [donoghuc, #742]
|
8
|
+
* Add sha2-{256,512}-etm@openssh.com MAC algorithms [graaff, #714]
|
9
|
+
|
1
10
|
=== 6.0.0 beta2
|
2
|
-
|
11
|
+
|
3
12
|
* Support :certkeys and CertificateFile configuration option [Anders Carling, #722]
|
4
13
|
|
5
14
|
=== 6.0.0 beta1
|
@@ -43,8 +43,7 @@ module Net
|
|
43
43
|
|
44
44
|
encryption: %w[aes256-ctr aes192-ctr aes128-ctr],
|
45
45
|
|
46
|
-
hmac: %w[hmac-sha2-512
|
47
|
-
hmac-sha2-512 hmac-sha2-256
|
46
|
+
hmac: %w[hmac-sha2-512 hmac-sha2-256
|
48
47
|
hmac-sha1]
|
49
48
|
}.freeze
|
50
49
|
|
@@ -84,7 +83,9 @@ module Net
|
|
84
83
|
hmac-sha1-96
|
85
84
|
hmac-ripemd160 hmac-ripemd160@openssh.com
|
86
85
|
hmac-md5 hmac-md5-96
|
87
|
-
none]
|
86
|
+
none] +
|
87
|
+
%w[hmac-sha2-256-etm@openssh.com
|
88
|
+
hmac-sha2-512-etm@openssh.com],
|
88
89
|
|
89
90
|
compression: %w[none zlib@openssh.com zlib],
|
90
91
|
language: %w[]
|
@@ -215,6 +215,7 @@ module Net
|
|
215
215
|
# read, post-processed according to the cipher, hmac, and compression
|
216
216
|
# algorithms specified in the server state object, and returned as a
|
217
217
|
# new Packet object.
|
218
|
+
# rubocop:disable Metrics/AbcSize
|
218
219
|
def poll_next_packet
|
219
220
|
aad_length = server.hmac.etm ? 4 : 0
|
220
221
|
|
@@ -260,7 +261,7 @@ module Net
|
|
260
261
|
else
|
261
262
|
server.hmac.digest([server.sequence_number, @packet.content].pack("NA*"))
|
262
263
|
end
|
263
|
-
raise Net::SSH::Exception, "corrupted hmac detected" if real_hmac != my_computed_hmac
|
264
|
+
raise Net::SSH::Exception, "corrupted hmac detected #{server.hmac.class}" if real_hmac != my_computed_hmac
|
264
265
|
|
265
266
|
# try to decompress the payload, in case compression is active
|
266
267
|
payload = server.decompress(payload)
|
@@ -273,6 +274,7 @@ module Net
|
|
273
274
|
return Packet.new(payload)
|
274
275
|
end
|
275
276
|
end
|
277
|
+
# rubocop:enable Metrics/AbcSize
|
276
278
|
|
277
279
|
end
|
278
280
|
end
|
data/lib/net/ssh/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-ssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamis Buck
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
voajiJNS75Pw/2j13WnPB4Q6w7dHSb57E/VluBpVKmcQZN0dGdAkEIVty3v7kw9g
|
32
32
|
y++VpCpWM/PstIFv4ApZMf501UY=
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2020-04-
|
34
|
+
date: 2020-04-24 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bcrypt_pbkdf
|
metadata.gz.sig
CHANGED
Binary file
|