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] [Commented] (SSHD-843) Ability to disable registering security providers using system property
Date Fri, 14 Sep 2018 15:58: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 commented on SSHD-843:

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:
public static void main(String[] args) {
    SecurityUtills.setAPrioriDisabledProvider("BC", true);
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: Major
> 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

View raw message