[ 
https://issues.apache.org/jira/browse/SSHD-710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030823#comment-16030823
 ] 

Goldstein Lyor commented on SSHD-710:
-------------------------------------

Here is my problem (besides being unable to reproduce your success in 
connecting) - the {{OpenSSHKeyPairResourceParserTest}} now fails with the 
exception below. Since you claim the patch solves the connection issue, I would 
like to ask you to do a complete job and make sure the test passes as well - 
i.e., recovery of the public key from the private one works as expected.
{noformat:title=OpenSSHKeyPairResourceParserTest}
java.lang.IllegalArgumentException: not a valid GroupElement
        at net.i2p.crypto.eddsa.math.GroupElement.<init>(GroupElement.java:267)
        at 
net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec.<init>(EdDSAPublicKeySpec.java:36)
        at 
org.apache.sshd.common.util.security.eddsa.EdDSASecurityProviderUtils.recoverEDDSAPublicKey(EdDSASecurityProviderUtils.java:102)
        at 
org.apache.sshd.common.util.security.eddsa.OpenSSHEd25519PrivateKeyEntryDecoder.recoverPublicKey(OpenSSHEd25519PrivateKeyEntryDecoder.java:102)
        at 
org.apache.sshd.common.util.security.eddsa.OpenSSHEd25519PrivateKeyEntryDecoder.recoverPublicKey(OpenSSHEd25519PrivateKeyEntryDecoder.java:1)
        at 
org.apache.sshd.common.config.keys.loader.openssh.OpenSSHKeyPairResourceParserTest.testLoadKeyPairs(OpenSSHKeyPairResourceParserTest.java:100)
{noformat}

> Cannot connect standard OpenSSH client/server using ed25519 keys
> ----------------------------------------------------------------
>
>                 Key: SSHD-710
>                 URL: https://issues.apache.org/jira/browse/SSHD-710
>             Project: MINA SSHD
>          Issue Type: New Feature
>    Affects Versions: 1.4.0
>            Reporter: Goldstein Lyor
>            Assignee: Goldstein Lyor
>              Labels: security
>
> It seems that if the SSHD client is using an _ed25519_ identity or the SSHD 
> server presents an _ed25519_ key, then the generated signature is wrong 
> either when (client) public key authentication is executed or (server) KEX.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to