SQLiteEncryptionUsingEFCore icon indicating copy to clipboard operation
SQLiteEncryptionUsingEFCore copied to clipboard

newblogging.db password

Open Jonney3099 opened this issue 4 years ago • 1 comments

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();

Jonney3099 avatar Sep 29 '21 03:09 Jonney3099

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.

AlexHolly avatar Jan 06 '23 16:01 AlexHolly