Changed encoding of file to prevent warnings when generating docs
Use OpenSSL::PKey.read to read arbitrary private key.
check an availability of UNIXSocket and UNIXServer
Bump version to 2.5.3 and depend on newer jruby-pageant version for Java 1.5 compat.
Implementation of the "none"-authentication method
Add class for stricter host key verification
…coded file. OpenSSL::PKey.read was introduced from 1.9.3. This helps to load private keys generated by `openssl req -newkey` command.
Fix multibyte strings for UTF-8 encoding in Net::SSH messages.
The behavior should be identical, but this avoids some code duplication.
The Secure verifier will not silently add entries to your known_hosts files. Instead it will raise HostKeyUnknown, a subclass of HostKeyError. As with HostKeyMismatch (now also a subclass of HostKeyError), you can call remember_host! on the exception to add the key to known_hosts.
…ava 1.5 compat.
Previously, UTF-8 encoded strings would result in the error: `final': data not multiple of block length (OpenSSL::Cipher::CipherError) This is because cipher padding length was based on character length instead of bytesize. When a UTF-8 character with a bytesize of e.g. 3 was encountered, Net::SSH would incorrectly add 2 more padding than was needed, breaking the block size multiple. Buffer also incorrectly identified the length of the string in write_string using character length instead of bytesize.