You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2018/09/14 16:04:00 UTC
[jira] [Comment Edited] (SSHD-843) Ability to disable registering
security providers using system property
[ 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)