Skip to content

Restore SQLCipher support#433

Merged
simolus3 merged 4 commits into
mainfrom
sqlcipher
Jun 16, 2026
Merged

Restore SQLCipher support#433
simolus3 merged 4 commits into
mainfrom
sqlcipher

Conversation

@simolus3

@simolus3 simolus3 commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Thanks to a contribution from @davidmartos96, the sqlite3 package has support for SQLCipher again. Adopting SQLCipher instead of SQLite3 Multiple Ciphers can have performance benefits, especially on Apple targets where SQLCipher links to an OS framework for encryption primitives instead of implementing them itself.

Since SQLCipher is enabled through a build option, we don't have to do much in the Dart SDK to support it. Mostly, we should skip running the pragma cipher and pragma legacy statements for sqlite3mc and support detecting SQLCipher at runtime.

@simolus3 simolus3 marked this pull request as ready for review June 15, 2026 14:57
@simolus3 simolus3 requested a review from rkistner June 15, 2026 15:21
@simolus3 simolus3 merged commit 608cf11 into main Jun 16, 2026
13 checks passed
@simolus3 simolus3 deleted the sqlcipher branch June 16, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants