[ 
https://issues.apache.org/jira/browse/SSHD-987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17095590#comment-17095590
 ] 

Lyor Goldstein commented on SSHD-987:
-------------------------------------

[~wolft] thanks for the bug detection - see attached PR. If you have code that 
uses it and would like to also test the code then see 
https://github.com/lgoldstein/mina-sshd/tree/SSHD-987 (or you trust the unit 
test for it...)

> AESPrivateKeyObfuscator generates wrong IV length
> -------------------------------------------------
>
>                 Key: SSHD-987
>                 URL: https://issues.apache.org/jira/browse/SSHD-987
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Thomas Wolf
>            Assignee: Lyor Goldstein
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{AESPrivateKeyObfuscator.generateInitializationVector()}} inherited from 
> {{AbstractPrivateKeyObfuscator}} produces IVs of length {{keyLength / 
> Byte.SIZE}}.
> This works only for AES 128, but not for AES 192 or AES 256. The IV length 
> for AES is 16.
> Compare also SSHD-873.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to