hyperhive/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 25d2951d1e feat(gateway): htpasswd Basic auth — close #1010
Replaces the earlier PAM+binary approach with nginx's built-in
`auth_basic` module. No new binary, no new systemd service, no PAM.

New option `services.hyperhive.gateway.auth`:
- `enable` — off by default
- `htpasswdFile` — host path to an htpasswd file (required when enable)
- `realm` — WWW-Authenticate realm string (default "hyperhive");
  restricted to `strMatching "[^\"$]*"` to prevent nginx config injection

When enabled:
- the parent directory of `htpasswdFile` is bind-mounted read-only
  into the gateway container at `/run/gateway-auth/`
- the `"/"` proxy location gets `auth_basic` + `auth_basic_user_file`

Create credentials: `htpasswd -Bc /path/to/file alice` (BCrypt).
See `docs/gateway.md` ("HTTP Basic auth") for the full setup guide.
2026-06-01 23:24:47 +02:00
..
web-ui rename(#162): fix MANAGER_AGENT and @manager in docs 2026-06-01 17:58:09 +02:00
agent-hierarchy.md fix(#977): add MANAGER_CONTAINER=h-root, migrate root container name 2026-06-01 18:32:19 +02:00
approvals.md rename(162): drop HIVE_PORT fallback; sweep remaining hm1nd in docs 2026-06-01 17:40:47 +02:00
boundary.md docs: move backlog to forge issue tracker, extract boundary doc 2026-05-20 12:19:16 +02:00
ci.md docs: add ci.md to CLAUDE.md + clarify runner details 2026-06-01 15:52:01 +02:00
conventions.md rename(162): drop HIVE_PORT fallback; sweep remaining hm1nd in docs 2026-06-01 17:40:47 +02:00
coordinator.md feat(#438): add StartupSweep queue kind — group boot-time rebuilds under a parent entry 2026-06-01 13:04:13 +02:00
css-vars.md docs: add CSS custom properties reference (docs/css-vars.md) 2026-06-01 19:55:01 +02:00
damocles-migration.md rename(162): drop HIVE_PORT fallback; sweep remaining hm1nd in docs 2026-06-01 17:40:47 +02:00
forge.md docs: add token scopes section to forge.md, trim forge.rs module doc + scope comments 2026-06-01 11:38:42 +02:00
gateway.md feat(gateway): htpasswd Basic auth — close #1010 2026-06-01 23:24:47 +02:00
gotchas.md fix(#540): pin weston socket + inject WAYLAND_DISPLAY globally 2026-05-31 22:59:46 +02:00
matrix.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
network.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
persistence.md docs: turn-stats vacuum is already implemented — update stale note 2026-06-01 15:39:43 +02:00
security.md docs: move dashboard.rs security + bind rationale to docs (#715) 2026-06-01 11:38:42 +02:00
swarm.md docs: fix swarm.md — peer list reaches agents via HYPERHIVE_PEERS env, not get_agent_meta 2026-05-31 23:51:31 +02:00
terminal-rendering.md docs: scrub self-ref cookies across 5 files (#719 batch 2) 2026-05-31 15:39:09 +02:00
turn-loop.md rename(162): drop HIVE_PORT fallback; sweep remaining hm1nd in docs 2026-06-01 17:40:47 +02:00
web-ui.md docs: add P33RS tab to dashboard layout docs 2026-05-31 23:27:52 +02:00