[
https://issues.apache.org/jira/browse/SSHD-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13941581#comment-13941581
]
Guillaume Nodet commented on SSHD-273:
--------------------------------------
JSch supports hmac-sha2-512 but not by default. However, JSch is bugged and
using it leads to a ArrayIndexOutOfBoundsException because JSch uses a size of
100 for small packets and that's not sufficient to hold the encrypted message.
So it's not really tested with JSch.
> Add RFC 6668 (HMAC SHA-2) support
> ---------------------------------
>
> Key: SSHD-273
> URL: https://issues.apache.org/jira/browse/SSHD-273
> Project: MINA SSHD
> Issue Type: New Feature
> Affects Versions: 0.10.0
> Reporter: Kenny Root
> Assignee: Guillaume Nodet
> Fix For: 0.10.0
>
> Attachments: 0001-SSHD-273-Add-RFC-6668-HMAC-SHA-2-support.patch,
> JSCHMain.java
>
>
> Adds support for HMAC with SHA-2 hashes (SHA-256 and SHA-512) as specified in
> RFC 6668. Both HmacSHA256 and HmacSHA512 are added as they are supported by
> Sun/Oracle JDK, OpenJDK, and BouncyCastle.
--
This message was sent by Atlassian JIRA
(v6.2#6252)