sql.js icon indicating copy to clipboard operation
sql.js copied to clipboard

Support Sqlite cipher

Open shahramSo opened this issue 5 years ago • 3 comments

I want to know that sql.js can support sqlite cipher 3 or 4? I didn't see any comment about it. Thanks

shahramSo avatar May 23 '20 11:05 shahramSo

You can use the source code in this repository to compile sqlite with extensions, but this is not offcially supported by us.

lovasoa avatar May 23 '20 11:05 lovasoa

Thank for your reply, I have some encrypted sqlite db under cipher 3, is there any way to open it on web browser by sql.js?

shahramSo avatar May 23 '20 11:05 shahramSo

You can either decrypt them first, and then serve the clear versions to the clients, or compile a custom build of sql.js.

lovasoa avatar May 23 '20 11:05 lovasoa