mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-23 17:28:40 +00:00
Update libsignalservice to 2.13.0
- Eliminate the explicit spongycastle dependency. All access to primitives is done through the JCE interfaces now, which allows us to use a secure native-backed provider like conscrypt. - Use conscrypt for our default security provider. This gives us fast TLS 1.2 and 1.3 support on all devices, even before they had platform support (like 4.4). - Update minSdk to 18. Unfortunately the JCE interfaces for GCM primitives are JDK 7+ (!) only, which became supported by Android at 18.
This commit is contained in:

committed by
Greyson Parrelli

parent
de60d4d37f
commit
8aa185070b
@@ -25,6 +25,7 @@ import org.whispersystems.libsignal.InvalidKeyException;
|
||||
import org.whispersystems.libsignal.util.guava.Optional;
|
||||
import org.whispersystems.signalservice.api.SignalServiceMessagePipe;
|
||||
import org.whispersystems.signalservice.api.SignalServiceMessageReceiver;
|
||||
import org.whispersystems.signalservice.api.crypto.InvalidCiphertextException;
|
||||
import org.whispersystems.signalservice.api.crypto.ProfileCipher;
|
||||
import org.whispersystems.signalservice.api.crypto.UnidentifiedAccess;
|
||||
import org.whispersystems.signalservice.api.crypto.UnidentifiedAccessPair;
|
||||
@@ -210,7 +211,7 @@ public class RetrieveProfileJob extends ContextJob implements InjectableType {
|
||||
if (!Util.equals(plaintextProfileName, recipient.getProfileName())) {
|
||||
DatabaseFactory.getRecipientDatabase(context).setProfileName(recipient, plaintextProfileName);
|
||||
}
|
||||
} catch (ProfileCipher.InvalidCiphertextException | IOException e) {
|
||||
} catch (InvalidCiphertextException | IOException e) {
|
||||
Log.w(TAG, e);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user