SQLite Forum

SQLite encryption with SEE - Dynamic linking

SQLite encryption with SEE - Dynamic linking

(1) By foobar303 on 2020-10-19 08:46:29 [link] [source]

Hi, we're using SQLite as DBMS in my current project. We now want to add database encryption. I'd prefer to use SEE as it comes from the makers of SQLite and I feel we should give back something ($2K) to support that great piece of code. However, when reading the license terms on https://sqlite.org/purchase/see, it states right in the first line that only static linking be permitted. Due to certain design decisions in our project we need to encapsulate SQLite/SEE within a DLL to be shipped with our application. I guess the reason for excluding dynamic linking from the license was to prevent others from using SEE with their own applications once they would get their hands on a SEE-DLL. But IMO this is meanwhile already be prevented by passing the application specific activation phrase to sqlite3_activate_see() from the calling application to that SEE DLL, which is mandatory to use encryption. Please tell me if we are allowed to use SEE in the way describe above or if we are required to use another tool for encryption.

(2) By Richard Hipp (drh) on 2020-10-19 11:49:39 in reply to 1 [source]

We can work out exceptions to the static linking requirement on a case-by-case basis. Please contact me directly (drh@sqlite.org) for assistance with this.

(3) By foobar303 on 2020-10-21 08:17:18 in reply to 2 [link] [source]

Thanks Richard for your kind offer. We meanwhile figured out a way to fulfill both our requirements and SEE's licence terms. If it should not work out, I'll take up on your offer.