You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2018/02/01 15:13:00 UTC

[jira] [Created] (KARAF-5590) SSHD client authentication fails with JDK 1.8.0_161

Jean-Baptiste Onofré created KARAF-5590:
-------------------------------------------

             Summary: SSHD client authentication fails with JDK 1.8.0_161
                 Key: KARAF-5590
                 URL: https://issues.apache.org/jira/browse/KARAF-5590
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 4.0.11, 4.2.0, 4.1.5


After upgrading to JDK 1.8.0_161, the {{bin/client}} fails to connect with:

{code}
"java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size"
{code}

It's related to oracle changed the defaults for DSA keys in jarsigner and keytool in jdk 1.8.151, see http://www.oracle.com/technetwork/java/javase/8u151-relnotes-3850493.html

I think we can workaround by providing a key to {{bin/client}} and overriding the one in {{etc/org.apache.karaf.shell.cfg}} configuration file.

At least, it has to be tested.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)