Files
gabrielvidalandClaude Opus 5.5 39b8798405 feat(remoteaccess): the owner's internet address, signed in with the hub's own passkey
OWNER_HOSTS (homelab: hub.gabvdl.xyz) answers as the owner without
Authelia, for the one device that can't be on the personal tailnet (the
Orus Mac). On it the gate takes only the owner's __Host-aia_owner session
(7 days, host-only, Strict) — no Remote-User, host token or guest cookie is
anyone; without one only the sign-in answers.

- remoteaccess/webauthn.py: WebAuthn checked by the hub on `cryptography`
  (challenge, exact origin, RP ID, user present + verified, signature,
  counter); a small CBOR reader for new passkeys; fuzzed (80k inputs).
- passkeys added only through a one-time link made on the admin host
  (15 min, one use, hashed, fragment-borne); no mail fallback — Pocket ID
  was rejected because a mailed code there can enrol a passkey.
- Settings → Security: Internet access off (drops every session, back on
  from the admin host only); pushes on every sign-in and passkey added.
- machine paths (worker proxy tokens, tool proxy) refused there.
- tests: test_remote_access.py (31), test_webauthn.py (7).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:04:30 +01:00
..