abiquo-installer-tests 20120104 → 20121023.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (265) hide show
  1. data/Rakefile +11 -7
  2. data/bin/abiquo-installer-tests +68 -43
  3. data/tests/1.8.5/abiquo_ciab.rb +21 -0
  4. data/tests/1.8.5/abiquo_kvm.rb +25 -0
  5. data/tests/1.8.5/abiquo_lvmiscsi.rb +17 -0
  6. data/tests/1.8.5/abiquo_monolithic.rb +12 -0
  7. data/tests/1.8.5/abiquo_nfs_repository.rb +23 -0
  8. data/tests/1.8.5/abiquo_platform.rb +39 -0
  9. data/tests/1.8.5/abiquo_remote_services.rb +115 -0
  10. data/tests/1.8.5/abiquo_server.rb +63 -0
  11. data/tests/1.8.5/abiquo_v2v.rb +37 -0
  12. data/tests/1.8.5/abiquo_vbox.rb +27 -0
  13. data/tests/1.8.5/abiquo_xen.rb +27 -0
  14. data/tests/2.0/abiquo_ciab.rb +9 -0
  15. data/tests/2.0/abiquo_community_hypervisor.rb +52 -0
  16. data/tests/2.0/abiquo_kvm.rb +5 -23
  17. data/tests/2.0/abiquo_monolithic.rb +12 -1
  18. data/tests/2.0/abiquo_platform.rb +2 -2
  19. data/tests/2.0/abiquo_remote_services.rb +15 -38
  20. data/tests/2.0/abiquo_server.rb +7 -1
  21. data/tests/2.0/abiquo_v2v.rb +42 -0
  22. data/tests/2.0/abiquo_vbox.rb +5 -25
  23. data/tests/2.0/abiquo_xen.rb +5 -25
  24. data/tests/2.2.0/abiquo_ciab.rb +30 -0
  25. data/tests/2.2.0/abiquo_community_hypervisor.rb +52 -0
  26. data/tests/2.2.0/abiquo_kvm.rb +7 -0
  27. data/tests/2.2.0/abiquo_lvmiscsi.rb +17 -0
  28. data/tests/2.2.0/abiquo_monolithic.rb +23 -0
  29. data/tests/2.2.0/abiquo_nfs_repository.rb +23 -0
  30. data/tests/2.2.0/abiquo_platform.rb +35 -0
  31. data/tests/2.2.0/abiquo_remote_services.rb +96 -0
  32. data/tests/2.2.0/abiquo_server.rb +95 -0
  33. data/tests/2.2.0/abiquo_v2v.rb +79 -0
  34. data/tests/2.2.0/abiquo_vbox.rb +7 -0
  35. data/tests/2.2.0/abiquo_xen.rb +7 -0
  36. data/tests/2.3.0/abiquo_ciab.rb +30 -0
  37. data/tests/2.3.0/abiquo_community_hypervisor.rb +52 -0
  38. data/tests/2.3.0/abiquo_kvm.rb +7 -0
  39. data/tests/2.3.0/abiquo_lvmiscsi.rb +17 -0
  40. data/tests/2.3.0/abiquo_monolithic.rb +23 -0
  41. data/tests/2.3.0/abiquo_nfs_repository.rb +23 -0
  42. data/tests/2.3.0/abiquo_platform.rb +35 -0
  43. data/tests/2.3.0/abiquo_remote_services.rb +96 -0
  44. data/tests/2.3.0/abiquo_server.rb +95 -0
  45. data/tests/2.3.0/abiquo_v2v.rb +79 -0
  46. data/tests/2.3.0/abiquo_vbox.rb +7 -0
  47. data/tests/2.3.0/abiquo_xen.rb +7 -0
  48. data/tests/abiquo_postinst_test.rb +12 -1
  49. data/vendor/net-scp-1.0.4/CHANGELOG.rdoc +29 -0
  50. data/vendor/net-scp-1.0.4/Manifest +17 -0
  51. data/vendor/net-scp-1.0.4/README.rdoc +98 -0
  52. data/vendor/net-scp-1.0.4/Rakefile +83 -0
  53. data/vendor/net-scp-1.0.4/lib/net/scp.rb +432 -0
  54. data/vendor/net-scp-1.0.4/lib/net/scp/download.rb +150 -0
  55. data/vendor/net-scp-1.0.4/lib/net/scp/errors.rb +5 -0
  56. data/vendor/net-scp-1.0.4/lib/net/scp/upload.rb +142 -0
  57. data/vendor/net-scp-1.0.4/lib/net/scp/version.rb +18 -0
  58. data/vendor/net-scp-1.0.4/lib/uri/open-scp.rb +18 -0
  59. data/vendor/net-scp-1.0.4/lib/uri/scp.rb +35 -0
  60. data/vendor/net-scp-1.0.4/net-scp.gemspec +34 -0
  61. data/vendor/net-scp-1.0.4/setup.rb +1331 -0
  62. data/vendor/net-scp-1.0.4/test/common.rb +153 -0
  63. data/vendor/net-scp-1.0.4/test/test_all.rb +3 -0
  64. data/vendor/net-scp-1.0.4/test/test_download.rb +170 -0
  65. data/vendor/net-scp-1.0.4/test/test_scp.rb +60 -0
  66. data/vendor/net-scp-1.0.4/test/test_upload.rb +269 -0
  67. data/vendor/net-sftp-2.0.5/CHANGELOG.rdoc +49 -0
  68. data/vendor/net-sftp-2.0.5/Manifest +55 -0
  69. data/vendor/net-sftp-2.0.5/README.rdoc +96 -0
  70. data/vendor/net-sftp-2.0.5/Rakefile +30 -0
  71. data/vendor/net-sftp-2.0.5/lib/net/sftp.rb +70 -0
  72. data/vendor/net-sftp-2.0.5/lib/net/sftp/constants.rb +187 -0
  73. data/vendor/net-sftp-2.0.5/lib/net/sftp/errors.rb +39 -0
  74. data/vendor/net-sftp-2.0.5/lib/net/sftp/operations/dir.rb +93 -0
  75. data/vendor/net-sftp-2.0.5/lib/net/sftp/operations/download.rb +364 -0
  76. data/vendor/net-sftp-2.0.5/lib/net/sftp/operations/file.rb +176 -0
  77. data/vendor/net-sftp-2.0.5/lib/net/sftp/operations/file_factory.rb +60 -0
  78. data/vendor/net-sftp-2.0.5/lib/net/sftp/operations/upload.rb +387 -0
  79. data/vendor/net-sftp-2.0.5/lib/net/sftp/packet.rb +21 -0
  80. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol.rb +32 -0
  81. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol/01/attributes.rb +315 -0
  82. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol/01/base.rb +268 -0
  83. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol/01/name.rb +43 -0
  84. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol/02/base.rb +31 -0
  85. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol/03/base.rb +35 -0
  86. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol/04/attributes.rb +152 -0
  87. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol/04/base.rb +94 -0
  88. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol/04/name.rb +67 -0
  89. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol/05/base.rb +66 -0
  90. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol/06/attributes.rb +107 -0
  91. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol/06/base.rb +63 -0
  92. data/vendor/net-sftp-2.0.5/lib/net/sftp/protocol/base.rb +50 -0
  93. data/vendor/net-sftp-2.0.5/lib/net/sftp/request.rb +91 -0
  94. data/vendor/net-sftp-2.0.5/lib/net/sftp/response.rb +76 -0
  95. data/vendor/net-sftp-2.0.5/lib/net/sftp/session.rb +952 -0
  96. data/vendor/net-sftp-2.0.5/lib/net/sftp/version.rb +18 -0
  97. data/vendor/net-sftp-2.0.5/net-sftp.gemspec +34 -0
  98. data/vendor/net-sftp-2.0.5/setup.rb +1331 -0
  99. data/vendor/net-sftp-2.0.5/test/common.rb +172 -0
  100. data/vendor/net-sftp-2.0.5/test/protocol/01/test_attributes.rb +97 -0
  101. data/vendor/net-sftp-2.0.5/test/protocol/01/test_base.rb +210 -0
  102. data/vendor/net-sftp-2.0.5/test/protocol/01/test_name.rb +27 -0
  103. data/vendor/net-sftp-2.0.5/test/protocol/02/test_base.rb +26 -0
  104. data/vendor/net-sftp-2.0.5/test/protocol/03/test_base.rb +27 -0
  105. data/vendor/net-sftp-2.0.5/test/protocol/04/test_attributes.rb +148 -0
  106. data/vendor/net-sftp-2.0.5/test/protocol/04/test_base.rb +74 -0
  107. data/vendor/net-sftp-2.0.5/test/protocol/04/test_name.rb +53 -0
  108. data/vendor/net-sftp-2.0.5/test/protocol/05/test_base.rb +62 -0
  109. data/vendor/net-sftp-2.0.5/test/protocol/06/test_attributes.rb +124 -0
  110. data/vendor/net-sftp-2.0.5/test/protocol/06/test_base.rb +51 -0
  111. data/vendor/net-sftp-2.0.5/test/protocol/test_base.rb +42 -0
  112. data/vendor/net-sftp-2.0.5/test/test_all.rb +7 -0
  113. data/vendor/net-sftp-2.0.5/test/test_dir.rb +47 -0
  114. data/vendor/net-sftp-2.0.5/test/test_download.rb +252 -0
  115. data/vendor/net-sftp-2.0.5/test/test_file.rb +159 -0
  116. data/vendor/net-sftp-2.0.5/test/test_file_factory.rb +48 -0
  117. data/vendor/net-sftp-2.0.5/test/test_packet.rb +9 -0
  118. data/vendor/net-sftp-2.0.5/test/test_protocol.rb +17 -0
  119. data/vendor/net-sftp-2.0.5/test/test_request.rb +71 -0
  120. data/vendor/net-sftp-2.0.5/test/test_response.rb +53 -0
  121. data/vendor/net-sftp-2.0.5/test/test_session.rb +741 -0
  122. data/vendor/net-sftp-2.0.5/test/test_upload.rb +219 -0
  123. data/vendor/net-ssh-2.5.2/CHANGELOG.rdoc +295 -0
  124. data/vendor/net-ssh-2.5.2/LICENSE.rdoc +19 -0
  125. data/vendor/net-ssh-2.5.2/Manifest +132 -0
  126. data/vendor/net-ssh-2.5.2/README.rdoc +184 -0
  127. data/vendor/net-ssh-2.5.2/Rakefile +88 -0
  128. data/vendor/net-ssh-2.5.2/Rudyfile +96 -0
  129. data/vendor/net-ssh-2.5.2/THANKS.rdoc +19 -0
  130. data/vendor/net-ssh-2.5.2/lib/net/ssh.rb +223 -0
  131. data/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/agent.rb +23 -0
  132. data/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/agent/java_pageant.rb +85 -0
  133. data/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/agent/socket.rb +170 -0
  134. data/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/constants.rb +18 -0
  135. data/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/key_manager.rb +253 -0
  136. data/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/methods/abstract.rb +60 -0
  137. data/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/methods/hostbased.rb +75 -0
  138. data/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/methods/keyboard_interactive.rb +70 -0
  139. data/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/methods/password.rb +43 -0
  140. data/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/methods/publickey.rb +96 -0
  141. data/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/pageant.rb +264 -0
  142. data/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/session.rb +154 -0
  143. data/vendor/net-ssh-2.5.2/lib/net/ssh/buffer.rb +350 -0
  144. data/vendor/net-ssh-2.5.2/lib/net/ssh/buffered_io.rb +198 -0
  145. data/vendor/net-ssh-2.5.2/lib/net/ssh/config.rb +207 -0
  146. data/vendor/net-ssh-2.5.2/lib/net/ssh/connection/channel.rb +630 -0
  147. data/vendor/net-ssh-2.5.2/lib/net/ssh/connection/constants.rb +33 -0
  148. data/vendor/net-ssh-2.5.2/lib/net/ssh/connection/session.rb +597 -0
  149. data/vendor/net-ssh-2.5.2/lib/net/ssh/connection/term.rb +178 -0
  150. data/vendor/net-ssh-2.5.2/lib/net/ssh/errors.rb +88 -0
  151. data/vendor/net-ssh-2.5.2/lib/net/ssh/key_factory.rb +107 -0
  152. data/vendor/net-ssh-2.5.2/lib/net/ssh/known_hosts.rb +141 -0
  153. data/vendor/net-ssh-2.5.2/lib/net/ssh/loggable.rb +61 -0
  154. data/vendor/net-ssh-2.5.2/lib/net/ssh/packet.rb +102 -0
  155. data/vendor/net-ssh-2.5.2/lib/net/ssh/prompt.rb +93 -0
  156. data/vendor/net-ssh-2.5.2/lib/net/ssh/proxy/command.rb +75 -0
  157. data/vendor/net-ssh-2.5.2/lib/net/ssh/proxy/errors.rb +14 -0
  158. data/vendor/net-ssh-2.5.2/lib/net/ssh/proxy/http.rb +94 -0
  159. data/vendor/net-ssh-2.5.2/lib/net/ssh/proxy/socks4.rb +70 -0
  160. data/vendor/net-ssh-2.5.2/lib/net/ssh/proxy/socks5.rb +142 -0
  161. data/vendor/net-ssh-2.5.2/lib/net/ssh/ruby_compat.rb +51 -0
  162. data/vendor/net-ssh-2.5.2/lib/net/ssh/service/forward.rb +298 -0
  163. data/vendor/net-ssh-2.5.2/lib/net/ssh/test.rb +89 -0
  164. data/vendor/net-ssh-2.5.2/lib/net/ssh/test/channel.rb +129 -0
  165. data/vendor/net-ssh-2.5.2/lib/net/ssh/test/extensions.rb +152 -0
  166. data/vendor/net-ssh-2.5.2/lib/net/ssh/test/kex.rb +44 -0
  167. data/vendor/net-ssh-2.5.2/lib/net/ssh/test/local_packet.rb +51 -0
  168. data/vendor/net-ssh-2.5.2/lib/net/ssh/test/packet.rb +81 -0
  169. data/vendor/net-ssh-2.5.2/lib/net/ssh/test/remote_packet.rb +38 -0
  170. data/vendor/net-ssh-2.5.2/lib/net/ssh/test/script.rb +157 -0
  171. data/vendor/net-ssh-2.5.2/lib/net/ssh/test/socket.rb +64 -0
  172. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/algorithms.rb +407 -0
  173. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/cipher_factory.rb +106 -0
  174. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/constants.rb +32 -0
  175. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/ctr.rb +95 -0
  176. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/hmac.rb +45 -0
  177. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/hmac/abstract.rb +79 -0
  178. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/hmac/md5.rb +12 -0
  179. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/hmac/md5_96.rb +11 -0
  180. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/hmac/none.rb +15 -0
  181. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/hmac/ripemd160.rb +13 -0
  182. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/hmac/sha1.rb +13 -0
  183. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/hmac/sha1_96.rb +11 -0
  184. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/hmac/sha2_256.rb +15 -0
  185. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/hmac/sha2_256_96.rb +13 -0
  186. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/hmac/sha2_512.rb +14 -0
  187. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/hmac/sha2_512_96.rb +13 -0
  188. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/identity_cipher.rb +55 -0
  189. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/kex.rb +28 -0
  190. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb +44 -0
  191. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb +216 -0
  192. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb +80 -0
  193. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb +15 -0
  194. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb +93 -0
  195. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/kex/ecdh_sha2_nistp384.rb +13 -0
  196. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/kex/ecdh_sha2_nistp521.rb +13 -0
  197. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/key_expander.rb +26 -0
  198. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/openssl.rb +237 -0
  199. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/packet_stream.rb +235 -0
  200. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/server_version.rb +71 -0
  201. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/session.rb +278 -0
  202. data/vendor/net-ssh-2.5.2/lib/net/ssh/transport/state.rb +206 -0
  203. data/vendor/net-ssh-2.5.2/lib/net/ssh/verifiers/lenient.rb +30 -0
  204. data/vendor/net-ssh-2.5.2/lib/net/ssh/verifiers/null.rb +12 -0
  205. data/vendor/net-ssh-2.5.2/lib/net/ssh/verifiers/strict.rb +53 -0
  206. data/vendor/net-ssh-2.5.2/lib/net/ssh/version.rb +62 -0
  207. data/vendor/net-ssh-2.5.2/net-ssh.gemspec +172 -0
  208. data/vendor/net-ssh-2.5.2/setup.rb +1585 -0
  209. data/vendor/net-ssh-2.5.2/support/arcfour_check.rb +20 -0
  210. data/vendor/net-ssh-2.5.2/support/ssh_tunnel_bug.rb +65 -0
  211. data/vendor/net-ssh-2.5.2/test/README.txt +43 -0
  212. data/vendor/net-ssh-2.5.2/test/authentication/methods/common.rb +28 -0
  213. data/vendor/net-ssh-2.5.2/test/authentication/methods/test_abstract.rb +51 -0
  214. data/vendor/net-ssh-2.5.2/test/authentication/methods/test_hostbased.rb +114 -0
  215. data/vendor/net-ssh-2.5.2/test/authentication/methods/test_keyboard_interactive.rb +100 -0
  216. data/vendor/net-ssh-2.5.2/test/authentication/methods/test_password.rb +52 -0
  217. data/vendor/net-ssh-2.5.2/test/authentication/methods/test_publickey.rb +148 -0
  218. data/vendor/net-ssh-2.5.2/test/authentication/test_agent.rb +205 -0
  219. data/vendor/net-ssh-2.5.2/test/authentication/test_key_manager.rb +218 -0
  220. data/vendor/net-ssh-2.5.2/test/authentication/test_session.rb +106 -0
  221. data/vendor/net-ssh-2.5.2/test/common.rb +107 -0
  222. data/vendor/net-ssh-2.5.2/test/configs/eqsign +3 -0
  223. data/vendor/net-ssh-2.5.2/test/configs/exact_match +8 -0
  224. data/vendor/net-ssh-2.5.2/test/configs/host_plus +10 -0
  225. data/vendor/net-ssh-2.5.2/test/configs/multihost +4 -0
  226. data/vendor/net-ssh-2.5.2/test/configs/nohost +19 -0
  227. data/vendor/net-ssh-2.5.2/test/configs/numeric_host +4 -0
  228. data/vendor/net-ssh-2.5.2/test/configs/wild_cards +14 -0
  229. data/vendor/net-ssh-2.5.2/test/connection/test_channel.rb +467 -0
  230. data/vendor/net-ssh-2.5.2/test/connection/test_session.rb +488 -0
  231. data/vendor/net-ssh-2.5.2/test/known_hosts/github +1 -0
  232. data/vendor/net-ssh-2.5.2/test/manual/test_forward.rb +223 -0
  233. data/vendor/net-ssh-2.5.2/test/start/test_transport.rb +28 -0
  234. data/vendor/net-ssh-2.5.2/test/test_all.rb +9 -0
  235. data/vendor/net-ssh-2.5.2/test/test_buffer.rb +426 -0
  236. data/vendor/net-ssh-2.5.2/test/test_buffered_io.rb +63 -0
  237. data/vendor/net-ssh-2.5.2/test/test_config.rb +120 -0
  238. data/vendor/net-ssh-2.5.2/test/test_key_factory.rb +121 -0
  239. data/vendor/net-ssh-2.5.2/test/test_known_hosts.rb +13 -0
  240. data/vendor/net-ssh-2.5.2/test/transport/hmac/test_md5.rb +39 -0
  241. data/vendor/net-ssh-2.5.2/test/transport/hmac/test_md5_96.rb +25 -0
  242. data/vendor/net-ssh-2.5.2/test/transport/hmac/test_none.rb +34 -0
  243. data/vendor/net-ssh-2.5.2/test/transport/hmac/test_ripemd160.rb +34 -0
  244. data/vendor/net-ssh-2.5.2/test/transport/hmac/test_sha1.rb +34 -0
  245. data/vendor/net-ssh-2.5.2/test/transport/hmac/test_sha1_96.rb +25 -0
  246. data/vendor/net-ssh-2.5.2/test/transport/hmac/test_sha2_256.rb +35 -0
  247. data/vendor/net-ssh-2.5.2/test/transport/hmac/test_sha2_256_96.rb +25 -0
  248. data/vendor/net-ssh-2.5.2/test/transport/hmac/test_sha2_512.rb +35 -0
  249. data/vendor/net-ssh-2.5.2/test/transport/hmac/test_sha2_512_96.rb +25 -0
  250. data/vendor/net-ssh-2.5.2/test/transport/kex/test_diffie_hellman_group14_sha1.rb +13 -0
  251. data/vendor/net-ssh-2.5.2/test/transport/kex/test_diffie_hellman_group1_sha1.rb +146 -0
  252. data/vendor/net-ssh-2.5.2/test/transport/kex/test_diffie_hellman_group_exchange_sha1.rb +92 -0
  253. data/vendor/net-ssh-2.5.2/test/transport/kex/test_diffie_hellman_group_exchange_sha256.rb +33 -0
  254. data/vendor/net-ssh-2.5.2/test/transport/kex/test_ecdh_sha2_nistp256.rb +161 -0
  255. data/vendor/net-ssh-2.5.2/test/transport/kex/test_ecdh_sha2_nistp384.rb +37 -0
  256. data/vendor/net-ssh-2.5.2/test/transport/kex/test_ecdh_sha2_nistp521.rb +37 -0
  257. data/vendor/net-ssh-2.5.2/test/transport/test_algorithms.rb +330 -0
  258. data/vendor/net-ssh-2.5.2/test/transport/test_cipher_factory.rb +441 -0
  259. data/vendor/net-ssh-2.5.2/test/transport/test_hmac.rb +34 -0
  260. data/vendor/net-ssh-2.5.2/test/transport/test_identity_cipher.rb +40 -0
  261. data/vendor/net-ssh-2.5.2/test/transport/test_packet_stream.rb +1745 -0
  262. data/vendor/net-ssh-2.5.2/test/transport/test_server_version.rb +78 -0
  263. data/vendor/net-ssh-2.5.2/test/transport/test_session.rb +315 -0
  264. data/vendor/net-ssh-2.5.2/test/transport/test_state.rb +179 -0
  265. metadata +325 -78
@@ -0,0 +1,219 @@
1
+ require "common"
2
+
3
+ class UploadTest < Net::SFTP::TestCase
4
+ def setup
5
+ prepare_progress!
6
+ end
7
+
8
+ def test_upload_file_should_send_file_contents
9
+ expect_file_transfer("/path/to/local", "/path/to/remote", "here are the contents")
10
+ assert_scripted_command { sftp.upload("/path/to/local", "/path/to/remote") }
11
+ end
12
+
13
+ def test_upload_file_with_progress_should_report_progress
14
+ expect_file_transfer("/path/to/local", "/path/to/remote", "here are the contents")
15
+
16
+ assert_scripted_command do
17
+ sftp.upload("/path/to/local", "/path/to/remote") { |*args| record_progress(args) }
18
+ end
19
+
20
+ assert_progress_reported_open(:remote => "/path/to/remote")
21
+ assert_progress_reported_put(0, "here are the contents", :remote => "/path/to/remote")
22
+ assert_progress_reported_close(:remote => "/path/to/remote")
23
+ assert_progress_reported_finish
24
+ assert_no_more_reported_events
25
+ end
26
+
27
+ def test_upload_file_with_progress_handler_should_report_progress
28
+ expect_file_transfer("/path/to/local", "/path/to/remote", "here are the contents")
29
+
30
+ assert_scripted_command do
31
+ sftp.upload("/path/to/local", "/path/to/remote", :progress => ProgressHandler.new(@progress))
32
+ end
33
+
34
+ assert_progress_reported_open(:remote => "/path/to/remote")
35
+ assert_progress_reported_put(0, "here are the contents", :remote => "/path/to/remote")
36
+ assert_progress_reported_close(:remote => "/path/to/remote")
37
+ assert_progress_reported_finish
38
+ assert_no_more_reported_events
39
+ end
40
+
41
+ def test_upload_file_should_read_chunks_of_size(requested_size=nil)
42
+ size = requested_size || Net::SFTP::Operations::Upload::DEFAULT_READ_SIZE
43
+ expect_sftp_session :server_version => 3 do |channel|
44
+ channel.sends_packet(FXP_OPEN, :long, 0, :string, "/path/to/remote", :long, 0x1A, :long, 0)
45
+ channel.gets_packet(FXP_HANDLE, :long, 0, :string, "handle")
46
+ channel.sends_packet(FXP_WRITE, :long, 1, :string, "handle", :int64, 0, :string, "a" * size)
47
+ channel.sends_packet(FXP_WRITE, :long, 2, :string, "handle", :int64, size, :string, "b" * size)
48
+ channel.sends_packet(FXP_WRITE, :long, 3, :string, "handle", :int64, size*2, :string, "c" * size)
49
+ channel.gets_packet(FXP_STATUS, :long, 1, :long, 0)
50
+ channel.sends_packet(FXP_WRITE, :long, 4, :string, "handle", :int64, size*3, :string, "d" * size)
51
+ channel.gets_packet(FXP_STATUS, :long, 2, :long, 0)
52
+ channel.sends_packet(FXP_CLOSE, :long, 5, :string, "handle")
53
+ channel.gets_packet(FXP_STATUS, :long, 3, :long, 0)
54
+ channel.gets_packet(FXP_STATUS, :long, 4, :long, 0)
55
+ channel.gets_packet(FXP_STATUS, :long, 5, :long, 0)
56
+ end
57
+
58
+ expect_file("/path/to/local", "a" * size + "b" * size + "c" * size + "d" * size)
59
+
60
+ assert_scripted_command do
61
+ opts = {}
62
+ opts[:read_size] = size if requested_size
63
+ sftp.upload("/path/to/local", "/path/to/remote", opts)
64
+ end
65
+ end
66
+
67
+ def test_upload_file_with_custom_read_size_should_read_chunks_of_that_size
68
+ test_upload_file_should_read_chunks_of_size(100)
69
+ end
70
+
71
+ def test_upload_file_with_custom_requests_should_start_that_many_writes
72
+ size = Net::SFTP::Operations::Upload::DEFAULT_READ_SIZE
73
+ expect_sftp_session :server_version => 3 do |channel|
74
+ channel.sends_packet(FXP_OPEN, :long, 0, :string, "/path/to/remote", :long, 0x1A, :long, 0)
75
+ channel.gets_packet(FXP_HANDLE, :long, 0, :string, "handle")
76
+ channel.sends_packet(FXP_WRITE, :long, 1, :string, "handle", :int64, 0, :string, "a" * size)
77
+ channel.sends_packet(FXP_WRITE, :long, 2, :string, "handle", :int64, size, :string, "b" * size)
78
+ channel.sends_packet(FXP_WRITE, :long, 3, :string, "handle", :int64, size*2, :string, "c" * size)
79
+ channel.sends_packet(FXP_WRITE, :long, 4, :string, "handle", :int64, size*3, :string, "d" * size)
80
+ channel.gets_packet(FXP_STATUS, :long, 1, :long, 0)
81
+ channel.sends_packet(FXP_CLOSE, :long, 5, :string, "handle")
82
+ channel.gets_packet(FXP_STATUS, :long, 2, :long, 0)
83
+ channel.gets_packet(FXP_STATUS, :long, 3, :long, 0)
84
+ channel.gets_packet(FXP_STATUS, :long, 4, :long, 0)
85
+ channel.gets_packet(FXP_STATUS, :long, 5, :long, 0)
86
+ end
87
+
88
+ expect_file("/path/to/local", "a" * size + "b" * size + "c" * size + "d" * size)
89
+
90
+ assert_scripted_command do
91
+ sftp.upload("/path/to/local", "/path/to/remote", :requests => 3)
92
+ end
93
+ end
94
+
95
+ def test_upload_directory_should_mirror_directory_structure_remotely
96
+ prepare_directory
97
+
98
+ assert_scripted_command do
99
+ sftp.upload("/path/to/local", "/path/to/remote")
100
+ end
101
+ end
102
+
103
+ def test_upload_directory_with_handler_should_report_progress
104
+ prepare_directory
105
+
106
+ assert_scripted_command do
107
+ sftp.upload("/path/to/local", "/path/to/remote") { |*args| record_progress(args) }
108
+ end
109
+
110
+ assert_progress_reported_open(:remote => "/path/to/remote/file1")
111
+ assert_progress_reported_open(:remote => "/path/to/remote/file2")
112
+ assert_progress_reported_open(:remote => "/path/to/remote/file3")
113
+ assert_progress_reported_mkdir("/path/to/remote/subdir")
114
+ assert_progress_reported_open(:remote => "/path/to/remote/subdir/other1")
115
+ assert_progress_reported_open(:remote => "/path/to/remote/subdir/other2")
116
+ assert_progress_reported_put(0, "contents of file1", :remote => "/path/to/remote/file1")
117
+ assert_progress_reported_put(0, "contents of file2", :remote => "/path/to/remote/file2")
118
+ assert_progress_reported_put(0, "contents of file3", :remote => "/path/to/remote/file3")
119
+ assert_progress_reported_close(:remote => "/path/to/remote/file1")
120
+ assert_progress_reported_put(0, "contents of other1", :remote => "/path/to/remote/subdir/other1")
121
+ assert_progress_reported_put(0, "contents of other2", :remote => "/path/to/remote/subdir/other2")
122
+ assert_progress_reported_close(:remote => "/path/to/remote/file2")
123
+ assert_progress_reported_close(:remote => "/path/to/remote/file3")
124
+ assert_progress_reported_close(:remote => "/path/to/remote/subdir/other1")
125
+ assert_progress_reported_close(:remote => "/path/to/remote/subdir/other2")
126
+ assert_progress_reported_finish
127
+ assert_no_more_reported_events
128
+ end
129
+
130
+ def test_upload_io_should_send_io_as_file
131
+ expect_sftp_session :server_version => 3 do |channel|
132
+ channel.sends_packet(FXP_OPEN, :long, 0, :string, "/path/to/remote", :long, 0x1A, :long, 0)
133
+ channel.gets_packet(FXP_HANDLE, :long, 0, :string, "handle")
134
+ channel.sends_packet(FXP_WRITE, :long, 1, :string, "handle", :int64, 0, :string, "this is some text")
135
+ channel.sends_packet(FXP_CLOSE, :long, 2, :string, "handle")
136
+ channel.gets_packet(FXP_STATUS, :long, 1, :long, 0)
137
+ channel.gets_packet(FXP_STATUS, :long, 2, :long, 0)
138
+ end
139
+
140
+ assert_scripted_command do
141
+ sftp.upload(StringIO.new("this is some text"), "/path/to/remote")
142
+ end
143
+ end
144
+
145
+ private
146
+
147
+ def prepare_directory
148
+ expect_directory("/path/to/local", %w(. .. file1 file2 file3 subdir))
149
+ expect_directory("/path/to/local/subdir", %w(. .. other1 other2))
150
+ expect_file("/path/to/local/file1", "contents of file1")
151
+ expect_file("/path/to/local/file2", "contents of file2")
152
+ expect_file("/path/to/local/file3", "contents of file3")
153
+ expect_file("/path/to/local/subdir/other1", "contents of other1")
154
+ expect_file("/path/to/local/subdir/other2", "contents of other2")
155
+
156
+ expect_sftp_session :server_version => 3 do |ch|
157
+ ch.sends_packet(FXP_MKDIR, :long, 0, :string, "/path/to/remote", :long, 0)
158
+ ch.gets_packet(FXP_STATUS, :long, 0, :long, 0)
159
+ ch.sends_packet(FXP_OPEN, :long, 1, :string, "/path/to/remote/file1", :long, 0x1A, :long, 0)
160
+ ch.sends_packet(FXP_OPEN, :long, 2, :string, "/path/to/remote/file2", :long, 0x1A, :long, 0)
161
+ ch.sends_packet(FXP_OPEN, :long, 3, :string, "/path/to/remote/file3", :long, 0x1A, :long, 0)
162
+ ch.sends_packet(FXP_MKDIR, :long, 4, :string, "/path/to/remote/subdir", :long, 0)
163
+ ch.sends_packet(FXP_OPEN, :long, 5, :string, "/path/to/remote/subdir/other1", :long, 0x1A, :long, 0)
164
+ ch.sends_packet(FXP_OPEN, :long, 6, :string, "/path/to/remote/subdir/other2", :long, 0x1A, :long, 0)
165
+ ch.gets_packet(FXP_HANDLE, :long, 1, :string, "hfile1")
166
+ ch.sends_packet(FXP_WRITE, :long, 7, :string, "hfile1", :int64, 0, :string, "contents of file1")
167
+ ch.gets_packet(FXP_HANDLE, :long, 2, :string, "hfile2")
168
+ ch.sends_packet(FXP_WRITE, :long, 8, :string, "hfile2", :int64, 0, :string, "contents of file2")
169
+ ch.gets_packet(FXP_HANDLE, :long, 3, :string, "hfile3")
170
+ ch.sends_packet(FXP_WRITE, :long, 9, :string, "hfile3", :int64, 0, :string, "contents of file3")
171
+ ch.gets_packet(FXP_STATUS, :long, 4, :long, 0)
172
+ ch.gets_packet(FXP_HANDLE, :long, 5, :string, "hother1")
173
+ ch.sends_packet(FXP_CLOSE, :long, 10, :string, "hfile1")
174
+ ch.sends_packet(FXP_WRITE, :long, 11, :string, "hother1", :int64, 0, :string, "contents of other1")
175
+ ch.gets_packet(FXP_HANDLE, :long, 6, :string, "hother2")
176
+ ch.sends_packet(FXP_WRITE, :long, 12, :string, "hother2", :int64, 0, :string, "contents of other2")
177
+ ch.gets_packet(FXP_STATUS, :long, 7, :long, 0)
178
+ ch.sends_packet(FXP_CLOSE, :long, 13, :string, "hfile2")
179
+ ch.gets_packet(FXP_STATUS, :long, 8, :long, 0)
180
+ ch.sends_packet(FXP_CLOSE, :long, 14, :string, "hfile3")
181
+ ch.gets_packet(FXP_STATUS, :long, 9, :long, 0)
182
+ ch.sends_packet(FXP_CLOSE, :long, 15, :string, "hother1")
183
+ ch.gets_packet(FXP_STATUS, :long, 10, :long, 0)
184
+ ch.sends_packet(FXP_CLOSE, :long, 16, :string, "hother2")
185
+ ch.gets_packet(FXP_STATUS, :long, 11, :long, 0)
186
+ ch.gets_packet(FXP_STATUS, :long, 12, :long, 0)
187
+ ch.gets_packet(FXP_STATUS, :long, 13, :long, 0)
188
+ ch.gets_packet(FXP_STATUS, :long, 14, :long, 0)
189
+ ch.gets_packet(FXP_STATUS, :long, 15, :long, 0)
190
+ ch.gets_packet(FXP_STATUS, :long, 16, :long, 0)
191
+ end
192
+ end
193
+
194
+ def expect_file(path, data)
195
+ File.stubs(:directory?).with(path).returns(false)
196
+ File.stubs(:exists?).with(path).returns(true)
197
+ file = StringIO.new(data)
198
+ file.stubs(:stat).returns(stub("stat", :size => data.length))
199
+ File.stubs(:open).with(path, "rb").returns(file)
200
+ end
201
+
202
+ def expect_directory(path, entries)
203
+ Dir.stubs(:entries).with(path).returns(entries)
204
+ File.stubs(:directory?).with(path).returns(true)
205
+ end
206
+
207
+ def expect_file_transfer(local, remote, data)
208
+ expect_sftp_session :server_version => 3 do |channel|
209
+ channel.sends_packet(FXP_OPEN, :long, 0, :string, remote, :long, 0x1A, :long, 0)
210
+ channel.gets_packet(FXP_HANDLE, :long, 0, :string, "handle")
211
+ channel.sends_packet(FXP_WRITE, :long, 1, :string, "handle", :int64, 0, :string, data)
212
+ channel.sends_packet(FXP_CLOSE, :long, 2, :string, "handle")
213
+ channel.gets_packet(FXP_STATUS, :long, 1, :long, 0)
214
+ channel.gets_packet(FXP_STATUS, :long, 2, :long, 0)
215
+ end
216
+
217
+ expect_file(local, data)
218
+ end
219
+ end
@@ -0,0 +1,295 @@
1
+
2
+ === 2.5.2 / 25 May 2012
3
+
4
+ * Fix for Net::SSH::KnownHosts::SUPPORTED_TYPE [Marco Sandrini]
5
+
6
+ === 2.5.1 / 24 May 2012
7
+
8
+ * Added missing file to manifest [Marco Sandrini]
9
+
10
+ === 2.5.0 / 24 May 2012
11
+
12
+ * Implement many algorithms [Ryosuke Yamazaki]
13
+ * Key Exchange
14
+ * diffie-hellman-group14-sha1
15
+ * ecdh-sha2-nistp{256,384,521}
16
+ * Host Key
17
+ * ecdsa-sha2-nistp{256,384,521}
18
+ * Authentication
19
+ * ecdsa-sha2-nistp{256,384,521}
20
+ * HMAC
21
+ * hmac-ripemd160
22
+ * Cipher:
23
+ * aes{128,192,256}-ctr
24
+ * camellia{128,192,256}-ctr
25
+ * blowfish-ctr
26
+ * cast128-ctr
27
+ * 3des-ctr
28
+ * arcfour (has problems with weak keys, and should be used with caution)
29
+ * camellia{128,192,256}-cbc
30
+
31
+ === 2.4.0 / 17 May 2012
32
+
33
+ * Support for JRuby + Pageant + Windows [arturaz]
34
+
35
+ === 2.3.0 / 11 Jan 2012
36
+
37
+ * Support for hmac-sha2 and diffie-hellman-group-exchange-sha256 [Ryosuke Yamazaki]
38
+
39
+ === 2.2.2 / 04 Jan 2012
40
+
41
+ * Fixed: Connection hangs on ServerVersion.new(socket, logger) [muffl0n]
42
+ * Avoid dying when unsupported auth mechanisms are defined [pcn]
43
+
44
+ === 2.2.1 / 24 Aug 2011
45
+
46
+ * Do not prompt any passphrases before trying all identities from agent. [musybite]
47
+ (see: http://net-ssh.lighthouseapp.com/projects/36253-net-ssh/tickets/30)
48
+
49
+ === 2.2.0 / 16 Aug 2011
50
+
51
+ * Add support for forward a local UNIX domain socket to a remote TCP socket. [Mark Imbriaco]
52
+
53
+ === 2.1.4 / 3 Apr 2011
54
+
55
+ * Add ConnectionTimeout exception class. [Joel Watson]
56
+ See: https://github.com/net-ssh/net-ssh-multi/pull/1
57
+
58
+
59
+ === 2.1.3 / 2 Mar 2011
60
+
61
+ * Call to transport.closed should be transport.close [Woon Jung]
62
+
63
+
64
+ === 2.1.2 / 1 Mar 2011
65
+
66
+ * Fix for Net::SSH Continues to attempt authentication when notified it is not allowed [Eric Hodel]
67
+ (see: http://net-ssh.lighthouseapp.com/projects/36253-net-ssh/tickets/26)
68
+ * Fix for transport won't be closed if authentication fails [Patrick Marchi]
69
+
70
+
71
+ === 2.1 / 19 Jan 2011
72
+
73
+ * Support "IdentitiesOnly" directive (LH-24) [Musy Bite, Edmund Haselwanter]
74
+ * Speeding up the Loggable module (LH-23) [robbebob]
75
+
76
+
77
+ === 2.0.24 / 14 Jan 2011
78
+
79
+ * Fix for process code to correctly wait until remote_id is set before sending any output, including eof. [Daniel Pittman, Markus Roberts]
80
+ * Fix circular require warning in Ruby 1.9.2 [Gavin Brock]
81
+
82
+
83
+ === 2.0.23 / 03 Jun 2010
84
+
85
+ * delay CHANNEL_EOF packet until output buffer is empty [Rich Lane]
86
+
87
+ Previously, calling #eof! after #send_data would result in the CHANNEL_EOF
88
+ packet being sent immediately, ahead of the data in the output buffer. Now
89
+ buffer becomes empty.
90
+
91
+
92
+ === 2.0.22 / 20 Apr 2010
93
+
94
+ * Fix for: "Parsing the config errors out because it coerces the "1" into an integer and then tries to split it on spaces for multiple host checking." (http://net-ssh.lighthouseapp.com/projects/36253/tickets/10) [Lee Marlow]
95
+
96
+
97
+ === 2.0.21 / 20 Mar 2010
98
+
99
+ * Fix for "IdentifyFile" in ~/.ssh/config does not work if no "Host" statement is given (http://net-ssh.lighthouseapp.com/projects/36253/tickets/9-identifyfile-in-sshconfig-does-not-work-if-no-host-statement-is-given#ticket-9-5) [xbaldauf, Delano Mandelbaum]
100
+
101
+ * Fix for client closes a forwarded connection, but the server is reading, net-ssh terminates with IOError socket closed (http://net-ssh.lighthouseapp.com/projects/36253/tickets/7) [Miklós Fazekas]
102
+
103
+ * Fix for client force closes (RST) a forwarded connection, but server is reading, net-ssh terminates with exception [Miklós Fazekas]
104
+
105
+ * Fix for server closes the sending side, the on_eof is not handled. [Miklós Fazekas]
106
+
107
+ * Removed Hanna dependency in Rakefile [Delano Mandelbaum]
108
+
109
+
110
+ === 2.0.20 / 10 Feb 2010
111
+
112
+ * Support "ProxyCommand none" directive [Andy Lo-A-Foe]
113
+
114
+ === 2.0.19 / 16 Jan 2010
115
+
116
+ * Support plus sign in sshconfig hostname [Jason Weathered]
117
+
118
+ === 2.0.18 / 15 Jan 2010
119
+
120
+ * Fix related to #recv(1) to #readpartial change in 2.0.16 [Hans de Graaff, Delano Mandelbaum]
121
+
122
+
123
+ === 2.0.17 / 14 Dec 2009
124
+
125
+ * Don't load net/ssh/authentication/pageant on Windows with Ruby 1.9 [Travis Reeder, Delano Mandelbaum]
126
+
127
+
128
+ === 2.0.16 / 28 Nov 2009
129
+
130
+ * Fix for "multiple hosts are separated by whitespace" [Akinori MUSHA]
131
+
132
+ * Add support for the ProxyCommand directive [Akinori MUSHA]
133
+
134
+ * Switched from #recv(1) to #readpartial in lib/net/ssh/transport/server_version.rb, so that closed sockets are recognized [Alex Peuchert]
135
+
136
+
137
+ === 2.0.15 / 03 Sep 2009
138
+
139
+ * Scale back IO#select patch so it mutexes only zero-timeout calls [Daniel Azuma, Will Bryant]
140
+
141
+
142
+ === 2.0.14 / 28 Aug 2009
143
+
144
+ * Fix for IO#select threading bug in Ruby 1.8 (LH-1) [Daniel Azuma]
145
+
146
+ * Fix for "uninitialized constant OpenSSL::Digest::MD5" exception in Net::SFTP [DL Redden]
147
+
148
+
149
+ === 2.0.13 / 17 Aug 2009
150
+
151
+ * Added fix for hanging in ServerVersion#negotiate! when using SOCKS5 proxy (GH-9) [Gerald Talton]
152
+
153
+ * Added support for specifying a list of hosts in .ssh/config, with tests (GH-6) [ckoehler, Delano Mandelbaum]
154
+
155
+ * Added tests for arcfour128/256/512 lengths, encryption, and decryption [Delano Mandelbaum]
156
+
157
+ * Skip packet stream tests for arcfour128/256/512 [Delano Mandelbaum]
158
+
159
+ * Fix for OpenSSL cipher key length because it always returns 16, even when 32 byte keys are required, e.g. for arcfour256 and arcfour512 ciphers [Karl Varga]
160
+
161
+
162
+ === 2.0.12 / 08 Jun 2009
163
+
164
+ * Applied patch for arcfour128 and arcfour256 support [Denis Bernard]
165
+
166
+ * Use unbuffered reads when negotiating the protocol version [Steven Hazel]
167
+
168
+
169
+ === 2.0.11 / 24 Feb 2009
170
+
171
+ * Add :key_data option for specifying raw private keys in PEM format [Alex Holems, Andrew Babkin]
172
+
173
+
174
+ === 2.0.10 / 4 Feb 2009
175
+
176
+ * Added Net::SSH.configuration_for to make it easier to query the SSH configuration file(s) [Jamis Buck]
177
+
178
+
179
+ === 2.0.9 / 1 Feb 2009
180
+
181
+ * Specifying non-nil user argument overrides user in .ssh/config [Jamis Buck]
182
+
183
+ * Ignore requests for non-existent channels (workaround ssh server bug) [Jamis Buck]
184
+
185
+ * Add terminate! method for hard shutdown scenarios [Jamis Buck]
186
+
187
+ * Revert to pre-2.0.7 key-loading behavior by default, but load private-key if public-key doesn't exist [Jamis Buck]
188
+
189
+ * Make sure :passphrase option gets passed to key manager [Bob Cotton]
190
+
191
+
192
+ === 2.0.8 / 29 December 2008
193
+
194
+ * Fix private key change from 2.0.7 so that keys are loaded just-in-time, avoiding unecessary prompts from encrypted keys. [Jamis Buck]
195
+
196
+
197
+ === 2.0.7 / 29 December 2008
198
+
199
+ * Make key manager use private keys instead of requiring public key to exist [arilerner@mac.com]
200
+
201
+ * Fix failing tests [arilerner@mac.com]
202
+
203
+ * Don't include pageant when running under JRuby [Angel N. Sciortino]
204
+
205
+
206
+ === 2.0.6 / 6 December 2008
207
+
208
+ * Update the Manifest file so that the gem includes all necessary files [Jamis Buck]
209
+
210
+
211
+ === 2.0.5 / 6 December 2008
212
+
213
+ * Make the Pageant interface comply with more of the Socket interface to avoid related errors [Jamis Buck]
214
+
215
+ * Don't busy-wait on session close for remaining channels to close [Will Bryant]
216
+
217
+ * Ruby 1.9 compatibility [Jamis Buck]
218
+
219
+ * Fix Cipher#final to correctly flag a need for a cipher reset [Jamis Buck]
220
+
221
+
222
+ === 2.0.4 / 27 Aug 2008
223
+
224
+ * Added Connection::Session#closed? and Transport::Session#closed? [Jamis Buck]
225
+
226
+ * Numeric host names in .ssh/config are now parsed correct [Yanko Ivanov]
227
+
228
+ * Make sure the error raised when a public key file is malformed is more informative than a MethodMissing error [Jamis Buck]
229
+
230
+ * Cipher#reset is now called after Cipher#final, with the last n bytes used as the next initialization vector [Jamis Buck]
231
+
232
+
233
+ === 2.0.3 / 27 Jun 2008
234
+
235
+ * Make Net::SSH::Version comparable [Brian Candler]
236
+
237
+ * Fix errors in port forwarding when a channel could not be opened due to a typo in the exception name [Matthew Todd]
238
+
239
+ * Use #chomp instead of #strip when cleaning the version string reported by the remote host, so that trailing whitespace is preserved (this is to play nice with servers like Mocana SSH) [Timo Gatsonides]
240
+
241
+ * Correctly parse ssh_config entries with eq-sign delimiters [Jamis Buck]
242
+
243
+ * Ignore malformed ssh_config entries [Jamis Buck]
244
+
245
+ === 2.0.2 / 29 May 2008
246
+
247
+ * Make sure the agent client understands both RSA "identities answers" [Jamis Buck]
248
+
249
+ * Fixed key truncation bug that caused hmacs other than SHA1 to fail with "corrupt hmac" errors [Jamis Buck]
250
+
251
+ * Fix detection and loading of public keys when the keys don't actually exist [David Dollar]
252
+
253
+
254
+ === 2.0.1 / 5 May 2008
255
+
256
+ * Teach Net::SSH about a handful of default key names [Jamis Buck]
257
+
258
+
259
+ === 2.0.0 / 1 May 2008
260
+
261
+ * Allow the :verbose argument to accept symbols (:debug, etc.) as well as Logger level constants (Logger::DEBUG, etc.) [Jamis Buck]
262
+
263
+
264
+ === 2.0 Preview Release 4 (1.99.3) / 19 Apr 2008
265
+
266
+ * Make sure HOME is set to something sane, even on OS's that don't set it by default [Jamis Buck]
267
+
268
+ * Add a :passphrase option to specify the passphrase to use with private keys [Francis Sullivan]
269
+
270
+ * Open a new auth agent connection for every auth-agent channel request [Jamis Buck]
271
+
272
+
273
+ === 2.0 Preview Release 3 (1.99.2) / 10 Apr 2008
274
+
275
+ * Session properties [Jamis Buck]
276
+
277
+ * Make channel open failure work with a callback so that failures can be handled similarly to successes [Jamis Buck]
278
+
279
+
280
+ === 2.0 Preview Release 2 (1.99.1) / 22 Mar 2008
281
+
282
+ * Partial support for ~/.ssh/config (and related) SSH configuration files [Daniel J. Berger, Jamis Buck]
283
+
284
+ * Added Net::SSH::Test to facilitate testing complex SSH state machines [Jamis Buck]
285
+
286
+ * Reworked Net::SSH::Prompt to use conditionally-selected modules [Jamis Buck, suggested by James Rosen]
287
+
288
+ * Added Channel#eof? and Channel#eof! [Jamis Buck]
289
+
290
+ * Fixed bug in strict host key verifier on cache miss [Mike Timm]
291
+
292
+
293
+ === 2.0 Preview Release 1 (1.99.0) / 21 Aug 2007
294
+
295
+ * First preview release of Net::SSH v2