ToolJet/server/scripts
Adish M 6a34c81a1e
feat: Add LOCKBOX_MASTER_KEY rotation script with interactive key input (#14662)
* feat: add key rotation scripts and dual key encryption service

* update lockbox key rotation script to correct environment variable usage

* implement dual key encryption service for lockbox key rotation

- Refactor lockbox key rotation script to use a new DualKeyEncryptionService.
- Remove dependency on old environment variable for old master key.
- Add prompts for user input to enhance usability during key rotation.
- Implement automatic transaction management using dbTransactionWrap.
- Improve validation and error handling for key formats.
- Update documentation within the script for clarity on usage and steps.

* Delete frontend/package-lock.json

* Implement feature X to enhance user experience and fix bug Y in module Z

* revert lock file

* chore: revert unrelated frontend/package-lock.json changes

* fix: update rotate keys scripts to ensure proper argument handling and improve dry-run functionality

* chore: update version to 3.20.61-lts

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2025-12-23 22:00:07 +05:30
..
services feat: Add LOCKBOX_MASTER_KEY rotation script with interactive key input (#14662) 2025-12-23 22:00:07 +05:30
boot.sh Adding volume for render PR app (#12795) 2025-05-08 01:37:20 +05:30
ce-preview.sh fix: update entrypoint script to use ce-preview.sh for PostgreSQL initialization 2025-11-24 12:58:42 +05:30
create-database.ts Platform LTS Final fixes (#13221) 2025-07-09 22:36:41 +05:30
database-config-utils.ts feat: made tooljet database and marketplace mandatory (#11170) 2024-10-30 17:30:44 +05:30
digitalocean-postbuild.sh Docs: v2 migration (#5198) 2023-01-09 11:51:57 +05:30
drop-database.ts Platform LTS Final fixes (#13221) 2025-07-09 22:36:41 +05:30
init-db-boot.sh removed seeding trytoolj (#5294) 2023-01-11 18:44:11 +05:30
plugins-install.ts Cloud licensing related changes (#13033) 2025-07-02 10:57:36 +05:30
plugins-reload.ts Cloud licensing related changes (#13033) 2025-07-02 10:57:36 +05:30
plugins-uninstall.ts Cloud licensing related changes (#13033) 2025-07-02 10:57:36 +05:30
populate-sample-db.ts Initial commit 2025-02-25 12:22:50 +05:30
preview.sh Refactor: Workflows with BullMQ (#14275) 2025-11-05 17:54:38 +05:30
rotate-lockbox-key.ts feat: Add LOCKBOX_MASTER_KEY rotation script with interactive key input (#14662) 2025-12-23 22:00:07 +05:30
sample-db-config-reset.ts Initial commit 2025-02-25 12:22:50 +05:30
seeds.ts Initial commit 2025-02-25 12:22:50 +05:30
wait-for-it.sh Chore: Add wait for it script (#3909) 2022-09-01 13:00:06 +05:30