Close security audit low findings (L1, L2, L4) and migrate container builds to justfile #52
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close the three remaining open items from the Fenliu security audit and move container image builds out of Woodpecker CI into local just recipes.
L1 — Set umask(0o027) in entrypoint.sh so log files are created as 0o640, not world-readable.
L2 — Add INFO-level structured log lines at six API mutation points (key generate/revoke, blocked user/hashtag add/delete).
L4 — Accept/won't-fix: the bootstrap key is never surfaced; users obtain keys explicitly via the UI.
Container builds — Delete fenliu-docker-publish.yml and zhongli-container.yml; add publish-container recipe to each justfile using podman (amd64, Codeberg only).
Plan
os.umask(0o027)in entrypoint.sh beforeos.execv; add one testlogger.infoat six mutation points in api_keys.py and reblog_controls.py; add testspublish-containerrecipe to each justfileBranch:
feat/issue-52-security-audit-low