D3V-Server/backend
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
..
certbot Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
config Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
internal feat(security): AES-256-GCM encryption for WireGuard private keys in DB 2026-03-18 23:21:00 +07:00
lib feat(security): AES-256-GCM encryption for WireGuard private keys in DB 2026-03-18 23:21:00 +07:00
migrations feat(security): AES-256-GCM encryption for WireGuard private keys in DB 2026-03-18 23:21:00 +07:00
models Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
routes feat(wg-public): add file manager UI with upload, rename, delete 2026-03-17 21:57:49 +07:00
schema feat: implement wireguard multi-server UI and backend logic 2026-03-08 09:33:24 +07:00
scripts Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
templates Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
.gitignore Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
app.js feat(wireguard): massive scale extensions for Quotas, Web Dashboards, Connection Logs, and Zero-Auth Public VPN file portals 2026-03-10 13:09:51 +07:00
biome.json Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
db.js feat: implement wireguard multi-server UI and backend logic 2026-03-08 09:33:24 +07:00
index.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
knexfile.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
logger.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
migrate.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
nodemon.json Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
package-lock.json feat: real-time system monitor in footer 2026-03-08 20:35:06 +07:00
package.json feat: real-time system monitor in footer 2026-03-08 20:35:06 +07:00
setup.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
validate-schema.js Initial commit for D3V-NPMWG 2026-03-07 20:49:44 +07:00
yarn.lock Refactor: Standardize units to GB/MB, fix Dashboard live traffic aggregation, and optimize WireGuard client layout with expanded actions. 2026-03-10 19:02:44 +07:00