net-ssh-backports 6.3.0.backports

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/ci.yml +93 -0
  3. data/.gitignore +13 -0
  4. data/.rubocop.yml +21 -0
  5. data/.rubocop_todo.yml +1074 -0
  6. data/.travis.yml +51 -0
  7. data/CHANGES.txt +698 -0
  8. data/Gemfile +13 -0
  9. data/Gemfile.noed25519 +12 -0
  10. data/ISSUE_TEMPLATE.md +30 -0
  11. data/LICENSE.txt +19 -0
  12. data/Manifest +132 -0
  13. data/README.md +287 -0
  14. data/Rakefile +105 -0
  15. data/THANKS.txt +110 -0
  16. data/appveyor.yml +58 -0
  17. data/lib/net/ssh/authentication/agent.rb +284 -0
  18. data/lib/net/ssh/authentication/certificate.rb +183 -0
  19. data/lib/net/ssh/authentication/constants.rb +20 -0
  20. data/lib/net/ssh/authentication/ed25519.rb +185 -0
  21. data/lib/net/ssh/authentication/ed25519_loader.rb +31 -0
  22. data/lib/net/ssh/authentication/key_manager.rb +297 -0
  23. data/lib/net/ssh/authentication/methods/abstract.rb +69 -0
  24. data/lib/net/ssh/authentication/methods/hostbased.rb +72 -0
  25. data/lib/net/ssh/authentication/methods/keyboard_interactive.rb +77 -0
  26. data/lib/net/ssh/authentication/methods/none.rb +34 -0
  27. data/lib/net/ssh/authentication/methods/password.rb +80 -0
  28. data/lib/net/ssh/authentication/methods/publickey.rb +95 -0
  29. data/lib/net/ssh/authentication/pageant.rb +497 -0
  30. data/lib/net/ssh/authentication/pub_key_fingerprint.rb +43 -0
  31. data/lib/net/ssh/authentication/session.rb +163 -0
  32. data/lib/net/ssh/buffer.rb +434 -0
  33. data/lib/net/ssh/buffered_io.rb +202 -0
  34. data/lib/net/ssh/config.rb +406 -0
  35. data/lib/net/ssh/connection/channel.rb +695 -0
  36. data/lib/net/ssh/connection/constants.rb +33 -0
  37. data/lib/net/ssh/connection/event_loop.rb +123 -0
  38. data/lib/net/ssh/connection/keepalive.rb +59 -0
  39. data/lib/net/ssh/connection/session.rb +712 -0
  40. data/lib/net/ssh/connection/term.rb +180 -0
  41. data/lib/net/ssh/errors.rb +106 -0
  42. data/lib/net/ssh/key_factory.rb +218 -0
  43. data/lib/net/ssh/known_hosts.rb +264 -0
  44. data/lib/net/ssh/loggable.rb +62 -0
  45. data/lib/net/ssh/packet.rb +106 -0
  46. data/lib/net/ssh/prompt.rb +62 -0
  47. data/lib/net/ssh/proxy/command.rb +123 -0
  48. data/lib/net/ssh/proxy/errors.rb +16 -0
  49. data/lib/net/ssh/proxy/http.rb +98 -0
  50. data/lib/net/ssh/proxy/https.rb +50 -0
  51. data/lib/net/ssh/proxy/jump.rb +54 -0
  52. data/lib/net/ssh/proxy/socks4.rb +67 -0
  53. data/lib/net/ssh/proxy/socks5.rb +140 -0
  54. data/lib/net/ssh/service/forward.rb +426 -0
  55. data/lib/net/ssh/test/channel.rb +147 -0
  56. data/lib/net/ssh/test/extensions.rb +173 -0
  57. data/lib/net/ssh/test/kex.rb +46 -0
  58. data/lib/net/ssh/test/local_packet.rb +53 -0
  59. data/lib/net/ssh/test/packet.rb +101 -0
  60. data/lib/net/ssh/test/remote_packet.rb +40 -0
  61. data/lib/net/ssh/test/script.rb +180 -0
  62. data/lib/net/ssh/test/socket.rb +65 -0
  63. data/lib/net/ssh/test.rb +94 -0
  64. data/lib/net/ssh/transport/algorithms.rb +502 -0
  65. data/lib/net/ssh/transport/cipher_factory.rb +103 -0
  66. data/lib/net/ssh/transport/constants.rb +40 -0
  67. data/lib/net/ssh/transport/ctr.rb +115 -0
  68. data/lib/net/ssh/transport/hmac/abstract.rb +97 -0
  69. data/lib/net/ssh/transport/hmac/md5.rb +10 -0
  70. data/lib/net/ssh/transport/hmac/md5_96.rb +9 -0
  71. data/lib/net/ssh/transport/hmac/none.rb +13 -0
  72. data/lib/net/ssh/transport/hmac/ripemd160.rb +11 -0
  73. data/lib/net/ssh/transport/hmac/sha1.rb +11 -0
  74. data/lib/net/ssh/transport/hmac/sha1_96.rb +9 -0
  75. data/lib/net/ssh/transport/hmac/sha2_256.rb +11 -0
  76. data/lib/net/ssh/transport/hmac/sha2_256_96.rb +9 -0
  77. data/lib/net/ssh/transport/hmac/sha2_256_etm.rb +12 -0
  78. data/lib/net/ssh/transport/hmac/sha2_512.rb +11 -0
  79. data/lib/net/ssh/transport/hmac/sha2_512_96.rb +9 -0
  80. data/lib/net/ssh/transport/hmac/sha2_512_etm.rb +12 -0
  81. data/lib/net/ssh/transport/hmac.rb +47 -0
  82. data/lib/net/ssh/transport/identity_cipher.rb +57 -0
  83. data/lib/net/ssh/transport/kex/abstract.rb +130 -0
  84. data/lib/net/ssh/transport/kex/abstract5656.rb +72 -0
  85. data/lib/net/ssh/transport/kex/curve25519_sha256.rb +39 -0
  86. data/lib/net/ssh/transport/kex/curve25519_sha256_loader.rb +30 -0
  87. data/lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb +37 -0
  88. data/lib/net/ssh/transport/kex/diffie_hellman_group14_sha256.rb +11 -0
  89. data/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb +122 -0
  90. data/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb +72 -0
  91. data/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb +11 -0
  92. data/lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb +39 -0
  93. data/lib/net/ssh/transport/kex/ecdh_sha2_nistp384.rb +21 -0
  94. data/lib/net/ssh/transport/kex/ecdh_sha2_nistp521.rb +21 -0
  95. data/lib/net/ssh/transport/kex.rb +31 -0
  96. data/lib/net/ssh/transport/key_expander.rb +30 -0
  97. data/lib/net/ssh/transport/openssl.rb +253 -0
  98. data/lib/net/ssh/transport/packet_stream.rb +280 -0
  99. data/lib/net/ssh/transport/server_version.rb +77 -0
  100. data/lib/net/ssh/transport/session.rb +354 -0
  101. data/lib/net/ssh/transport/state.rb +208 -0
  102. data/lib/net/ssh/verifiers/accept_new.rb +33 -0
  103. data/lib/net/ssh/verifiers/accept_new_or_local_tunnel.rb +33 -0
  104. data/lib/net/ssh/verifiers/always.rb +58 -0
  105. data/lib/net/ssh/verifiers/never.rb +19 -0
  106. data/lib/net/ssh/version.rb +68 -0
  107. data/lib/net/ssh.rb +330 -0
  108. data/net-ssh-public_cert.pem +20 -0
  109. data/net-ssh.gemspec +44 -0
  110. data/support/ssh_tunnel_bug.rb +65 -0
  111. metadata +271 -0
metadata ADDED
@@ -0,0 +1,271 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: net-ssh-backports
3
+ version: !ruby/object:Gem::Version
4
+ version: 6.3.0.backports
5
+ platform: ruby
6
+ authors:
7
+ - Jamis Buck
8
+ - Delano Mandelbaum
9
+ - Miklós Fazekas
10
+ autorequire:
11
+ bindir: exe
12
+ cert_chain: []
13
+ date: 2024-01-16 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: bcrypt_pbkdf
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '1.0'
29
+ - !ruby/object:Gem::Dependency
30
+ name: ed25519
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '1.2'
36
+ type: :development
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '1.2'
43
+ - !ruby/object:Gem::Dependency
44
+ name: x25519
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ - !ruby/object:Gem::Dependency
58
+ name: bundler
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '1.17'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '1.17'
71
+ - !ruby/object:Gem::Dependency
72
+ name: minitest
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '5.10'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - "~>"
83
+ - !ruby/object:Gem::Version
84
+ version: '5.10'
85
+ - !ruby/object:Gem::Dependency
86
+ name: mocha
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: 1.11.2
92
+ type: :development
93
+ prerelease: false
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - "~>"
97
+ - !ruby/object:Gem::Version
98
+ version: 1.11.2
99
+ - !ruby/object:Gem::Dependency
100
+ name: rake
101
+ requirement: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: '12.0'
106
+ type: :development
107
+ prerelease: false
108
+ version_requirements: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - "~>"
111
+ - !ruby/object:Gem::Version
112
+ version: '12.0'
113
+ - !ruby/object:Gem::Dependency
114
+ name: rubocop
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: 1.12.1
120
+ type: :development
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - "~>"
125
+ - !ruby/object:Gem::Version
126
+ version: 1.12.1
127
+ description: 'Net::SSH: a pure-Ruby implementation of the SSH2 client protocol. It
128
+ allows you to write programs that invoke and interact with processes on remote servers,
129
+ via SSH2.'
130
+ email:
131
+ - net-ssh@solutious.com
132
+ executables: []
133
+ extensions: []
134
+ extra_rdoc_files:
135
+ - LICENSE.txt
136
+ - README.md
137
+ files:
138
+ - ".github/workflows/ci.yml"
139
+ - ".gitignore"
140
+ - ".rubocop.yml"
141
+ - ".rubocop_todo.yml"
142
+ - ".travis.yml"
143
+ - CHANGES.txt
144
+ - Gemfile
145
+ - Gemfile.noed25519
146
+ - ISSUE_TEMPLATE.md
147
+ - LICENSE.txt
148
+ - Manifest
149
+ - README.md
150
+ - Rakefile
151
+ - THANKS.txt
152
+ - appveyor.yml
153
+ - lib/net/ssh.rb
154
+ - lib/net/ssh/authentication/agent.rb
155
+ - lib/net/ssh/authentication/certificate.rb
156
+ - lib/net/ssh/authentication/constants.rb
157
+ - lib/net/ssh/authentication/ed25519.rb
158
+ - lib/net/ssh/authentication/ed25519_loader.rb
159
+ - lib/net/ssh/authentication/key_manager.rb
160
+ - lib/net/ssh/authentication/methods/abstract.rb
161
+ - lib/net/ssh/authentication/methods/hostbased.rb
162
+ - lib/net/ssh/authentication/methods/keyboard_interactive.rb
163
+ - lib/net/ssh/authentication/methods/none.rb
164
+ - lib/net/ssh/authentication/methods/password.rb
165
+ - lib/net/ssh/authentication/methods/publickey.rb
166
+ - lib/net/ssh/authentication/pageant.rb
167
+ - lib/net/ssh/authentication/pub_key_fingerprint.rb
168
+ - lib/net/ssh/authentication/session.rb
169
+ - lib/net/ssh/buffer.rb
170
+ - lib/net/ssh/buffered_io.rb
171
+ - lib/net/ssh/config.rb
172
+ - lib/net/ssh/connection/channel.rb
173
+ - lib/net/ssh/connection/constants.rb
174
+ - lib/net/ssh/connection/event_loop.rb
175
+ - lib/net/ssh/connection/keepalive.rb
176
+ - lib/net/ssh/connection/session.rb
177
+ - lib/net/ssh/connection/term.rb
178
+ - lib/net/ssh/errors.rb
179
+ - lib/net/ssh/key_factory.rb
180
+ - lib/net/ssh/known_hosts.rb
181
+ - lib/net/ssh/loggable.rb
182
+ - lib/net/ssh/packet.rb
183
+ - lib/net/ssh/prompt.rb
184
+ - lib/net/ssh/proxy/command.rb
185
+ - lib/net/ssh/proxy/errors.rb
186
+ - lib/net/ssh/proxy/http.rb
187
+ - lib/net/ssh/proxy/https.rb
188
+ - lib/net/ssh/proxy/jump.rb
189
+ - lib/net/ssh/proxy/socks4.rb
190
+ - lib/net/ssh/proxy/socks5.rb
191
+ - lib/net/ssh/service/forward.rb
192
+ - lib/net/ssh/test.rb
193
+ - lib/net/ssh/test/channel.rb
194
+ - lib/net/ssh/test/extensions.rb
195
+ - lib/net/ssh/test/kex.rb
196
+ - lib/net/ssh/test/local_packet.rb
197
+ - lib/net/ssh/test/packet.rb
198
+ - lib/net/ssh/test/remote_packet.rb
199
+ - lib/net/ssh/test/script.rb
200
+ - lib/net/ssh/test/socket.rb
201
+ - lib/net/ssh/transport/algorithms.rb
202
+ - lib/net/ssh/transport/cipher_factory.rb
203
+ - lib/net/ssh/transport/constants.rb
204
+ - lib/net/ssh/transport/ctr.rb
205
+ - lib/net/ssh/transport/hmac.rb
206
+ - lib/net/ssh/transport/hmac/abstract.rb
207
+ - lib/net/ssh/transport/hmac/md5.rb
208
+ - lib/net/ssh/transport/hmac/md5_96.rb
209
+ - lib/net/ssh/transport/hmac/none.rb
210
+ - lib/net/ssh/transport/hmac/ripemd160.rb
211
+ - lib/net/ssh/transport/hmac/sha1.rb
212
+ - lib/net/ssh/transport/hmac/sha1_96.rb
213
+ - lib/net/ssh/transport/hmac/sha2_256.rb
214
+ - lib/net/ssh/transport/hmac/sha2_256_96.rb
215
+ - lib/net/ssh/transport/hmac/sha2_256_etm.rb
216
+ - lib/net/ssh/transport/hmac/sha2_512.rb
217
+ - lib/net/ssh/transport/hmac/sha2_512_96.rb
218
+ - lib/net/ssh/transport/hmac/sha2_512_etm.rb
219
+ - lib/net/ssh/transport/identity_cipher.rb
220
+ - lib/net/ssh/transport/kex.rb
221
+ - lib/net/ssh/transport/kex/abstract.rb
222
+ - lib/net/ssh/transport/kex/abstract5656.rb
223
+ - lib/net/ssh/transport/kex/curve25519_sha256.rb
224
+ - lib/net/ssh/transport/kex/curve25519_sha256_loader.rb
225
+ - lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb
226
+ - lib/net/ssh/transport/kex/diffie_hellman_group14_sha256.rb
227
+ - lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb
228
+ - lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb
229
+ - lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
230
+ - lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb
231
+ - lib/net/ssh/transport/kex/ecdh_sha2_nistp384.rb
232
+ - lib/net/ssh/transport/kex/ecdh_sha2_nistp521.rb
233
+ - lib/net/ssh/transport/key_expander.rb
234
+ - lib/net/ssh/transport/openssl.rb
235
+ - lib/net/ssh/transport/packet_stream.rb
236
+ - lib/net/ssh/transport/server_version.rb
237
+ - lib/net/ssh/transport/session.rb
238
+ - lib/net/ssh/transport/state.rb
239
+ - lib/net/ssh/verifiers/accept_new.rb
240
+ - lib/net/ssh/verifiers/accept_new_or_local_tunnel.rb
241
+ - lib/net/ssh/verifiers/always.rb
242
+ - lib/net/ssh/verifiers/never.rb
243
+ - lib/net/ssh/version.rb
244
+ - net-ssh-public_cert.pem
245
+ - net-ssh.gemspec
246
+ - support/ssh_tunnel_bug.rb
247
+ homepage: https://github.com/net-ssh/net-ssh
248
+ licenses:
249
+ - MIT
250
+ metadata:
251
+ changelog_uri: https://github.com/net-ssh/net-ssh/blob/master/CHANGES.txt
252
+ post_install_message:
253
+ rdoc_options: []
254
+ require_paths:
255
+ - lib
256
+ required_ruby_version: !ruby/object:Gem::Requirement
257
+ requirements:
258
+ - - ">="
259
+ - !ruby/object:Gem::Version
260
+ version: 2.4.5
261
+ required_rubygems_version: !ruby/object:Gem::Requirement
262
+ requirements:
263
+ - - ">"
264
+ - !ruby/object:Gem::Version
265
+ version: 1.3.1
266
+ requirements: []
267
+ rubygems_version: 3.0.3.1
268
+ signing_key:
269
+ specification_version: 4
270
+ summary: 'Net::SSH: a pure-Ruby implementation of the SSH2 client protocol.'
271
+ test_files: []