You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2013/12/12 13:35:07 UTC
[jira] [Commented] (SSHD-268) Upgrade to BouncyCastle 1.49
[ https://issues.apache.org/jira/browse/SSHD-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846269#comment-13846269 ]
Guillaume Nodet commented on SSHD-268:
--------------------------------------
Yeah, I haven't raised it yet.
Basically, the problem is that the Import-Package header is missing, so you end up with ClassNotFoundException when you try accessing anything from the bundle, in particular all javax.crypto packages are missing.
The header on 1.49 was
{code}
Import-Package =
javax.crypto;resolution:=optional,
javax.crypto.interfaces;resolution:=optional,
javax.crypto.spec;resolution:=optional,
javax.naming;resolution:=optional,
javax.naming.directory;resolution:=optional,
javax.security.auth.x500;resolution:=optional
{code}
but it has been removed in 1.50, making the jar unusable in OSGi.
> Upgrade to BouncyCastle 1.49
> ----------------------------
>
> Key: SSHD-268
> URL: https://issues.apache.org/jira/browse/SSHD-268
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 0.9.0
> Reporter: Colm O hEigeartaigh
> Fix For: 0.10.0
>
> Attachments: sshd-268-revised.patch, sshd-268.patch
>
>
> This task is to upgrade to use BouncyCastle 1.50, from the rather ancient version currently used. This involves switching from the deprecated PEMReader to PEMParser. Patch forthcoming.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)