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

Matt Sicker commented on SSHD-704:
----------------------------------

After comparing the attached Java files with my attempt from last weekend, I 
think I've discovered the incompatibility: the existing implementations of 
KeyExchange all encode {{e}} and {{f}} as MPInts rather than as fixed length 
strings. The shared secret {{k}} is still supposed to be encoded as an MPInt, 
but the XDH keys are not.

> Add support for curve25519-sha...@libssh.org  key exchange
> ----------------------------------------------------------
>
>                 Key: SSHD-704
>                 URL: https://issues.apache.org/jira/browse/SSHD-704
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 1.4.0
>            Reporter: Lyor Goldstein
>            Priority: Major
>              Labels: features
>         Attachments: Curve25519.java, Curve25519SHA256AbstractDH.java, 
> Curve25519SHA256DHFactory.java, Curve25519SHA256KeyExchange.java, 
> Curve25519SHA256KeyExchangeFactory.java
>
>
> See
> * [curve25519-sha...@libssh.org kexy exchange 
> specification|https://git.libssh.org/projects/libssh.git/tree/doc/curve25519-sha...@libssh.org.txt]
> * [Secure Shell (SSH) Key Exchange Method using Curve25519 and 
> Curve448|https://tools.ietf.org/html/draft-ietf-curdle-ssh-curves-06]
> * [JEP 324: Key Agreement with Curve25519 and 
> Curve448|http://openjdk.java.net/jeps/324]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to