Open Luokun2016 opened 2 months ago
Where did your native SQLCipher binary come from?
Where did your native SQLCipher binary come from?
I compiled the v4.5.5 version of sqlcipher.
Fixed by remove PRAGMA operation afterCreateDbContext https://github.com/dotnet/efcore/issues/33596#issuecomment-2072005993
I've just read the dotnet/efcore issue.
I'am unclear what you exactly mean by Fixed by remove PRAGMA operation after factory.CreateDbContext()
Where can I find this code? What can I do to make my application work? If this in from this repository, when does the updated nuget package come?
For context: I did use SQLiteStudio V3.2.1 to convert my unencrypted db to an encrypted. (Using the method described here )
Now my WPF .net8 program is not able to open the encryped db: Microsoft.Data.Sqlite.SqliteException: 'SQLite Error 26: 'file is not a database'.'
I'm using the method described here which works if I let my wpf app create the database.
What are thy cypher settings this package uses for the encryption? Or can I provide /change them using the .net package?
This is what SqliteStudio offers as default settings:
Environment and Version .Net 8 EFCore 8.0.4 SQLitePCLRaw.provider.sqlcipher 2.1.8 sqlcipher with SQLite 3.42.0
Using sqlcipher provider throw the exception: System.AccessViolationException: Attempted to read or write protected memory. https://github.com/dotnet/efcore/issues/33596