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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 963b93f32673d9b553ebc06129b1882e11c4462ab271625cc086e5a6bb8094d5
4
- data.tar.gz: 289abcb23e1e051acd2be9e96818d7044baaea9df09098fdeaef4db58e18a430
3
+ metadata.gz: 4cc1432c4de3e73664584e030b5afdb9d2f48518de8e56f275a1550c4bce6834
4
+ data.tar.gz: c6212df63e3018f8f97cd231101e7b1754fe6fdc5ff4970704069ebf40c9f62c
5
5
  SHA512:
6
- metadata.gz: 463991f4ec08d77186bfb197d65ab9359241cc82287ec4ee166176662683b3b6bf451dfa49bada27096769c953ce39d594dc6ae23d0c3b9645708ce5bf4a58f0
7
- data.tar.gz: f1d75930f1337e95992049d5c302a9c6a95084a2c61f8feb9fff4aec48f17eb5ceb02eb48cb4458d09047d9d216f39ac78825ce7bc222eb9a0dd665d6f3e85b2
6
+ metadata.gz: 2c44edd812bb538f3ef63491e413c4750d2745a3cc13075dab44e7a86fcd5326b072c908fb84d374bfa56cb06d033e2e83462774b0500a7046ce7d523e980e0f
7
+ data.tar.gz: acd87825d5584f0751595d94020d8aa99f9096deb6015285c1e3376c8957cb88335b3892e76d3af0354031b471f7de90f4ee55e64ac9197db017b0724deba2c3
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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-etm@openssh.com hmac-sha2-256-etm@openssh.com
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
@@ -52,7 +52,7 @@ module Net
52
52
  MINOR = 0
53
53
 
54
54
  # The tiny component of this version of the Net::SSH library
55
- TINY = 0
55
+ TINY = 1
56
56
 
57
57
  # The prerelease component of this version of the Net::SSH library
58
58
  # nil allowed
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.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-20 00:00:00.000000000 Z
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