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
parent da8885cffb
commit 560751db88
No known key found for this signature in database
GPG Key ID: AB3AD9896472BFA4
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;"
"PRAGMA database.kdf_iter = 256000;"
"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;
switch(params) {

View File

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