# Issues

**URL:** https://discuss.zetetic.net/c/sqlcipher/issues/11.md?page=1

[Latest](https://discuss.zetetic.net/latest.md) · [Categories](https://discuss.zetetic.net/categories.md)

**Page:** 2

---

## [Root cause for crash?](https://discuss.zetetic.net/t/root-cause-for-crash/6849)

<div class="topic-metadata">

**Author:** [@Deb](https://discuss.zetetic.net/u/Deb)\
**Replies:** 1\
**Last updated:** [February 25, 2025, 9:19pm UTC](https://discuss.zetetic.net/t/root-cause-for-crash/6849 "2025-02-25T21:19:39Z")

</div>

Hi Everyone, Can you please share any insights on the following stack that I see for my dll just after adding SqlCipher support? 00 ntdll!NtWaitForMultipleObjects 01 KERNELBASE!WaitForMultipleObjectsEx 02 KERNELBASE!…

---

## [Downgrade sqlcipher encryption from 4 to 3 via cli](https://discuss.zetetic.net/t/downgrade-sqlcipher-encryption-from-4-to-3-via-cli/6800)

<div class="topic-metadata">

**Author:** [@genintel](https://discuss.zetetic.net/u/genintel)\
**Replies:** 3\
**Last updated:** [January 22, 2025, 2:38pm UTC](https://discuss.zetetic.net/t/downgrade-sqlcipher-encryption-from-4-to-3-via-cli/6800 "2025-01-22T14:38:01Z")

</div>

I have the latest sqlcipher installed on my system, and I use db with cipher default 4. I want to keep it as 4 so all my bash scripts go on working just fine. I am trying to access this DB via php pdo, unfortunately th…

---

## [Hash function in termux](https://discuss.zetetic.net/t/hash-function-in-termux/6701)

<div class="topic-metadata">

**Author:** [@Eliran\_Refael](https://discuss.zetetic.net/u/Eliran_Refael)\
**Replies:** 1\
**Last updated:** [January 21, 2025, 3:33pm UTC](https://discuss.zetetic.net/t/hash-function-in-termux/6701 "2025-01-21T15:33:38Z")

</div>

Hey, I started to play with cipher in termux on android. Since cipher already uses encryption libraries, are they automatically enabled for the sqlite too? I tried SHA512(‘text’) with no luck… If not, how can i achiev…

---

## [Breaking changes migrating from android-database-sqlcipher 4.5.3 to sqlcipher-android 4.6.1](https://discuss.zetetic.net/t/breaking-changes-migrating-from-android-database-sqlcipher-4-5-3-to-sqlcipher-android-4-6-1/6762)

<div class="topic-metadata">

**Author:** [@dev\_danny](https://discuss.zetetic.net/u/dev_danny)\
**Replies:** 5\
**Last updated:** [December 19, 2024, 3:22pm UTC](https://discuss.zetetic.net/t/breaking-changes-migrating-from-android-database-sqlcipher-4-5-3-to-sqlcipher-android-4-6-1/6762 "2024-12-19T15:22:25Z")

</div>

Hi here There seem to be lots of breaking changes from migrating from android-database-sqlcipher 4.5.3 to sqlcipher-android 4.6.1 is there like a detailed documentation for the changes? For example, SQLiteDatabaseHook …

---

## [Trouble using sqlcipher\_export() from .NET](https://discuss.zetetic.net/t/trouble-using-sqlcipher-export-from-net/6732)

<div class="topic-metadata">

**Author:** [@RayHayes](https://discuss.zetetic.net/u/RayHayes)\
**Replies:** 1\
**Last updated:** [November 10, 2024, 6:19am UTC](https://discuss.zetetic.net/t/trouble-using-sqlcipher-export-from-net/6732 "2024-11-10T06:19:26Z")

</div>

I’ve followed the guidance for a few days now trying to debug where my code is incorrect. I get the 26 error after it runs trying to convert a plaintext to encrypted. Any pointers? This code executes and used to work. S…

---

## [Is there interest in the WASM build?](https://discuss.zetetic.net/t/is-there-interest-in-the-wasm-build/5922)

<div class="topic-metadata">

**Author:** [@mch](https://discuss.zetetic.net/u/mch)\
**Replies:** 6\
**Last updated:** [October 31, 2024, 1:32pm UTC](https://discuss.zetetic.net/t/is-there-interest-in-the-wasm-build/5922 "2024-10-31T13:32:47Z")

</div>

I have a browser based project where I want to use an encrypted database. SQLite already has a WASM build that can use Origin Private File System for storage, and I managed to get sqlcipher building for WASM as well. I u…

---

## [Errors with mlock/VirtualLock in CI/CD pipelines](https://discuss.zetetic.net/t/errors-with-mlock-virtuallock-in-ci-cd-pipelines/6704)

<div class="topic-metadata">

**Author:** [@albertgi](https://discuss.zetetic.net/u/albertgi)\
**Replies:** 2\
**Last updated:** [October 24, 2024, 7:03am UTC](https://discuss.zetetic.net/t/errors-with-mlock-virtuallock-in-ci-cd-pipelines/6704 "2024-10-24T07:03:02Z")

</div>

We have updated SQLCipher from 4.5.7 to 4.6.1 built for Windows and Linux and now run into the following problem: We run small mocha tests for our application and its database in a gitlab pipeline on a Windows Build Ser…

---

## [iOS .net 8, Failed to load AOT module 'SQLitePCLRaw.core'](https://discuss.zetetic.net/t/ios-net-8-failed-to-load-aot-module-sqlitepclraw-core/6708)

<div class="topic-metadata">

**Author:** [@Sven](https://discuss.zetetic.net/u/Sven)\
**Replies:** 1\
**Last updated:** [October 23, 2024, 1:11pm UTC](https://discuss.zetetic.net/t/ios-net-8-failed-to-load-aot-module-sqlitepclraw-core/6708 "2024-10-23T13:11:36Z")

</div>

hello, I have installed the latest SQLCipher 4.6.1 for iOS .Net8 and get this error: error: Failed to load AOT module ‘SQLitePCLRaw.core’ while running in aot-only mode: doesn’t match assembly. This crashes my app, ca…

---

## [The sqlcipher builder does not find sqlite3.exe](https://discuss.zetetic.net/t/the-sqlcipher-builder-does-not-find-sqlite3-exe/6633)

<div class="topic-metadata">

**Author:** [@Ferdonan](https://discuss.zetetic.net/u/Ferdonan)\
**Replies:** 0\
**Last updated:** [September 7, 2024, 6:48pm UTC](https://discuss.zetetic.net/t/the-sqlcipher-builder-does-not-find-sqlite3-exe/6633 "2024-09-07T18:48:13Z")

</div>

On Windows 11, when I try to install sqlCipher to the directory cloned from GitHub - sqlcipher/sqlcipher: SQLCipher is a standalone fork of SQLite that adds 256 bit AES encryption of database files and other security fea…

---

## [Row not saving with ATTACH from another DB in WAL mode](https://discuss.zetetic.net/t/row-not-saving-with-attach-from-another-db-in-wal-mode/6546)

<div class="topic-metadata">

**Author:** [@Ojuswi](https://discuss.zetetic.net/u/Ojuswi)\
**Replies:** 1\
**Last updated:** [September 17, 2024, 5:23pm UTC](https://discuss.zetetic.net/t/row-not-saving-with-attach-from-another-db-in-wal-mode/6546 "2024-09-17T17:23:38Z")

</div>

Hi, I noticed something interesting and want to understand if it’s expected. There are two DBs plain.db and cipher.db (encrypted) Create a sqlite connection to plain.db and a sqlcipher connection to cipher.db Attach a…

---

## ["Attempt to get length of null array" when calling SQLiteDatabase.delete()](https://discuss.zetetic.net/t/attempt-to-get-length-of-null-array-when-calling-sqlitedatabase-delete/6618)

<div class="topic-metadata">

**Author:** [@marcardar](https://discuss.zetetic.net/u/marcardar)\
**Replies:** 10\
**Last updated:** [September 6, 2024, 1:04pm UTC](https://discuss.zetetic.net/t/attempt-to-get-length-of-null-array-when-calling-sqlitedatabase-delete/6618 "2024-09-06T13:04:01Z")

</div>

When calling: delete("foo", "\_id in (123, 456)", null) I noticed (in crashlytics) this error: java.lang.NullPointerException: Attempt to get length of null array at net.zetetic.database.sqlcipher.SQLiteDatabase…

---

## [Windows 7 64-bit crash](https://discuss.zetetic.net/t/windows-7-64-bit-crash/6070)

<div class="topic-metadata">

**Author:** [@hezonghua](https://discuss.zetetic.net/u/hezonghua)\
**Replies:** 6\
**Last updated:** [August 25, 2024, 7:17am UTC](https://discuss.zetetic.net/t/windows-7-64-bit-crash/6070 "2024-08-25T07:17:51Z")

</div>

Hi, i am new in sqlcipher. I use sqlcipher to encrypt sqlite3 database. I built sqlcipher.dll myself with source code which version is 3.41.2. I met crash several times. Sometimes error module name is ntdll.dll, sometim…

---

## [\[Android\] SQLCipher support for Android SDK 35/16K page sizes?](https://discuss.zetetic.net/t/android-sqlcipher-support-for-android-sdk-35-16k-page-sizes/6460)

<div class="topic-metadata">

**Author:** [@archifishalbtc](https://discuss.zetetic.net/u/archifishalbtc)\
**Replies:** 11\
**Last updated:** [August 21, 2024, 6:49pm UTC](https://discuss.zetetic.net/t/android-sqlcipher-support-for-android-sdk-35-16k-page-sizes/6460 "2024-08-21T18:49:36Z")

</div>

Experimenting at the moment with updating our app to support 16K page sizes as per Support 16 KB page sizes | Android Developers I haven’t noticed this being mentioned in any recent release notes for SQLCipher for And…

---

## [جلب الحبيب العنيد -002.010405.81277- اكبر - شيخ روحاني 💯](https://discuss.zetetic.net/t/002-010405-81277/6587)

<div class="topic-metadata">

**Author:** [@DssDa\_Tre](https://discuss.zetetic.net/u/DssDa_Tre)\
**Replies:** 1\
**Last updated:** [August 16, 2024, 2:27pm UTC](https://discuss.zetetic.net/t/002-010405-81277/6587 "2024-08-16T14:27:06Z")

</div>

implementation (“androidx.sqlite:sqlite:2.2.0”)\*\* if i running my app in my device samsung S10, my app crash and this error android.database.sqlite.SQLiteException: file is not a database (code 26): , while compiling: S…

---

## [SQLCipher Android 4.5.0 support end date](https://discuss.zetetic.net/t/sqlcipher-android-4-5-0-support-end-date/6577)

<div class="topic-metadata">

**Author:** [@Sunil\_Kumar](https://discuss.zetetic.net/u/Sunil_Kumar)\
**Replies:** 1\
**Last updated:** [August 14, 2024, 1:47pm UTC](https://discuss.zetetic.net/t/sqlcipher-android-4-5-0-support-end-date/6577 "2024-08-14T13:47:08Z")

</div>

Hi There, Does anyone know when version 4.5.0 will be supported? I am currently using sqlcipher Android version 4.5.0 but the current release is 4.6.0 So I am in doubt about which date version 4.5.0 will be supported. …

---

## [SQLCipher with SQLite.Net.Exensions in .net maui](https://discuss.zetetic.net/t/sqlcipher-with-sqlite-net-exensions-in-net-maui/6542)

<div class="topic-metadata">

**Author:** [@achristy](https://discuss.zetetic.net/u/achristy)\
**Replies:** 7\
**Last updated:** [July 29, 2024, 8:58pm UTC](https://discuss.zetetic.net/t/sqlcipher-with-sqlite-net-exensions-in-net-maui/6542 "2024-07-29T20:58:25Z")

</div>

Hello. I am interested in purchasing a commercial license for sqlcipher, but I have some questions about how this will actually work. I have a .net maui cross platform app currently in production (supporting iOS and Wi…

---

## ['sqlite3\_key' unrecognized by gcc compiler](https://discuss.zetetic.net/t/sqlite3-key-unrecognized-by-gcc-compiler/6551)

<div class="topic-metadata">

**Author:** [@yel1337](https://discuss.zetetic.net/u/yel1337)\
**Replies:** 0\
**Last updated:** [July 24, 2024, 3:21am UTC](https://discuss.zetetic.net/t/sqlite3-key-unrecognized-by-gcc-compiler/6551 "2024-07-24T03:21:40Z")

</div>

Necessary ‘#include \<sqlite3.h\>’ ’ #define SQLITE\_HAS\_CODEC 1’ are included in src file yet still resulted to “implicit declaration of function ‘sqlite3\_key’; did you mean ‘sqlite3\_log’?” when compiling using ‘gcc -I /us…

---

## [android.database.sqlite.SQLiteException: file is not a database (code 26): , while compiling: SELECT COUNT(\*) FROM sqlite\_schema;](https://discuss.zetetic.net/t/android-database-sqlite-sqliteexception-file-is-not-a-database-code-26-while-compiling-select-count-from-sqlite-schema/6537)

<div class="topic-metadata">

**Author:** [@Ali\_Imran](https://discuss.zetetic.net/u/Ali_Imran)\
**Replies:** 3\
**Last updated:** [July 16, 2024, 8:38pm UTC](https://discuss.zetetic.net/t/android-database-sqlite-sqliteexception-file-is-not-a-database-code-26-while-compiling-select-count-from-sqlite-schema/6537 "2024-07-16T20:38:42Z")

</div>

Hay Team, i am using : \*\*implementation ("net.zetetic:sqlcipher-android:4.6.0@aar")\*\* \*\* implementation (“androidx.sqlite:sqlite:2.2.0”)\*\* if i running my app in my device samsung S10, my app crash and this error…

---

## [Difficulty Migrating Database from SQLCipher 3.5.9 to 4.5.4 - android.database.sqlite.SQLiteException: file is not a database (code 26): ,](https://discuss.zetetic.net/t/difficulty-migrating-database-from-sqlcipher-3-5-9-to-4-5-4-android-database-sqlite-sqliteexception-file-is-not-a-database-code-26/6509)

<div class="topic-metadata">

**Author:** [@Ahlem\_Jarrar](https://discuss.zetetic.net/u/Ahlem_Jarrar)\
**Replies:** 3\
**Last updated:** [June 27, 2024, 1:12pm UTC](https://discuss.zetetic.net/t/difficulty-migrating-database-from-sqlcipher-3-5-9-to-4-5-4-android-database-sqlite-sqliteexception-file-is-not-a-database-code-26/6509 "2024-06-27T13:12:40Z")

</div>

We are experiencing difficulties migrating our database from SQLCipher version 3.5.9 to 4.5.4. android.database.sqlite.SQLiteException: file is not a database (code 26): , Steps Taken Attempted Option 1 from Documentat…

---

## [Build Failed: 'openssl.cypto.h' file not found ， iOS project](https://discuss.zetetic.net/t/build-failed-openssl-cypto-h-file-not-found-ios-project/6494)

<div class="topic-metadata">

**Author:** [@ossorry](https://discuss.zetetic.net/u/ossorry)\
**Replies:** 7\
**Last updated:** [June 20, 2024, 1:07am UTC](https://discuss.zetetic.net/t/build-failed-openssl-cypto-h-file-not-found-ios-project/6494 "2024-06-20T01:07:16Z")

</div>

I’m doing the source integration through Git （https://www.zetetic.net/sqlcipher/ios-tutorial/#option-1-source-integration）, but cannot get the right result. There’s a similar question with this issue ‘openssl/rand.h’ fi…

---

## [Sqlciper with php](https://discuss.zetetic.net/t/sqlciper-with-php/6229)

<div class="topic-metadata">

**Author:** [@Native\_Code](https://discuss.zetetic.net/u/Native_Code)\
**Replies:** 1\
**Last updated:** [June 19, 2024, 7:17am UTC](https://discuss.zetetic.net/t/sqlciper-with-php/6229 "2024-06-19T07:17:59Z")

</div>

how can run it on PHP Codeigniter?

---

## [SQLCipher Commercial License: Can I use on my two computers?](https://discuss.zetetic.net/t/sqlcipher-commercial-license-can-i-use-on-my-two-computers/6433)

<div class="topic-metadata">

**Author:** [@Karl-Heinz](https://discuss.zetetic.net/u/Karl-Heinz)\
**Replies:** 2\
**Last updated:** [May 9, 2024, 6:02pm UTC](https://discuss.zetetic.net/t/sqlcipher-commercial-license-can-i-use-on-my-two-computers/6433 "2024-05-09T18:02:30Z")

</div>

Hi! I have a Mac laptop for travel and a work station at home, as well as a Windows virtual machine. I would like to not depend on only one of my machines to use SQLCipher. On Buy SQLCipher - Commercial Edition Purchas…

---

## [Query related to sqlcipher-4.5.2-1.el9.x86\_64](https://discuss.zetetic.net/t/query-related-to-sqlcipher-4-5-2-1-el9-x86-64/6443)

<div class="topic-metadata">

**Author:** [@Sudarshan](https://discuss.zetetic.net/u/Sudarshan)\
**Replies:** 2\
**Last updated:** [May 9, 2024, 3:49pm UTC](https://discuss.zetetic.net/t/query-related-to-sqlcipher-4-5-2-1-el9-x86-64/6443 "2024-05-09T15:49:58Z")

</div>

I have added "sqlcipher-4.5.2-1.el9.x86\_64 " in my machine and trying to execute below command rhel8 and rhel9 . And I see different behavior Commnad : sqlcipher /var/mnt/local/omsd ata/OMS/DBChecksum/oms\_checksum\_db.…

---

## [SQLCipher giving "file is not a database" error after db migration complete and app is killed from recent tabs](https://discuss.zetetic.net/t/sqlcipher-giving-file-is-not-a-database-error-after-db-migration-complete-and-app-is-killed-from-recent-tabs/6435)

<div class="topic-metadata">

**Author:** [@ashish](https://discuss.zetetic.net/u/ashish)\
**Replies:** 4\
**Last updated:** [May 3, 2024, 4:59pm UTC](https://discuss.zetetic.net/t/sqlcipher-giving-file-is-not-a-database-error-after-db-migration-complete-and-app-is-killed-from-recent-tabs/6435 "2024-05-03T16:59:24Z")

</div>

I am upgrading my android project from library net.zetetic:android-database-sqlcipher:3.5.9@aar to net.zetetic:sqlcipher-android:4.5.6@aar . It runs fine after updating, but while running, if we killed the app from recen…

---

## [Migrating from SQLCipher 3.5.1 to 4.1.3 in Android](https://discuss.zetetic.net/t/migrating-from-sqlcipher-3-5-1-to-4-1-3-in-android/3652)

<div class="topic-metadata">

**Author:** [@petrakeas](https://discuss.zetetic.net/u/petrakeas)\
**Replies:** 12\
**Last updated:** [April 5, 2024, 4:30pm UTC](https://discuss.zetetic.net/t/migrating-from-sqlcipher-3-5-1-to-4-1-3-in-android/3652 "2024-04-05T16:30:05Z")

</div>

I have a database created with SQLCipher 3.5.1. I tried migrating it to SQLCipher 4.1.3 using PRAGMA cipher\_migrate according to the guidelines, but even though the database opens immediately after the openDatabase() cal…

---

## [Error migrating from version 3x to 4x](https://discuss.zetetic.net/t/error-migrating-from-version-3x-to-4x/6360)

<div class="topic-metadata">

**Author:** [@ITService\_Developer](https://discuss.zetetic.net/u/ITService_Developer)\
**Replies:** 3\
**Last updated:** [April 2, 2024, 11:46am UTC](https://discuss.zetetic.net/t/error-migrating-from-version-3x-to-4x/6360 "2024-04-02T11:46:12Z")

</div>

Hello everyone. After updating net.zetetic:android-database-sqlcipher:3.5.9@aar to net.zetetic:sqlcipher-android:4.5.6@aar in android project I have a problem. My helper class: public class DBHelperKey extends SQLiteO…

---

## [Change Password of the Database](https://discuss.zetetic.net/t/change-password-of-the-database/509)

<div class="topic-metadata">

**Author:** [@vinay\_kumar](https://discuss.zetetic.net/u/vinay_kumar)\
**Replies:** 3\
**Last updated:** [March 27, 2024, 9:35am UTC](https://discuss.zetetic.net/t/change-password-of-the-database/509 "2024-03-27T09:35:36Z")

</div>

Hi All, I see that there is a method in net.sqlcipher.database.SQLiteOpenHelper changePassword(string). Is there any specific process to do this ? Meaning, I tried this method which ultimately threw file is encryp…

---

## [Getting error On Google play console](https://discuss.zetetic.net/t/getting-error-on-google-play-console/6336)

<div class="topic-metadata">

**Author:** [@asif](https://discuss.zetetic.net/u/asif)\
**Replies:** 3\
**Last updated:** [March 25, 2024, 5:18pm UTC](https://discuss.zetetic.net/t/getting-error-on-google-play-console/6336 "2024-03-25T17:18:19Z")

</div>

Hi Team , I am getting this error on Google play console. “net.zetetic:android-database-sqlcipher has reported android-database-sqlcipher:3.5.9 as outdated. You may not be able to release future versions of your app wi…

---

## [New vulnerability CVE-2023-5678 in OpenSSL version 1.1.1q](https://discuss.zetetic.net/t/new-vulnerability-cve-2023-5678-in-openssl-version-1-1-1q/6255)

<div class="topic-metadata">

**Author:** [@shiva.hw](https://discuss.zetetic.net/u/shiva.hw)\
**Replies:** 3\
**Last updated:** [March 25, 2024, 2:38pm UTC](https://discuss.zetetic.net/t/new-vulnerability-cve-2023-5678-in-openssl-version-1-1-1q/6255 "2024-03-25T14:38:30Z")

</div>

New vulnerability CVE-2023-5678 in OpenSSL version 1.1.1q, We are using following packages in our android application. ‘net.zetetic:android-database-sqlcipher:4.5.4@aar’ ‘net.zetetic:android-database-sqlcipher:4.5.3@a…

---

## [iOS Project with SQLCipher and Pod SQLite Dependency](https://discuss.zetetic.net/t/ios-project-with-sqlcipher-and-pod-sqlite-dependency/6319)

<div class="topic-metadata">

**Author:** [@Chuckv01](https://discuss.zetetic.net/u/Chuckv01)\
**Replies:** 6\
**Last updated:** [March 15, 2024, 9:09pm UTC](https://discuss.zetetic.net/t/ios-project-with-sqlcipher-and-pod-sqlite-dependency/6319 "2024-03-15T21:09:22Z")

</div>

Hi folks, Spent a few days attempting to get the iOS Linking order configured as explained in this post so that SQLCipher is used in a pod dependency instead of SQLite. Sadly no success… I have a repository demonstrati…

[Previous page](https://discuss.zetetic.net/c/sqlcipher/issues/11.md)

[Next page](https://discuss.zetetic.net/c/sqlcipher/issues/11.md?page=2)
