Enable unlimited strength crypto via system Security property (#608)

This commit is contained in:
infra
2021-05-01 02:38:31 -04:00
committed by GitHub
parent bda9528392
commit 0a63dd1db4

View File

@@ -35,6 +35,8 @@ import java.security.Security;
public class Main {
public static void main(String[] args) {
// enable unlimited strength crypto via Policy, supported on relevant JREs
Security.setProperty("crypto.policy", "unlimited");
installSecurityProviderWorkaround();
// Configuring the logger needs to happen before any logger is initialized