-
Notifications
You must be signed in to change notification settings - Fork 97
Support encyption #184
Comments
It looks like SQLCipher can be used by replacing |
The same is true for SEE. |
This works. I've posted Encryption in Microsoft.Data.Sqlite on my blog. I don't think there's any additional work to do here. We could consider adding |
Also, #148 will improve the overall experience of using encryption. |
Any thoughts on how possible this is when using EF? Guessing you have to supply your own connection externally? |
@rowanmiller Yes, until we have an OnConnectionOpened hook, that's the easiest way. |
To be added to EF in dotnet/efcore#626? Or do you mean adding a hook in the ADO layer? I assume you mean EF as I don't know of another ADO implementations with this kind of hook. |
An EF hook, yes. ADO.NET already has a connection state changed event. |
Yeah in dotnet/efcore#5024 we discussed the idea of having some sort of "connection preamble" as there are lots of database provider specific features that would benefit from this (SQLite PRAGMA, SQL Server sharding, etc.). |
Closing this out, will add a page to the docs that references blog post by @bricelam and shows how to use it with EF. |
This is to track the high level scenario of encryption. We've speculated that it may already be possible with a custom build of SQLite or using extensions - but we've not actually tested this or provided any guidance.
The text was updated successfully, but these errors were encountered: