mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Use correct sticker pack key length of 32. (#288)
* Use correct sticker pack key length of 32. * Update dependencies Co-authored-by: AsamK <asamk@gmx.de>
This commit is contained in:
parent
57390ae735
commit
b68575dd16
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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 'org.bouncycastle:bcprov-jdk15on:1.64'
|
||||||
compile 'net.sourceforge.argparse4j:argparse4j:0.8.1'
|
compile 'net.sourceforge.argparse4j:argparse4j:0.8.1'
|
||||||
compile 'org.freedesktop.dbus:dbus-java:2.7.0'
|
compile 'org.freedesktop.dbus:dbus-java:2.7.0'
|
||||||
|
|
|
@ -35,7 +35,7 @@ class KeyUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
static byte[] createStickerUploadKey() {
|
static byte[] createStickerUploadKey() {
|
||||||
return getSecretBytes(64);
|
return getSecretBytes(32);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String getSecret(int size) {
|
private static String getSecret(int size) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue