diff --git a/build.gradle b/build.gradle index c79688df..0c842875 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ repositories { } dependencies { - compile 'com.github.turasa:signal-service-java:2.15.3_unofficial_5' + compile 'com.github.turasa:signal-service-java:2.15.3_unofficial_6' compile 'org.bouncycastle:bcprov-jdk15on:1.64' compile 'net.sourceforge.argparse4j:argparse4j:0.8.1' compile 'org.freedesktop.dbus:dbus-java:2.7.0' diff --git a/src/main/java/org/asamk/signal/manager/KeyUtils.java b/src/main/java/org/asamk/signal/manager/KeyUtils.java index bd093e79..fff8179c 100644 --- a/src/main/java/org/asamk/signal/manager/KeyUtils.java +++ b/src/main/java/org/asamk/signal/manager/KeyUtils.java @@ -35,7 +35,7 @@ class KeyUtils { } static byte[] createStickerUploadKey() { - return getSecretBytes(64); + return getSecretBytes(32); } private static String getSecret(int size) {