D3V-Server/backend/lib
xtcnet 9b5152d81f
Some checks failed
Docker Cloud Build / Build & Publish Image (push) Failing after 10m4s
feat(security): AES-256-GCM encryption for WireGuard private keys in DB
- Add backend/lib/crypto.js: transparent encrypt/decrypt with DB_ENCRYPTION_KEY env var
- Add migration 20260319000000: idempotent data migration encrypts existing plaintext keys
- Patch wireguard.js: encrypt on write (3 points), decrypt on read (4 points)
- install.sh: auto-generate DB_ENCRYPTION_KEY via openssl, save to .env (chmod 600)
- AI_CONTEXT.md: document crypto.js and DB_ENCRYPTION_KEY requirement
2026-03-18 23:21:00 +07:00
..
access Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
express Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
validator Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
access.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
certbot.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
config.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
crypto.js feat(security): AES-256-GCM encryption for WireGuard private keys in DB 2026-03-18 23:21:00 +07:00
error.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
helpers.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
migrate_template.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
utils.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
wg-helpers.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00