mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-09 07:24:06 +01:00
Bump to libsignal v0.91.0
This commit is contained in:
@@ -27,7 +27,7 @@ androidx-navigation3-core = "1.0.0"
|
||||
androidx-core-telecom = "1.0.1"
|
||||
androidx-window = "1.3.0"
|
||||
glide = "4.15.1"
|
||||
libsignal-client = "0.90.0"
|
||||
libsignal-client = "0.91.0"
|
||||
mp4parser = "1.9.39"
|
||||
accompanist = "0.28.0"
|
||||
nanohttpd = "2.3.1"
|
||||
|
||||
@@ -16820,20 +16820,20 @@ https://docs.gradle.org/current/userguide/dependency_verification.html
|
||||
<sha256 value="57b3cf8f247f1990211110734a7d1af413db145c8f17eb1b2cdc9b9321188c2b" origin="Generated by Gradle"/>
|
||||
</artifact>
|
||||
</component>
|
||||
<component group="org.signal" name="libsignal-android" version="0.90.0">
|
||||
<artifact name="libsignal-android-0.90.0.aar">
|
||||
<sha256 value="cb77013d3cc812d19960ced2c708133e89ef677ed5fb63cd94fbffbb4b0539c2" origin="Generated by Gradle"/>
|
||||
<component group="org.signal" name="libsignal-android" version="0.91.0">
|
||||
<artifact name="libsignal-android-0.91.0.aar">
|
||||
<sha256 value="ecafffd411c1a4e5d2576dad512ec65d52488aefeaf87cf10eb9ff497a3c307f" origin="Generated by Gradle"/>
|
||||
</artifact>
|
||||
<artifact name="libsignal-android-0.90.0.module">
|
||||
<sha256 value="7936de7cea312851f505b90cb50414c5638f22b3dea554e08b3e823a21e8365e" origin="Generated by Gradle"/>
|
||||
<artifact name="libsignal-android-0.91.0.module">
|
||||
<sha256 value="db23b8d208c486b4db2dbee2b183b38ac87c8c5d3b93b85c5294684f18600f3c" origin="Generated by Gradle"/>
|
||||
</artifact>
|
||||
</component>
|
||||
<component group="org.signal" name="libsignal-client" version="0.90.0">
|
||||
<artifact name="libsignal-client-0.90.0.jar">
|
||||
<sha256 value="ab7d32ff1b417858feb66baab02185be5cd196247e5db88180d08e6623044260" origin="Generated by Gradle"/>
|
||||
<component group="org.signal" name="libsignal-client" version="0.91.0">
|
||||
<artifact name="libsignal-client-0.91.0.jar">
|
||||
<sha256 value="90f91b69ce7597cae832741209e388d9b9048d047fe728f14b4c933cb8008488" origin="Generated by Gradle"/>
|
||||
</artifact>
|
||||
<artifact name="libsignal-client-0.90.0.module">
|
||||
<sha256 value="54ece76f2c6d8b9012cd81a51f4dfedc727fa66755264743f2eaaf5af7ea0760" origin="Generated by Gradle"/>
|
||||
<artifact name="libsignal-client-0.91.0.module">
|
||||
<sha256 value="e62346a7aa7bcbb3890279ef3c407cbef1bbf25027779f6dc60a57ece36a5f23" origin="Generated by Gradle"/>
|
||||
</artifact>
|
||||
</component>
|
||||
<component group="org.signal" name="ringrtc-android" version="2.67.0">
|
||||
|
||||
+6
-3
@@ -118,7 +118,8 @@ public class SignalServiceCipher {
|
||||
throws UntrustedIdentityException, InvalidKeyException
|
||||
{
|
||||
try {
|
||||
SignalSessionCipher sessionCipher = new SignalSessionCipher(sessionLock, new SessionCipher(signalProtocolStore, destination));
|
||||
SignalProtocolAddress localProtocolAddress = new SignalProtocolAddress(localAddress.getIdentifier(), localDeviceId);
|
||||
SignalSessionCipher sessionCipher = new SignalSessionCipher(sessionLock, new SessionCipher(signalProtocolStore, localProtocolAddress, destination));
|
||||
if (sealedSenderAccess != null) {
|
||||
SignalSealedSessionCipher sealedSessionCipher = new SignalSealedSessionCipher(sessionLock, new SealedSessionCipher(signalProtocolStore, localAddress.getServiceId().getRawUuid(), localAddress.getNumber()
|
||||
.orElse(null), localDeviceId));
|
||||
@@ -187,9 +188,11 @@ public class SignalServiceCipher {
|
||||
throw new InvalidMessageStructureException("Non-UD envelope is missing a UUID!");
|
||||
}
|
||||
|
||||
SignalProtocolAddress localProtocolAddress = new SignalProtocolAddress(localAddress.getIdentifier(), localDeviceId);
|
||||
|
||||
if (envelope.type == Envelope.Type.PREKEY_MESSAGE) {
|
||||
SignalProtocolAddress sourceAddress = new SignalProtocolAddress(sourceServiceId.toString(), envelope.sourceDeviceId);
|
||||
SignalSessionCipher sessionCipher = new SignalSessionCipher(sessionLock, new SessionCipher(signalProtocolStore, sourceAddress));
|
||||
SignalSessionCipher sessionCipher = new SignalSessionCipher(sessionLock, new SessionCipher(signalProtocolStore, localProtocolAddress, sourceAddress));
|
||||
|
||||
paddedMessage = sessionCipher.decrypt(new PreKeySignalMessage(envelope.content.toByteArray()));
|
||||
metadata = new SignalServiceMetadata(getSourceAddress(envelope), envelope.sourceDeviceId, envelope.clientTimestamp, envelope.serverTimestamp, serverDeliveredTimestamp, false, serverGuid, Optional.empty(), destinationStr);
|
||||
@@ -198,7 +201,7 @@ public class SignalServiceCipher {
|
||||
signalProtocolStore.clearSenderKeySharedWith(Collections.singleton(sourceAddress));
|
||||
} else if (envelope.type == Envelope.Type.DOUBLE_RATCHET) {
|
||||
SignalProtocolAddress sourceAddress = new SignalProtocolAddress(sourceServiceId.toString(), envelope.sourceDeviceId);
|
||||
SignalSessionCipher sessionCipher = new SignalSessionCipher(sessionLock, new SessionCipher(signalProtocolStore, sourceAddress));
|
||||
SignalSessionCipher sessionCipher = new SignalSessionCipher(sessionLock, new SessionCipher(signalProtocolStore, localProtocolAddress, sourceAddress));
|
||||
|
||||
paddedMessage = sessionCipher.decrypt(new SignalMessage(envelope.content.toByteArray()));
|
||||
metadata = new SignalServiceMetadata(getSourceAddress(envelope), envelope.sourceDeviceId, envelope.clientTimestamp, envelope.serverTimestamp, serverDeliveredTimestamp, false, serverGuid, Optional.empty(), destinationStr);
|
||||
|
||||
Reference in New Issue
Block a user