Hi, When trying to use the default SSHServer (sshd = SshServer.setUpDefaultServer();) I ran into an issue where the default Ciphers weren't loading correctly. I get this exception:
Exception in thread "main" java.lang.SecurityException: JCE cannot authenticate the provider BC at javax.crypto.Cipher.getInstance(DashoA13*..) at javax.crypto.Cipher.getInstance(DashoA13*..) at org.apache.hadoop.gateway.ssh.Test.main(Test.java:15) Caused by: java.util.jar.JarException: Cannot parse file:/Users/clumjo/.m2/repository/org/apache/directory/server/apacheds-all/2.0.0-M15/apacheds-all-2....<file:///Users/clumjo/.m2/repository/org/apache/directory/server/apacheds-all/2.0.0-M15/apacheds-all-2.0.0-M15.jar> at javax.crypto.SunJCE_c.a(DashoA13*..) at javax.crypto.SunJCE_b.b(DashoA13*..) at javax.crypto.SunJCE_b.a(DashoA13*..) ... 3 more It looks like it's having trouble with the signatures when trying to load the bouncy castle jars from apacheds-all. My temporary workaround was to disable bouncy castle right before setting up the default server (SecurityUtils.setRegisterBouncyCastle(false);). Is there any way I could make this work without disabling bouncy castle? Thanks, Josh
