diff --git a/deps/defines.gypi b/deps/defines.gypi index 7f8a37d..3c21359 100644 --- a/deps/defines.gypi +++ b/deps/defines.gypi @@ -30,9 +30,7 @@ 'SQLITE_ENABLE_JSON1', 'SQLITE_INTROSPECTION_PRAGMAS', - # Only actually used on macOS. signal-sqlcipher-extension is used on other - # platforms - 'SQLCIPHER_CRYPTO_CC', + 'SQLCIPHER_CRYPTO_CUSTOM=signal_crypto_provider_setup', 'HAVE_STDINT_H=1', 'HAVE_INT8_T=1', diff --git a/deps/download.js b/deps/download.js index dff0a11..4774c25 100644 --- a/deps/download.js +++ b/deps/download.js @@ -6,9 +6,9 @@ const { Transform } = require('stream'); const { pipeline } = require('stream/promises'); const BASE_URI = `https://build-artifacts.signal.org/desktop`; -const HASH = '4f9381902020998f2d2c2015bdf341484736cd9af7330af194e604a2851e1450'; -const SQLCIPHER_VERSION = '4.6.1'; -const EXTENSION_VERSION = '0.1.0'; +const HASH = 'a50990ae5d2bf6b88b0095c2bda5c64e5b78a6c0944398c59f94f7a1d097d1ed'; +const SQLCIPHER_VERSION = '4.6.1-signal-patch1'; +const EXTENSION_VERSION = '0.2.0'; const TAG = [SQLCIPHER_VERSION, EXTENSION_VERSION].join('--'); const URL = `${BASE_URI}/sqlcipher-v2-${TAG}-${HASH}.tar.gz`; diff --git a/src/better_sqlite3.hpp b/src/better_sqlite3.hpp index dd2bb52..aa1d776 100644 --- a/src/better_sqlite3.hpp +++ b/src/better_sqlite3.hpp @@ -17,7 +17,6 @@ #include #include #include "local_vector.hpp" -#include "signal-sqlcipher-ext.h" #include "signal-tokenizer.h" template