mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SSHD-843) Ability to disable registering security providers using system property
Date Fri, 14 Sep 2018 16:04:00 GMT

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

Goldstein Lyor edited comment on SSHD-843 at 9/14/18 4:03 PM:
--------------------------------------------------------------

Thanks for diagnosing this problem - it is indeed a bug that has gone un-noticed from the
very beginning. It will be fixed in the upcoming (soon to be released version). For now, as
a workaround I can suggest you try the following code *before* invoking any other SSHD code:
{code:java}
public static void main(String[] args) {
    SecurityUtills.setAPrioriDisabledProvider("BC", true);
}
{code}
Please try it and let us know if the code worked (or it requires fixing as well ... :()


was (Author: lgoldstein):
Thanks for diagnosing this problem - it is indeed a bug that has gone un-noticed from the
very beginning. It will be fixed in the upcoming (soon to be released version). For now, as
a workaround I can suggest you try the following code *before* invoking any other SSHD code:
{code:java}
public static void main(String[] args) {
    SecurityUtills.setAPrioriDisabledProvider("BC", true);
}
{code}
Please try it and let us know if the worked (or it requires fixing as well ... :()

> Ability to disable registering security providers using system property
> -----------------------------------------------------------------------
>
>                 Key: SSHD-843
>                 URL: https://issues.apache.org/jira/browse/SSHD-843
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>         Environment: karaf 4.1.5
> Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
>            Reporter: Anton Ram
>            Assignee: Goldstein Lyor
>            Priority: Critical
>
> Karaf (4.1.5) have some issues with starting SshServer when have installed BC libs .
We try to disable registering security provider using -Dorg.apache.sshd.registerBouncyCastle=false
-Dorg.apache.sshd.security.provider.BC.enabled=false but it turned out the BouncyCastleSecurityProviderRegistrar
doesn't check system variables.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message