System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: 3319c0727192066f231fc530d28306f10819861d
Title: No encryption support when SQLite.Interop is built for Mono
Status: Closed Type: Feature_Request
Severity: Important Priority: Medium
Subsystem: Legacy_CryptoAPI Resolution: Rejected
Last Modified: 2017-10-11 19:45:34
Version Found In: 1.0.105.2
User Comments:
anonymous added on 2017-10-11 19:40:25: (text/x-fossil-plain)
The script Setup/compile-interop-assembly-release.sh builds libSQLite.Interop.so  which lacks encryption support.

A subsequent attempt to use encryption from Mono fails with:
  System.EntryPointNotFoundException: sqlite3_key

Simply building with encryption on isn't possible because the encryption code is Windows-oriented (SQLite.Interop/src/win/crypt.c).

This is a request to implement a more portable encryption support, e.g. by using OpenSSL API.

No workaround exists for this issue.

mistachkin added on 2017-10-11 19:45:34: (text/x-fossil-plain)
The supported solution for cross-platform encryption is here:

  [http://www.hwaci.com/sw/sqlite/see.html]