There is an error when using RSA AES-128 with jsch.addIdentity()
When the key is encrypted (when it has a password), then it is not
recognized a valid key by the file KeyPair.java at the line 697.

This returns error messages as "invalid privatekey: [B@54a8ff21"

The method used to add an identity is:
 addIdentity(String, byte[] privatekey, byte[] publickey, byte[]
passphrase);

Keys without password work fine.

Similar issues:
http://sourceforge.net/p/jsch/mailman/message/31621834/
http://sourceforge.net/p/jsch/mailman/message/31623173/
------------------------------------------------------------------------------
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to