mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Use original bouncycastle instead of spongycastle
spongycastle is used by Signal-Android, because android has a crippled bouncycastle. Spongycastle seems to have a problem with Oracle JDK 8. Fixes #9
This commit is contained in:
parent
f479cffc9f
commit
edf5c9eb43
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ repositories {
|
|||
|
||||
dependencies {
|
||||
compile 'org.whispersystems:signal-service-java:2.1.1fetchMessages'
|
||||
compile 'com.madgag.spongycastle:prov:1.54.0.0'
|
||||
compile 'org.bouncycastle:bcprov-jdk15on:1.54'
|
||||
compile 'commons-io:commons-io:2.4'
|
||||
compile 'net.sourceforge.argparse4j:argparse4j:0.7.0'
|
||||
compile 'org.freedesktop.dbus:dbus-java:2.7.0'
|
||||
|
|
|
@ -48,7 +48,7 @@ public class Main {
|
|||
|
||||
public static void main(String[] args) {
|
||||
// Workaround for BKS truststore
|
||||
Security.insertProviderAt(new org.spongycastle.jce.provider.BouncyCastleProvider(), 1);
|
||||
Security.insertProviderAt(new org.bouncycastle.jce.provider.BouncyCastleProvider(), 1);
|
||||
|
||||
Namespace ns = parseArgs(args);
|
||||
if (ns == null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue