1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(windows): update SQLCipher to 4.5.0

This commit is contained in:
Maxim Biro 2021-12-07 04:29:24 -05:00 committed by Anthony Bilinski
parent 265e2e1721
commit bc7497a01c
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
2 changed files with 4 additions and 3 deletions

View File

@ -271,7 +271,8 @@ bool RawDatabase::setCipherParameters(SqlCipherParams params, const QString& dat
const QString default4_xParams{"PRAGMA database.cipher_page_size = 4096;" const QString default4_xParams{"PRAGMA database.cipher_page_size = 4096;"
"PRAGMA database.kdf_iter = 256000;" "PRAGMA database.kdf_iter = 256000;"
"PRAGMA database.cipher_hmac_algorithm = HMAC_SHA512;" "PRAGMA database.cipher_hmac_algorithm = HMAC_SHA512;"
"PRAGMA database.cipher_kdf_algorithm = PBKDF2_HMAC_SHA512;"}; "PRAGMA database.cipher_kdf_algorithm = PBKDF2_HMAC_SHA512;"
"PRAGMA database.cipher_memory_security = ON;"}; // got disabled by default in 4.5.0, so manually enable it
QString defaultParams; QString defaultParams;
switch(params) { switch(params) {

View File

@ -391,8 +391,8 @@ set -u
# SQLCipher # SQLCipher
SQLCIPHER_PREFIX_DIR="$DEP_DIR/libsqlcipher" SQLCIPHER_PREFIX_DIR="$DEP_DIR/libsqlcipher"
SQLCIPHER_VERSION=v4.4.0 SQLCIPHER_VERSION=v4.5.0
SQLCIPHER_HASH="0924b2ae1079717954498bda78a30de20ce2a6083076b16214a711567821d148" SQLCIPHER_HASH="20c46a855c47d5a0a159fdcaa8491ec7bdbaa706a734ee52bc76188b929afb14"
SQLCIPHER_FILENAME="$SQLCIPHER_VERSION.tar.gz" SQLCIPHER_FILENAME="$SQLCIPHER_VERSION.tar.gz"
if [ ! -f "$SQLCIPHER_PREFIX_DIR/done" ] if [ ! -f "$SQLCIPHER_PREFIX_DIR/done" ]
then then