Update SQLCipher to 4.4.3-S3

This commit is contained in:
Greyson Parrelli 2021-09-08 13:08:31 -04:00
parent b6a4d01d42
commit bb446ac1d5
3 changed files with 3 additions and 4 deletions

View file

@ -509,7 +509,7 @@ dependencies {
implementation 'com.codewaves.stickyheadergrid:stickyheadergrid:0.9.4' implementation 'com.codewaves.stickyheadergrid:stickyheadergrid:0.9.4'
implementation 'com.github.dmytrodanylyk.circular-progress-button:library:1.1.3-S2' implementation 'com.github.dmytrodanylyk.circular-progress-button:library:1.1.3-S2'
implementation 'org.signal:android-database-sqlcipher:4.4.3-S2' implementation 'org.signal:android-database-sqlcipher:4.4.3-S3'
implementation "androidx.sqlite:sqlite:2.1.0" implementation "androidx.sqlite:sqlite:2.1.0"
implementation ('com.googlecode.ez-vcard:ez-vcard:0.9.11') { implementation ('com.googlecode.ez-vcard:ez-vcard:0.9.11') {

View file

@ -17,7 +17,6 @@ public class SqlCipherDatabaseHook implements SQLiteDatabaseHook {
@Override @Override
public void postKey(SQLiteConnection connection) { public void postKey(SQLiteConnection connection) {
connection.execute("PRAGMA cipher_compatibility = 3;", null, null); connection.execute("PRAGMA cipher_compatibility = 3;", null, null);
connection.execute("PRAGMA cipher_memory_security = OFF;", null, null);
connection.execute("PRAGMA kdf_iter = '1';", null, null); connection.execute("PRAGMA kdf_iter = '1';", null, null);
connection.execute("PRAGMA cipher_page_size = 4096;", null, null); connection.execute("PRAGMA cipher_page_size = 4096;", null, null);
} }

View file

@ -570,8 +570,8 @@ dependencyVerification {
['org.signal:aesgcmprovider:0.0.3', ['org.signal:aesgcmprovider:0.0.3',
'6eb4422e8a618b3b76cb2096a3619d251f9e27989dc68307a1e5414c3710f2d1'], '6eb4422e8a618b3b76cb2096a3619d251f9e27989dc68307a1e5414c3710f2d1'],
['org.signal:android-database-sqlcipher:4.4.3-S2', ['org.signal:android-database-sqlcipher:4.4.3-S3',
'f76f42927c967dc7549cb857e953e97993957129e71caf367cb462c59f3b29fd'], 'a9d66fea3ac68c2b7f9889eaaecc655df43072c3d9b4db9f8981bd24868fb009'],
['org.signal:argon2:13.1', ['org.signal:argon2:13.1',
'0f686ccff0d4842bfcc74d92e8dc780a5f159b9376e37a1189fabbcdac458bef'], '0f686ccff0d4842bfcc74d92e8dc780a5f159b9376e37a1189fabbcdac458bef'],