Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use SQLCipher as SQLite engine on web
Summary: This differential compiles SQLCipher-amalgamation as SQLite engine instead of SQLite-amalgamation. Since SQLCipher-amalgamation compilation requires linking against openssl we additionally compile openssl to emscripten wasm and link SQLCipher-amalgamation against it. Test Plan: 1. Open web app before creating new WASM to create database handled by original WASM. 2. Hardcode encryption key in SQLiteQueryExecutor and build new WASM. 3. Ensure that database is re-encrypted by examining logs from shared worker. 4. Ensure that app is as usable as before. Reviewers: kamil Reviewed By: kamil Subscribers: ashoat, tomek Differential Revision: https://phab.comm.dev/D10450
- Loading branch information