SQLiteEncryptionUsingEFCore
SQLiteEncryptionUsingEFCore copied to clipboard
newblogging.db password
It's not an issue instead of a question. I saw the connection password is "Test123",I used 3rd app to try to open, but it can't be opened with "The password is incorrect or the encrypted file cannot be opened with System.Data.SQLite. BTW, I check the source code, where you SetPassword for newblogging.db?
// Initialize the database context (ensure the database is created, if it's a new database)
using var db = new BloggingContext(databaseFile);
if (databaseFile == newDatabaseFile) db.Database.EnsureCreated();
The password is set in "BloggingContext.cs" check my comment in https://github.com/paragpkulkarni/SQLiteEncryptionUsingEFCore/issues/7 maybe it will help to open the database.