Watch
1
0
Fork
You've already forked RedFlag
0
RedFlag/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Fimeg cf061a13a1 seal the settings path so secrets land encrypted
the encrypt/decrypt hooks existed but the write path wrote values straight to
the column, so a sensitive setting would have gone in as plaintext. closed it:

- sensitive values serialize + encrypt before they persist (base64 aes-gcm over
  the json), and updates now carry the is_encrypted flag through
- non-sensitive settings are untouched — still plain json, same as before
- audit log redacts sensitive old/new values instead of recording them raw

round-trip test proves sensitive values never hit the column in plaintext and
still decrypt back; non-sensitive stay readable. no backfill needed — nothing
writes secrets through this path yet, the defaults are empty.

builds clean, vet quiet, tests pass.
2026-06-07 21:16:39 -04:00
..
cmd/server give the system a window you can scrape, and patch a migration that couldn't run twice 2026-06-07 20:59:29 -04:00
internal seal the settings path so secrets land encrypted 2026-06-07 21:16:39 -04:00
.env.example refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
docker-entrypoint.sh refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
Dockerfile feat: helper distribution pipeline + dnf discovery/resolve fixes for live gate 2026-05-29 22:04:38 -04:00
go.mod swap uuid lib, windows installer pass, README/RAF copy 2026-06-03 15:39:49 -04:00
go.sum swap uuid lib, windows installer pass, README/RAF copy 2026-06-03 15:39:49 -04:00