[ 
https://issues.apache.org/jira/browse/SSHD-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Ostrovsky updated SSHD-336:
---------------------------------

    Attachment: 0001-Allow-ECDSA-based-public-key-authentication.patch

I think this patch still has a problem with second phase of signature 
verification. 

> 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
>         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.2#6252)

Reply via email to