Questions tagged [sqlcipher]
SQLCipher is an open source extension to SQLite that provides transparent 256-bit AES encryption of database files.
sqlcipher
604
questions
0
votes
1
answer
197
views
Microsoft.Data.Sqlite issue with apostrophe characters in password
I'm using EF Core 6 with the MS SQLite driver and the SQLitePCLRaw.bundle_e_sqlcipher so the database is being encrypted by SqlCipher. if I pass a apostrophe character in the password then the ...
1
vote
1
answer
1k
views
Setting up sqlcipher in an electron app using electron-forge and webpack
I am trying to open a sqlite3 database encrypted with sqlcipher. I have the password and I could open it successfully using sqlitebrowser.
I started my project using this template. It is based on the ...
1
vote
0
answers
686
views
How to get sqlite database path from sql.DB instance
I want to get the path or even the connection string of a sql.DB instance. The package I'm writing doesn't know what the database path is and the application may have multiple database files. However ...
0
votes
1
answer
2k
views
SQL - SQLiteDatabaseCorruptException - file is not a database while compiling: PRAGMA journal_mode
I have been working on migrating our DB on a Kotlin Multiplatform project to be encrypted from unencrypted. It's all done on Android, however the iOS part is proving tricky.
Finally I got it somewhat ...
0
votes
0
answers
206
views
Encrypting SQLight Files without SEE in C#
Ive been working on a C# Project that makes local copies of data in a SQLite File. These Files are rather large, with up to 20 million entries, at around 2.2GB. These Files contain sensitive ...
0
votes
1
answer
251
views
How to build a .a file correctly (KMM)
We need to include SQLCipher in our KMM project without using Cocoapods. This involves building a libSQLCipher.a.
I was able to this in terminal with these commands:
./configure --enable-tempstore=yes ...
0
votes
1
answer
1k
views
How to check if data in room database is encrypted?
I'm building an app that uses room database and I use SQLCipher to encrypt it. How can I check if the data is really encrypted because it's my first time to use encryption and I don't know if I did it ...
3
votes
1
answer
1k
views
How to store hardcoded encryption master key in android?
I'm building an app that uses Room and I want to encrypt the db using SQLCipher which needs a master key to encrypt/decrypt the db. I don't want to get the master key from the user, I want to use 1 ...
0
votes
1
answer
347
views
How to use cordova-sqlcipher-adapter with ionic 3?
I have used the SQLite plugin listed on ionic 3 packages here. But now I want to store the data in an encrypted format. For that , I am trying to implement cordova-sqlcipher-adapter plugin but I am ...
0
votes
0
answers
713
views
SQLCipher with custom options
I’m using sqlcipher to encrypt sqlite db using custom parameters such as,
PRAGMA cipher_page_size = 1024;
PRAGMA kdf_iter = 16000;
PRAGMA cipher_hmac_algorithm = HMAC_SHA512;
PRAGMA ...
0
votes
0
answers
88
views
Unable to install pysqlcipher3 using Yocto
By using devtool I created a new recipe from the pysqlcipher3 sources, however even though the build of a core-image-minimal doesn't throw any error, the library is not included in the final image.
I ...
1
vote
0
answers
114
views
Error in Google play: exception.class.missing._Unknown_: TableInfo
I’ve noticed error happening in Google play, I couldn’t reproduce it, but it looks like it happens for small number of users.
exception.class.missing._Unknown_: TableInfo{...}
at androidx.room....
0
votes
0
answers
398
views
SQLite.Swift error : Value of type 'Connection' has no member 'key'
XCode 12.5.1
As title, I got an error.
And I use Carthage to install SQLite.swift.
SQLite.swift version is 0.13.0
carfile here:
github "stephencelis/SQLite.swift"
import Foundation
import ...
0
votes
0
answers
196
views
How use sqlcipher in android native NDK using JNI (Java Native interface)
I am using this method of sqlcipher to create encrypted sqlite database in my android studio project by java code.
package net.sqlcipher.database;
.
.
public static SQLiteDatabase ...
4
votes
1
answer
2k
views
IS Encrypting the whole database more secure than encrypting the data only?
I have an SQLite3 database that I need to secure.
I'm confused between using sqlcipher to encrypt the whole database that I use in my Electron app or simply encrypt the data using crypto dependency.
...