You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2019/10/17 07:13:00 UTC

[jira] [Updated] (SSHD-949) Session should use cipher block size and not IV size to calculate padding

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

Lyor Goldstein updated SSHD-949:
--------------------------------
    Affects Version/s: 2.0.3
                       2.2.0
                       2.1.1
                       2.0.1
                       2.1.0
                       2.0.0

> Session should use cipher block size and not IV size to calculate padding
> -------------------------------------------------------------------------
>
>                 Key: SSHD-949
>                 URL: https://issues.apache.org/jira/browse/SSHD-949
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 2.1.0, 2.0.1, 2.1.1, 2.2.0, 2.3.0, 2.0.3
>            Reporter: Lyor Goldstein
>            Assignee: Lyor Goldstein
>            Priority: Major
>
> {code:java|title=AbstractSession.java}
> // values are subsequently used to calculated padding boundary
> inCipherSize = inCipher.getIVSize();
> outCipherSize = outCipher.getIVSize();
> {code}
> By chance, since usually the selected cipher is AES we get 16 which is +both+ the initial vector (IV) and cipher block size.



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

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