mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 19:29:54 +01:00
Always use the UD cert with a UUID.
This commit is contained in:
committed by
Alex Hart
parent
30ac264cd3
commit
b156e4a79a
@@ -79,12 +79,10 @@ public class UuidMigrationJob extends MigrationJob {
|
||||
}
|
||||
|
||||
private static void rotateSealedSenderCerts(@NonNull Context context) throws IOException {
|
||||
SignalServiceAccountManager accountManager = ApplicationDependencies.getSignalServiceAccountManager();
|
||||
byte[] certificate = accountManager.getSenderCertificate();
|
||||
byte[] legacyCertificate = accountManager.getSenderCertificateLegacy();
|
||||
SignalServiceAccountManager accountManager = ApplicationDependencies.getSignalServiceAccountManager();
|
||||
byte[] certificate = accountManager.getSenderCertificate();
|
||||
|
||||
TextSecurePreferences.setUnidentifiedAccessCertificate(context, certificate);
|
||||
TextSecurePreferences.setUnidentifiedAccessCertificateLegacy(context, legacyCertificate);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user