[ https://issues.apache.org/jira/browse/SSHD-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SSHD-357. ---------------------------------- Resolution: Fixed https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commit;h=ec2bffdfcdb167076a168e21c842e2d7b4e90ee7 > 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)