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

Goldstein Lyor reopened SSHD-443:
---------------------------------
      Assignee: Goldstein Lyor  (was: Guillaume Nodet)

The detection is failing for AES-128 (e.g.) - 
_javax.crypto.Cipher.getMaxAllowedKeyLength(...)_=128 (which is OK), but 
_maxKeyLength >= (1l << getBlockSize())_ fails because block size is 16 so _1 
<< 16 = 65536_ which is wrong.

> Improve supported cipher detection
> ----------------------------------
>
>                 Key: SSHD-443
>                 URL: https://issues.apache.org/jira/browse/SSHD-443
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Assignee: Goldstein Lyor
>             Fix For: 1.0.0
>
>
> The detection for supported ciphers actually creates and initialize the 
> cipher, which is very time consuming.
> Checking the maximum allowed key size is a much faster option.



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

Reply via email to