mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-09-22 06:29:04 +00:00
Update libsignal-service
This commit is contained in:
parent
36649a8526
commit
c94da00212
@ -12,7 +12,7 @@ slf4j-api = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
|
|||||||
slf4j-jul = { module = "org.slf4j:jul-to-slf4j", version.ref = "slf4j" }
|
slf4j-jul = { module = "org.slf4j:jul-to-slf4j", version.ref = "slf4j" }
|
||||||
logback = "ch.qos.logback:logback-classic:1.5.32"
|
logback = "ch.qos.logback:logback-classic:1.5.32"
|
||||||
|
|
||||||
signalservice = "com.github.turasa:signal-service-java:2.15.3_unofficial_140"
|
signalservice = "com.github.turasa:signal-service-java:2.15.3_unofficial_141"
|
||||||
sqlite = "org.xerial:sqlite-jdbc:3.51.2.0"
|
sqlite = "org.xerial:sqlite-jdbc:3.51.2.0"
|
||||||
hikari = "com.zaxxer:HikariCP:7.0.2"
|
hikari = "com.zaxxer:HikariCP:7.0.2"
|
||||||
junit-jupiter-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
|
junit-jupiter-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
|
||||||
|
|||||||
@ -20,6 +20,7 @@ public class ServiceConfig {
|
|||||||
|
|
||||||
public static final int MAX_ATTACHMENT_SIZE = 150 * 1024 * 1024;
|
public static final int MAX_ATTACHMENT_SIZE = 150 * 1024 * 1024;
|
||||||
public static final long MAX_ENVELOPE_SIZE = 0;
|
public static final long MAX_ENVELOPE_SIZE = 0;
|
||||||
|
public static final int MAX_INCREMENTAL_MACS_PER_ENVELOPE = 10;
|
||||||
public static final int MAX_MESSAGE_SIZE_BYTES = 2000;
|
public static final int MAX_MESSAGE_SIZE_BYTES = 2000;
|
||||||
public static final long AVATAR_DOWNLOAD_FAILSAFE_MAX_SIZE = 10 * 1024 * 1024;
|
public static final long AVATAR_DOWNLOAD_FAILSAFE_MAX_SIZE = 10 * 1024 * 1024;
|
||||||
public static final boolean AUTOMATIC_NETWORK_RETRY = true;
|
public static final boolean AUTOMATIC_NETWORK_RETRY = true;
|
||||||
|
|||||||
@ -328,6 +328,7 @@ public class SignalDependencies {
|
|||||||
Optional.empty(),
|
Optional.empty(),
|
||||||
executor,
|
executor,
|
||||||
ServiceConfig.MAX_ENVELOPE_SIZE,
|
ServiceConfig.MAX_ENVELOPE_SIZE,
|
||||||
|
ServiceConfig.MAX_INCREMENTAL_MACS_PER_ENVELOPE,
|
||||||
() -> true,
|
() -> true,
|
||||||
true,
|
true,
|
||||||
true));
|
true));
|
||||||
|
|||||||
@ -50,9 +50,9 @@ run() {
|
|||||||
if [ "$JSON_RPC" -eq 1 ]; then
|
if [ "$JSON_RPC" -eq 1 ]; then
|
||||||
"$SIGNAL_CLI" $@
|
"$SIGNAL_CLI" $@
|
||||||
elif [ "$DBUS" -eq 1 ]; then
|
elif [ "$DBUS" -eq 1 ]; then
|
||||||
"$SIGNAL_CLI" --dbus --verbose --verbose $@ | grep -v '^Warning:' | grep -v 'at org'
|
"$SIGNAL_CLI" --dbus --verbose --verbose $@ | grep -v 'Warning:' | grep -v 'at org'
|
||||||
else
|
else
|
||||||
"$SIGNAL_CLI" --service-environment="staging" --verbose --verbose $@ | grep -v '^Warning:' | grep -v 'at org'
|
"$SIGNAL_CLI" --service-environment="staging" --verbose --verbose $@ | grep -v 'Warning:' | grep -v 'at org'
|
||||||
fi
|
fi
|
||||||
set +x
|
set +x
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1476,6 +1476,20 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "kotlin.Pair",
|
||||||
|
"jniAccessible": true,
|
||||||
|
"methods": [
|
||||||
|
{
|
||||||
|
"name": "getFirst",
|
||||||
|
"parameterTypes": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "getSecond",
|
||||||
|
"parameterTypes": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "kotlin.SafePublicationLazyImpl",
|
"type": "kotlin.SafePublicationLazyImpl",
|
||||||
"fields": [
|
"fields": [
|
||||||
@ -5382,6 +5396,18 @@
|
|||||||
{
|
{
|
||||||
"type": "org.signal.core.models.ServiceId$PNI"
|
"type": "org.signal.core.models.ServiceId$PNI"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "org.signal.libsignal.attest.AttestationDataException",
|
||||||
|
"jniAccessible": true,
|
||||||
|
"methods": [
|
||||||
|
{
|
||||||
|
"name": "<init>",
|
||||||
|
"parameterTypes": [
|
||||||
|
"java.lang.String"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "org.signal.libsignal.internal.CompletableFuture",
|
"type": "org.signal.libsignal.internal.CompletableFuture",
|
||||||
"jniAccessible": true,
|
"jniAccessible": true,
|
||||||
@ -5693,6 +5719,78 @@
|
|||||||
{
|
{
|
||||||
"type": "org.signal.libsignal.protocol.SessionCipher$1",
|
"type": "org.signal.libsignal.protocol.SessionCipher$1",
|
||||||
"jniAccessible": true,
|
"jniAccessible": true,
|
||||||
|
"methods": [
|
||||||
|
{
|
||||||
|
"name": "getIdentityKey",
|
||||||
|
"parameterTypes": [
|
||||||
|
"long"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "getLocalIdentityKeyPair",
|
||||||
|
"parameterTypes": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "getLocalRegistrationId",
|
||||||
|
"parameterTypes": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "isTrustedIdentity",
|
||||||
|
"parameterTypes": [
|
||||||
|
"long",
|
||||||
|
"long",
|
||||||
|
"int"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "loadPreKey",
|
||||||
|
"parameterTypes": [
|
||||||
|
"int"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "removePreKey",
|
||||||
|
"parameterTypes": [
|
||||||
|
"int"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "saveIdentityKey",
|
||||||
|
"parameterTypes": [
|
||||||
|
"long",
|
||||||
|
"long"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "org.signal.libsignal.protocol.SessionCipher$2",
|
||||||
|
"jniAccessible": true,
|
||||||
|
"methods": [
|
||||||
|
{
|
||||||
|
"name": "loadSession",
|
||||||
|
"parameterTypes": [
|
||||||
|
"long"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "loadSignedPreKey",
|
||||||
|
"parameterTypes": [
|
||||||
|
"int"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "storeSession",
|
||||||
|
"parameterTypes": [
|
||||||
|
"long",
|
||||||
|
"long"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "org.signal.libsignal.protocol.SessionCipher$3",
|
||||||
|
"jniAccessible": true,
|
||||||
"methods": [
|
"methods": [
|
||||||
{
|
{
|
||||||
"name": "loadPreKey",
|
"name": "loadPreKey",
|
||||||
@ -5709,7 +5807,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "org.signal.libsignal.protocol.SessionCipher$2",
|
"type": "org.signal.libsignal.protocol.SessionCipher$4",
|
||||||
"jniAccessible": true,
|
"jniAccessible": true,
|
||||||
"methods": [
|
"methods": [
|
||||||
{
|
{
|
||||||
@ -5720,6 +5818,26 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "org.signal.libsignal.protocol.SessionCipher$5",
|
||||||
|
"jniAccessible": true,
|
||||||
|
"methods": [
|
||||||
|
{
|
||||||
|
"name": "loadKyberPreKey",
|
||||||
|
"parameterTypes": [
|
||||||
|
"int"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "markKyberPreKeyUsed",
|
||||||
|
"parameterTypes": [
|
||||||
|
"int",
|
||||||
|
"int",
|
||||||
|
"long"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "org.signal.libsignal.protocol.SignalProtocolAddress",
|
"type": "org.signal.libsignal.protocol.SignalProtocolAddress",
|
||||||
"jniAccessible": true,
|
"jniAccessible": true,
|
||||||
@ -5751,6 +5869,9 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "org.signal.libsignal.protocol.ecc.ECPrivateKey"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "org.signal.libsignal.protocol.ecc.ECPublicKey",
|
"type": "org.signal.libsignal.protocol.ecc.ECPublicKey",
|
||||||
"jniAccessible": true,
|
"jniAccessible": true,
|
||||||
@ -5775,6 +5896,27 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "org.signal.libsignal.protocol.groups.GroupCipher$1",
|
||||||
|
"jniAccessible": true,
|
||||||
|
"methods": [
|
||||||
|
{
|
||||||
|
"name": "loadSenderKey",
|
||||||
|
"parameterTypes": [
|
||||||
|
"long",
|
||||||
|
"java.util.UUID"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "storeSenderKey",
|
||||||
|
"parameterTypes": [
|
||||||
|
"long",
|
||||||
|
"java.util.UUID",
|
||||||
|
"long"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "org.signal.libsignal.protocol.groups.state.SenderKeyRecord",
|
"type": "org.signal.libsignal.protocol.groups.state.SenderKeyRecord",
|
||||||
"jniAccessible": true,
|
"jniAccessible": true,
|
||||||
@ -5966,10 +6108,26 @@
|
|||||||
"allDeclaredMethods": true,
|
"allDeclaredMethods": true,
|
||||||
"jniAccessible": true
|
"jniAccessible": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "org.signal.libsignal.protocol.state.internal.IdentityKeyStore",
|
||||||
|
"jniAccessible": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "org.signal.libsignal.protocol.state.internal.KyberPreKeyStore",
|
||||||
|
"jniAccessible": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "org.signal.libsignal.protocol.state.internal.PreKeyStore",
|
"type": "org.signal.libsignal.protocol.state.internal.PreKeyStore",
|
||||||
"jniAccessible": true
|
"jniAccessible": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "org.signal.libsignal.protocol.state.internal.SenderKeyStore",
|
||||||
|
"jniAccessible": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "org.signal.libsignal.protocol.state.internal.SessionStore",
|
||||||
|
"jniAccessible": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "org.signal.libsignal.protocol.state.internal.SignedPreKeyStore",
|
"type": "org.signal.libsignal.protocol.state.internal.SignedPreKeyStore",
|
||||||
"jniAccessible": true
|
"jniAccessible": true
|
||||||
@ -9811,4 +9969,4 @@
|
|||||||
"bundle": "net.sourceforge.argparse4j.internal.ArgumentParserImpl"
|
"bundle": "net.sourceforge.argparse4j.internal.ArgumentParserImpl"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user