net-ssh 7.3.6 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.github/pull_request_template.md +1 -0
- data/.github/workflows/changelog.yml +43 -0
- data/.github/workflows/ci-with-docker.yml +0 -3
- data/.github/workflows/ci.yml +2 -17
- data/.github/workflows/rubocop.yml +3 -1
- data/.rubocop.yml +1 -1
- data/.rubocop_todo.yml +1 -0
- data/CHANGES.txt +73 -7
- data/CONTRIBUTING.md +35 -0
- data/Dockerfile +3 -3
- data/Dockerfile.openssl3 +1 -1
- data/Dockerfile.zlib_ng +1 -1
- data/README.md +71 -57
- data/Rakefile +66 -12
- data/appveyor.yml +4 -16
- data/changelog.d/README.md +1 -0
- data/docker-compose.yml +1 -7
- data/lib/net/ssh/authentication/agent.rb +35 -11
- data/lib/net/ssh/authentication/ed25519.rb +137 -44
- data/lib/net/ssh/authentication/ed25519_loader.rb +14 -9
- data/lib/net/ssh/authentication/key_manager.rb +22 -11
- data/lib/net/ssh/authentication/methods/abstract.rb +2 -8
- data/lib/net/ssh/authentication/methods/publickey.rb +3 -1
- data/lib/net/ssh/authentication/security_key.rb +71 -0
- data/lib/net/ssh/authentication/session.rb +29 -17
- data/lib/net/ssh/buffer.rb +6 -1
- data/lib/net/ssh/buffered_io.rb +40 -3
- data/lib/net/ssh/config.rb +28 -12
- data/lib/net/ssh/connection/channel.rb +49 -2
- data/lib/net/ssh/connection/session.rb +58 -8
- data/lib/net/ssh/errors.rb +24 -6
- data/lib/net/ssh/key_factory.rb +7 -1
- data/lib/net/ssh/known_hosts.rb +18 -8
- data/lib/net/ssh/multiplex/client.rb +162 -0
- data/lib/net/ssh/multiplex/control_path.rb +120 -0
- data/lib/net/ssh/multiplex/proxy_transport.rb +218 -0
- data/lib/net/ssh/multiplex.rb +130 -0
- data/lib/net/ssh/prompt.rb +3 -3
- data/lib/net/ssh/proxy/jump.rb +40 -2
- data/lib/net/ssh/service/forward.rb +29 -24
- data/lib/net/ssh/test.rb +2 -1
- data/lib/net/ssh/transport/algorithms.rb +88 -33
- data/lib/net/ssh/transport/chacha20_poly1305_cipher.rb +89 -16
- data/lib/net/ssh/transport/chacha20_poly1305_cipher_loader.rb +20 -1
- data/lib/net/ssh/transport/cipher_factory.rb +23 -1
- data/lib/net/ssh/transport/constants.rb +1 -0
- data/lib/net/ssh/transport/gcm_cipher.rb +27 -6
- data/lib/net/ssh/transport/hmac/sha1_etm.rb +12 -0
- data/lib/net/ssh/transport/hmac.rb +2 -0
- data/lib/net/ssh/transport/kex/curve25519_sha256.rb +41 -9
- data/lib/net/ssh/transport/kex/curve25519_sha256_loader.rb +14 -6
- data/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb +8 -0
- data/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb +45 -15
- data/lib/net/ssh/transport/openssl.rb +2 -1
- data/lib/net/ssh/transport/packet_stream.rb +12 -0
- data/lib/net/ssh/transport/session.rb +41 -44
- data/lib/net/ssh/verifiers/always.rb +0 -3
- data/lib/net/ssh/version.rb +3 -3
- data/lib/net/ssh.rb +139 -57
- data/net-ssh.gemspec +5 -8
- data/rakelib/changelog.rb +229 -0
- data.tar.gz.sig +0 -0
- metadata +37 -36
- metadata.gz.sig +0 -0
- data/Gemfile.noed25519 +0 -12
- data/Gemfile.norbnacl +0 -12
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:
|
|
4
|
+
version: 8.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jamis Buck
|
|
@@ -32,64 +32,50 @@ cert_chain:
|
|
|
32
32
|
ufHf4AX2UIkJbh7zCPkiNCqIr7MSWLNFG/9lOlHYsEJM8XujT1ofPobYx6YSFx/C
|
|
33
33
|
7HBrI7UX7awt6UvBZebhcHzyMHxg/B5PVQllPA==
|
|
34
34
|
-----END CERTIFICATE-----
|
|
35
|
-
date: 2026-10-
|
|
35
|
+
date: 2026-10-21 00:00:00.000000000 Z
|
|
36
36
|
dependencies:
|
|
37
37
|
- !ruby/object:Gem::Dependency
|
|
38
|
-
name:
|
|
38
|
+
name: logger
|
|
39
39
|
requirement: !ruby/object:Gem::Requirement
|
|
40
40
|
requirements:
|
|
41
|
-
- - "
|
|
42
|
-
- !ruby/object:Gem::Version
|
|
43
|
-
version: '1.0'
|
|
44
|
-
type: :development
|
|
45
|
-
prerelease: false
|
|
46
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
47
|
-
requirements:
|
|
48
|
-
- - "~>"
|
|
49
|
-
- !ruby/object:Gem::Version
|
|
50
|
-
version: '1.0'
|
|
51
|
-
- !ruby/object:Gem::Dependency
|
|
52
|
-
name: ed25519
|
|
53
|
-
requirement: !ruby/object:Gem::Requirement
|
|
54
|
-
requirements:
|
|
55
|
-
- - "~>"
|
|
41
|
+
- - ">="
|
|
56
42
|
- !ruby/object:Gem::Version
|
|
57
|
-
version: '
|
|
58
|
-
type: :
|
|
43
|
+
version: '0'
|
|
44
|
+
type: :runtime
|
|
59
45
|
prerelease: false
|
|
60
46
|
version_requirements: !ruby/object:Gem::Requirement
|
|
61
47
|
requirements:
|
|
62
|
-
- - "
|
|
48
|
+
- - ">="
|
|
63
49
|
- !ruby/object:Gem::Version
|
|
64
|
-
version: '
|
|
50
|
+
version: '0'
|
|
65
51
|
- !ruby/object:Gem::Dependency
|
|
66
|
-
name:
|
|
52
|
+
name: openssl
|
|
67
53
|
requirement: !ruby/object:Gem::Requirement
|
|
68
54
|
requirements:
|
|
69
55
|
- - ">="
|
|
70
56
|
- !ruby/object:Gem::Version
|
|
71
|
-
version:
|
|
72
|
-
type: :
|
|
57
|
+
version: 3.2.0
|
|
58
|
+
type: :runtime
|
|
73
59
|
prerelease: false
|
|
74
60
|
version_requirements: !ruby/object:Gem::Requirement
|
|
75
61
|
requirements:
|
|
76
62
|
- - ">="
|
|
77
63
|
- !ruby/object:Gem::Version
|
|
78
|
-
version:
|
|
64
|
+
version: 3.2.0
|
|
79
65
|
- !ruby/object:Gem::Dependency
|
|
80
|
-
name:
|
|
66
|
+
name: bcrypt_pbkdf
|
|
81
67
|
requirement: !ruby/object:Gem::Requirement
|
|
82
68
|
requirements:
|
|
83
69
|
- - "~>"
|
|
84
70
|
- !ruby/object:Gem::Version
|
|
85
|
-
version: '
|
|
71
|
+
version: '1.0'
|
|
86
72
|
type: :development
|
|
87
73
|
prerelease: false
|
|
88
74
|
version_requirements: !ruby/object:Gem::Requirement
|
|
89
75
|
requirements:
|
|
90
76
|
- - "~>"
|
|
91
77
|
- !ruby/object:Gem::Version
|
|
92
|
-
version: '
|
|
78
|
+
version: '1.0'
|
|
93
79
|
- !ruby/object:Gem::Dependency
|
|
94
80
|
name: base64
|
|
95
81
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -136,16 +122,22 @@ dependencies:
|
|
|
136
122
|
name: mocha
|
|
137
123
|
requirement: !ruby/object:Gem::Requirement
|
|
138
124
|
requirements:
|
|
139
|
-
- - "
|
|
125
|
+
- - ">="
|
|
140
126
|
- !ruby/object:Gem::Version
|
|
141
|
-
version: 2.1
|
|
127
|
+
version: '2.1'
|
|
128
|
+
- - "<"
|
|
129
|
+
- !ruby/object:Gem::Version
|
|
130
|
+
version: '4'
|
|
142
131
|
type: :development
|
|
143
132
|
prerelease: false
|
|
144
133
|
version_requirements: !ruby/object:Gem::Requirement
|
|
145
134
|
requirements:
|
|
146
|
-
- - "
|
|
135
|
+
- - ">="
|
|
136
|
+
- !ruby/object:Gem::Version
|
|
137
|
+
version: '2.1'
|
|
138
|
+
- - "<"
|
|
147
139
|
- !ruby/object:Gem::Version
|
|
148
|
-
version:
|
|
140
|
+
version: '4'
|
|
149
141
|
- !ruby/object:Gem::Dependency
|
|
150
142
|
name: ostruct
|
|
151
143
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -202,6 +194,8 @@ files:
|
|
|
202
194
|
- ".dockerignore"
|
|
203
195
|
- ".github/FUNDING.yml"
|
|
204
196
|
- ".github/config/rubocop_linter_action.yml"
|
|
197
|
+
- ".github/pull_request_template.md"
|
|
198
|
+
- ".github/workflows/changelog.yml"
|
|
205
199
|
- ".github/workflows/ci-with-docker.yml"
|
|
206
200
|
- ".github/workflows/ci.yml"
|
|
207
201
|
- ".github/workflows/rubocop.yml"
|
|
@@ -209,13 +203,12 @@ files:
|
|
|
209
203
|
- ".rubocop.yml"
|
|
210
204
|
- ".rubocop_todo.yml"
|
|
211
205
|
- CHANGES.txt
|
|
206
|
+
- CONTRIBUTING.md
|
|
212
207
|
- DEVELOPMENT.md
|
|
213
208
|
- Dockerfile
|
|
214
209
|
- Dockerfile.openssl3
|
|
215
210
|
- Dockerfile.zlib_ng
|
|
216
211
|
- Gemfile
|
|
217
|
-
- Gemfile.noed25519
|
|
218
|
-
- Gemfile.norbnacl
|
|
219
212
|
- ISSUE_TEMPLATE.md
|
|
220
213
|
- LICENSE.txt
|
|
221
214
|
- Manifest
|
|
@@ -224,6 +217,7 @@ files:
|
|
|
224
217
|
- SECURITY.md
|
|
225
218
|
- THANKS.txt
|
|
226
219
|
- appveyor.yml
|
|
220
|
+
- changelog.d/README.md
|
|
227
221
|
- docker-compose.yml
|
|
228
222
|
- lib/net/ssh.rb
|
|
229
223
|
- lib/net/ssh/authentication/agent.rb
|
|
@@ -240,6 +234,7 @@ files:
|
|
|
240
234
|
- lib/net/ssh/authentication/methods/publickey.rb
|
|
241
235
|
- lib/net/ssh/authentication/pageant.rb
|
|
242
236
|
- lib/net/ssh/authentication/pub_key_fingerprint.rb
|
|
237
|
+
- lib/net/ssh/authentication/security_key.rb
|
|
243
238
|
- lib/net/ssh/authentication/session.rb
|
|
244
239
|
- lib/net/ssh/buffer.rb
|
|
245
240
|
- lib/net/ssh/buffered_io.rb
|
|
@@ -254,6 +249,10 @@ files:
|
|
|
254
249
|
- lib/net/ssh/key_factory.rb
|
|
255
250
|
- lib/net/ssh/known_hosts.rb
|
|
256
251
|
- lib/net/ssh/loggable.rb
|
|
252
|
+
- lib/net/ssh/multiplex.rb
|
|
253
|
+
- lib/net/ssh/multiplex/client.rb
|
|
254
|
+
- lib/net/ssh/multiplex/control_path.rb
|
|
255
|
+
- lib/net/ssh/multiplex/proxy_transport.rb
|
|
257
256
|
- lib/net/ssh/packet.rb
|
|
258
257
|
- lib/net/ssh/prompt.rb
|
|
259
258
|
- lib/net/ssh/proxy/command.rb
|
|
@@ -290,6 +289,7 @@ files:
|
|
|
290
289
|
- lib/net/ssh/transport/hmac/ripemd160.rb
|
|
291
290
|
- lib/net/ssh/transport/hmac/sha1.rb
|
|
292
291
|
- lib/net/ssh/transport/hmac/sha1_96.rb
|
|
292
|
+
- lib/net/ssh/transport/hmac/sha1_etm.rb
|
|
293
293
|
- lib/net/ssh/transport/hmac/sha2_256.rb
|
|
294
294
|
- lib/net/ssh/transport/hmac/sha2_256_96.rb
|
|
295
295
|
- lib/net/ssh/transport/hmac/sha2_256_etm.rb
|
|
@@ -324,6 +324,7 @@ files:
|
|
|
324
324
|
- lib/net/ssh/version.rb
|
|
325
325
|
- net-ssh-public_cert.pem
|
|
326
326
|
- net-ssh.gemspec
|
|
327
|
+
- rakelib/changelog.rb
|
|
327
328
|
- support/ssh_tunnel_bug.rb
|
|
328
329
|
homepage: https://github.com/net-ssh/net-ssh
|
|
329
330
|
licenses:
|
|
@@ -338,7 +339,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
338
339
|
requirements:
|
|
339
340
|
- - ">="
|
|
340
341
|
- !ruby/object:Gem::Version
|
|
341
|
-
version: '2.
|
|
342
|
+
version: '2.7'
|
|
342
343
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
343
344
|
requirements:
|
|
344
345
|
- - ">="
|
metadata.gz.sig
CHANGED
|
Binary file
|
data/Gemfile.noed25519
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
source 'https://rubygems.org'
|
|
2
|
-
|
|
3
|
-
ENV['NET_SSH_NO_ED25519'] = 'true'
|
|
4
|
-
# Specify your gem's dependencies in mygem.gemspec
|
|
5
|
-
gemspec
|
|
6
|
-
|
|
7
|
-
if ENV["CI"] && !Gem.win_platform?
|
|
8
|
-
gem 'simplecov', require: false, group: :test
|
|
9
|
-
gem 'codecov', require: false, group: :test
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
gem 'webrick', group: %i[development test] if RUBY_VERSION.split(".")[0].to_i >= 3
|
data/Gemfile.norbnacl
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
source 'https://rubygems.org'
|
|
2
|
-
|
|
3
|
-
ENV['NET_SSH_NO_RBNACL'] = 'true'
|
|
4
|
-
# Specify your gem's dependencies in mygem.gemspec
|
|
5
|
-
gemspec
|
|
6
|
-
|
|
7
|
-
if ENV["CI"] && !Gem.win_platform?
|
|
8
|
-
gem 'simplecov', require: false, group: :test
|
|
9
|
-
gem 'codecov', require: false, group: :test
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
gem 'webrick', group: %i[development test] if RUBY_VERSION.split(".")[0].to_i >= 3
|