feat(auth): admin reset, docs and image smoke test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
42892cb37f
commit
06b9980659
18 files changed
+267
-21
No files matched your search
@@ -4,6 +4,19 @@
|
||||
|
||||
Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow SemVer.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- Authentication: first-run setup code, login with mandatory TOTP MFA and recovery codes, sessions, `read`/`admin` API tokens, user management and an audit log. Every route except `/api/health` requires a session or token; `/api/analyze` is admin-only.
|
||||
- Explicit transport modes (`ACAUA_TRANSPORT=local|tls|proxy`); `local` refuses a port published beyond loopback.
|
||||
- `acaua auth reset --username <name>`: local admin recovery that prints a temporary password once and forces MFA enrollment and a password change. It never starts the daemon.
|
||||
- `ACAUA_SECRET_KEY_FILE` to keep the secret key in a Docker secret.
|
||||
- The image smoke test checks the unauthenticated 401/redirect, the setup code in the log and the `local` refusal.
|
||||
|
||||
### Changed
|
||||
- `/api/health` no longer reports the version.
|
||||
- Documentation no longer presents a reverse proxy as the only protection.
|
||||
|
||||
## [0.2.0] - 2026-11-04
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user