I would like to use SQLDelight with encrypted SQLi...
# squarelibraries
m
I would like to use SQLDelight with encrypted SQLite in a desktop compose app. In the example app this feature is shown as being work in progress https://github.com/softartdev/NoteDelight?tab=readme-ov-file#work-in-progress- Does anybody know about the status of this feature and what the problem is with desktop if it works already on Android and even iOS?
j
You'll have to find or build SQLCipher for Windows, Mac, and Linux and then write a SQLDelight driver for it
m
Oh, I did not know that SQLCipher is not yet readily available for the desktop systems. Thanks for the info.
j
I mean, it might be. I have no idea
You'd have to find whether there are existing builds or not
Looks like https://github.com/Willena/sqlite-jdbc-crypt works with JDBC / SqlCipher
m
Would that work with SQLDelight?
e
If it's using jdbc then I think you can use the jdbc driver. Otherwise you'd have to write a SqlDelight driver for it.