You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/09/11 13:27:34 UTC

[jira] [Commented] (SSHD-336) Allow ECDSA based public key authentication

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

Guillaume Nodet commented on SSHD-336:
--------------------------------------

https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commit;h=44597914edc83f53e3dfb59e370ef7e1de601f11


> Allow ECDSA based public key authentication
> -------------------------------------------
>
>                 Key: SSHD-336
>                 URL: https://issues.apache.org/jira/browse/SSHD-336
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: David Ostrovsky
>            Assignee: Guillaume Nodet
>             Fix For: 0.13.0
>
>         Attachments: 0001-Allow-ECDSA-based-public-key-authentication.patch
>
>
> Public key authentication with ECDSA keys is currently rejected because Signature factories only honors RSA or DSS based public key lookup. So registering the corresponding actories has no effect: [1].
> {code}
> private void initSignatures() {
>     setSignatureFactories(Arrays.<NamedFactory<Signature>> asList(
>         new SignatureDSA.Factory(),
>         new SignatureRSA.Factory(),
>         new SignatureECDSA.NISTP256Factory(),
>         new SignatureECDSA.NISTP384Factory(),
>         new SignatureECDSA.NISTP521Factory()));
>  }
> {code}
> [1] https://gerrit-review.googlesource.com/59351



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)