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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to