The Wayback Machine - https://web.archive.org/web/20210124105422/https://github.com/sql-js/sql.js/issues/398
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Sqlite cipher #398

Open
shahramSo opened this issue May 23, 2020 · 3 comments
Open

Support Sqlite cipher #398

shahramSo opened this issue May 23, 2020 · 3 comments
Labels

Comments

@shahramSo
Copy link

@shahramSo shahramSo commented May 23, 2020

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

@lovasoa
Copy link
Member

@lovasoa lovasoa commented May 23, 2020

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

@lovasoa lovasoa added the enhancement label May 23, 2020
@shahramSo
Copy link
Author

@shahramSo shahramSo commented May 23, 2020

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?

@lovasoa
Copy link
Member

@lovasoa lovasoa commented May 23, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants