WiseLibs / better-sqlite3

The fastest and simplest library for SQLite3 in Node.js.
MIT License
5.37k stars 394 forks source link

Enable the use of PRAGMA Key to encrypt db #1018

Open K3yr0nym0us opened 1 year ago

K3yr0nym0us commented 1 year ago

Personally, I think that a Sqlite database that has so many features and improvements but that has no way to make it secure seems to me to be of little use, even so, I will use it with the hope that one day it will be able to encrypt its data.

coltoneshaw commented 11 months ago

Do we think this will be merged soon? I'm trying to debate using some other encryption packages using Better sqlite as a base or sticking with this.

fanchenio commented 10 months ago

Very necessary.

mceachen commented 10 months ago

Are you aware of https://github.com/m4heshd/better-sqlite3-multiple-ciphers ?

This PR must be rebased before it can be reviewed.

m4heshd commented 7 months ago

As I remember, we had a prior conversation about this and @JoshuaWise mentioned that it would not be wise to make this library rely on another third-party extension which isn't guaranteed to be maintained. That's why I decided to create the better-sqlite3-multiple-ciphers fork instead of adding those features to bs3 as a PR.