mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Enable unlimited strength crypto via system Security property (#608)
This commit is contained in:
parent
bda9528392
commit
0a63dd1db4
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ import java.security.Security;
|
||||||
public class Main {
|
public class Main {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
// enable unlimited strength crypto via Policy, supported on relevant JREs
|
||||||
|
Security.setProperty("crypto.policy", "unlimited");
|
||||||
installSecurityProviderWorkaround();
|
installSecurityProviderWorkaround();
|
||||||
|
|
||||||
// Configuring the logger needs to happen before any logger is initialized
|
// Configuring the logger needs to happen before any logger is initialized
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue