ericsink / SQLitePCL.raw

A Portable Class Library (PCL) for low-level (raw) access to SQLite
Apache License 2.0
512 stars 106 forks source link

Test cases which use encryption features with sqlite3mc #565

Open ericsink opened 7 months ago

ericsink commented 7 months ago

In tests/tests_xunit.cs, there are a couple of tests which use encryption with sqlcipher. We need to copy these tests and adapt for sqlite3mc.

utelle commented 7 months ago

In tests/tests_xunit.cs, there are a couple of tests which use encryption with sqlcipher. We need to copy these tests and adapt for sqlite3mc.

PR https://github.com/ericsink/SQLitePCL.raw/pull/567 adjusts the existing encryption tests to work with sqlite3mc, and adds 2 tests for sqlite3mc checking access to SQLCipher encrypted database files.

ericsink commented 7 months ago

I'm leaving this open until I figure out how to deal with those db file dependencies. Those are ifdef-ed out for now, but the others are merged in.