tomaswolf opened a new pull request, #338:
URL: https://github.com/apache/mina-sshd/pull/338

   The PKCS#8 private key parser only handled PEM files with unencrypted 
private keys, and with RFC 1421 encrypted private keys (with the "Proc-Type" 
and "DEK-Info" headers).
   
   Add support for PEM files containing RFC 5958 encrypted private keys ("BEGIN 
ENCRYPTED PRIVATE KEY") if Bouncy Castle is present. Such files contain a 
PKCS#8 EncryptedPrivateKeyInfo, which needs PBES2 decryption. Standard Java 
crypto has (or had) various problems with PBES2, so this is supported only via 
Bouncy Castle.
   
   Add tests for reading all kinds of supported keys with either encryption.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to