tomaswolf commented on PR #591:
URL: https://github.com/apache/mina-sshd/pull/591#issuecomment-2325114458

   And in `FIPSRegistarInitPlugin` two lines can be removed:
   ```
            if(FIPS140.useCompliantAlgorithms() && 
Security.getProvider("BCFIPS") != null) {
                LOG.info("register FIPSBouncyCastleSecurityProviderRegistar");
                System.setProperty("org.apache.sshd.security.registrars", 
"io.jenkins.plugins.mina_sshd_api.core.bouncycaslte_registar.FIPSBouncyCastleSecurityProviderRegistar");
   -            System.setProperty("org.apache.sshd.security.defaultProvider", 
"BCFIPS");
   -            
System.setProperty("org.apache.sshd.common.util.security.bouncycastle.provider.name",
 "BCFIPS");
            } else {
                LOG.config("not needed to register 
FIPSBouncyCastleSecurityProviderRegistar");
            }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to