You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "KiSeong Park (JIRA)" <ji...@apache.org> on 2015/02/24 11:46:04 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=14334757#comment-14334757 ]
KiSeong Park commented on SSHD-336:
-----------------------------------
It doesn't work on ecdsa-521.
> 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)