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/10/15 20:57:35 UTC

[jira] [Assigned] (SSHD-357) ARCFOUR 128/256 ciphers initialization incorrect - always fails

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

Guillaume Nodet reassigned SSHD-357:
------------------------------------

    Assignee: Guillaume Nodet

> ARCFOUR 128/256 ciphers initialization incorrect - always fails
> ---------------------------------------------------------------
>
>                 Key: SSHD-357
>                 URL: https://issues.apache.org/jira/browse/SSHD-357
>             Project: MINA SSHD
>          Issue Type: Bug
>            Reporter: Goldstein Lyor
>            Assignee: Guillaume Nodet
>             Fix For: 0.13.0
>
>         Attachments: 0003-SSHD-357-ARCFOUR-128-256-ciphers-initialization-inco.patch
>
>
> The ARCFOUR128/256 ciphers inherit the default _BaseCipher#init_ implementation which creates an initialization vector. For RC4, this is not required - and indeed causes _java.security.InvalidAlgorithmParameterException: Parameters not supported_ when the cipher is initialized - even though everything is in order (e.g., see what happens when _SshServer#setUpDefaultCiphers_ is run). This means that these RC4 ciphers are *never* available. The fix (see attached patch file) is to override the _init_ method and provide only a key.



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