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:
parent
265e2e1721
commit
bc7497a01c
|
@ -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) {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user