net-ssh/net-ssh — pull request #37 by nappa (2012-03-26 01:47:24+00:00)
Title: add many algorithm supports

Hi, I wrote a patch that implements many algorighms described below.

* Key Exchange: diffie-hellman-group14-sha1, ecdh-sha2-nistp{256,384,521}
* Host Key: ecdsa-sha2-nistp{256,384,521}
* Authentication: ecdsa-sha2-nistp{256,384,521}
* HMAC: hmac-ripemd160
* Cipher: aes{128,192,256}-ctr, camellia{128,192,256}-ctr, blowfish-ctr, cast128-ctr, 3des-ctr, camellia{128,192,256}-cbc and arcfour (note that arcfour has problems with weak keys, and should be used with caution)

I've tested with these Rubies on Mac OS X:

* Ruby-1.8.6-p420
* Ruby-1.8.7-p358
* Ruby-1.9.2-p318
* Ruby-1.9.2-p318 (Linked with OpenSSL-1.0.1 that has Camellia and IDEA cipher algorithms)
* Ruby-1.9.3-p125
* JRuby-1.6.7 with JRE 1.6.0u29

(note that Ruby-1.8.6 and JRuby doesn't have OpenSSL::PKey::EC implementation, so "ecdh-*" and "ecdsa-*" are unavailable under them.)

And I confirmed compatibility with:

* OpenSSH 5.9-p1
* patched version of OpenSSH-4.7p1 ( to test "camellia-*" cipher algorithms. patches are available at http://www.csg.is.titech.ac.jp/~yanagisawa/Sites/text/camellia-e.html )
* twistedconch 12.0.0 (to test {3des,blowfish,cast128}-ctr)

Hope it helps.