Compare commits

...

1 Commits

Author SHA1 Message Date
idk
0e8e8480ea Patch for family key issue in 1.8.0 affecting Android 2022-06-17 03:07:37 -04:00

View File

@ -1069,8 +1069,9 @@ public class Router implements RouterClock.ClockShiftListener {
if (!_familyKeyCryptoFail) { if (!_familyKeyCryptoFail) {
try { try {
_familyKeyCrypto = new FamilyKeyCrypto(_context); _familyKeyCrypto = new FamilyKeyCrypto(_context);
} catch (GeneralSecurityException gse) { } catch (Exception e) {
_log.error("Failed to initialize family key crypto", gse); // Could be IllegalArgumentException from key problems
_log.error("Failed to initialize family key crypto", e);
_familyKeyCryptoFail = true; _familyKeyCryptoFail = true;
} }
} }