tomaswolf opened a new pull request #128: URL: https://github.com/apache/mina-sshd/pull/128
Add support for writing keys in the modern OpenSSH key format using the OpenBSD bcrypt KDF for writing passphrase-protected, encrypted private keys. Add a new OpenSSHKeyPairResourceWriter using a specialized OpenSSHKeyEncryptionContext to make the number of KDF rounds configurable and to have the passphrase as a char[] instead of as a String. Introduce a new SecureByteArrayOutputStream. Includes test cases that generate various keys, write them to files, and load them again. Since this only tests that Apache MINA sshd can work with these keys, I've also manually verified that command-line OpenSSH can use keys generated and written by Java to actually connect to an SSH server. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
