Skip to content

Enable the use of PRAGMA Key to encrypt db - #1018

Open
K3yr0nym0us wants to merge 239 commits into
revert-982-linux-image-bumpfrom
master
Open

Enable the use of PRAGMA Key to encrypt db#1018
K3yr0nym0us wants to merge 239 commits into
revert-982-linux-image-bumpfrom
master

Conversation

@K3yr0nym0us

Copy link
Copy Markdown

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.

m4heshd and others added 8 commits April 18, 2023 17:40
* Move repetitive build commands into environment variables

* Merge 'https://github.com/mceachen/better-sqlite3/tree/dry-gha-989'

Co-authored-by: mceachen <mceachen@users.noreply.github.com>

---------

Co-authored-by: mceachen <mceachen@users.noreply.github.com>
* Move repetitive build commands into environment variables (#989)

* Move repetitive build commands into environment variables

* Merge 'https://github.com/mceachen/better-sqlite3/tree/dry-gha-989'

Co-authored-by: mceachen <mceachen@users.noreply.github.com>

---------

Co-authored-by: mceachen <mceachen@users.noreply.github.com>

* restore "env." prefixes to NODE_BUILD_CMD and ELECTRON_BUILD_CMD

---------

Co-authored-by: mceachen <mceachen@users.noreply.github.com>
Co-authored-by: Matthew McEachen <matthew@photostructure.com>
* Add support for Node v20 prebuilds

* Also test v20
Remove node.js v14 builds and testing (runtime EOL)
* Fix out-of-bounds read in statement tail parser

* Add comment with link to tail parsing issue

* Fix missing increment in tail parser + tests
Co-authored-by: mceachen <mceachen@users.noreply.github.com>
@K3yr0nym0us
K3yr0nym0us requested review from a team and JoshuaWise as code owners June 5, 2023 13:40
mceachen and others added 20 commits July 19, 2023 13:31
Prebuild for Node on other architectures as well
Fix buffer create in sandbox mode (electron)
Fix: Allow building with space in path
From the docs:

> This option is obsolete. It used to enable some extra some extra
> PRAGMA statements such as PRAGMA function_list, PRAGMA module_list,
> and PRAGMA pragma_list, but those pragmas are now all enabled by
> default.  See SQLITE_OMIT_INTROSPECTION_PRAGMAS.

It has been obsolete since 2019-10-04 (with SQLite 3.30.0).
* Added `webpack` support

* changed from `webpack_require` to `non_webpack_require`

* Update database.js

Added URL to webpack documentation

* feat(database): now `nativeBinding` supports addon object

* style(package): line break removed

---------

Co-authored-by: Matthew McEachen <matthew@photostructure.com>
added HAVE_USLEEP=1 compile-time option
m4heshd and others added 30 commits June 15, 2026 15:41
Co-authored-by: m4heshd <6711514+m4heshd@users.noreply.github.com>
* Update build.yml

Extended build workflow for Electron v43 and onwards as some macros from the v8 headers are not correctly expanded with GCC 12 and GCC 13 / 14 is only available since Debian Trixie.

* adjusted ENV variable naming
* refactored codebase to use node-addon-api and publish with prebuilt binaries

* upgraded to sqlite 3.53.3

* fixed typo

* fixed test for windows

* mitigated performace regression from NAPI refactor

* mitigated performace regression from NAPI refactor

* mitigated performace regression from NAPI refactor

* mitigated performace regression from NAPI refactor

* fixed performance regression to surpass node:sqlite

* improved array optimization for large arrays

* further improved performance

* removed dead code
* Refactor SqliteError to use class syntax

* Rewrite `SqliteError` as an ES6 `class extends Error`. Fixes #1472
Co-authored-by: m4heshd <6711514+m4heshd@users.noreply.github.com>
fix: package_managers.dependabot.dependabot-missing-cooldown.dependabot-missing-cooldown security vulnerability

Automated security fix generated by OrbisAI Security
Use `ubuntu-24.04-arm` runner for Alpine arm64 builds

Improves build time significantly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.