- environment (production/staging/development) on source orbits and on restore targets;
an unlabelled target fails closed and a production target is refused
- directed, versioned relations from a managed source orbit to a restore target: one
active relation per pair, retargeting makes a new id and ends the old one
- refusals name the rule: unknown or unlabelled source/target, not a managed capture
profile, not restore-ready, application or engine mismatch, inactive Outpost, and a
target whose identity matches a database captured as production in any snapshot
- relations end in the same transaction when their target is relabelled production or an
Outpost is revoked; usability is re-read live
- refresh.run is granted per relation id in its own table (user or group, expiry), never
global, never carried to a new version, and never accepted by the orbit gate
- admin API under /api/v1/relations plus environment endpoints; people holding only a
relation grant see names and environments, never identity, host, Outpost or application
- Relations console; sign-in form without SSO no longer shows a stray "Details" label
Tests extend the access matrix with relation fixtures and a caller that holds only a
relation grant.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Credentials
- pairing codes and Outpost upload tokens are stored only as SHA-256 digests; the
token is minted at claim (256-bit OsRng) and returned once
- the old clear-text wormhole_tokens table is migrated in place and dropped with
secure_delete; active tokens keep working with a fresh lifetime
- admin rotate (with grace window) and revoke endpoints, audited; a revoked
Outpost is refused on its next request
- optional end date for the shared admin token (TESSERA_ADMIN_TOKEN_EXPIRES)
Limits
- governor per-source limits for emergency login, pairing claim and SSO
start/callback; X-Forwarded-For only from TESSERA_TRUSTED_PROXIES; IPv6 by /64
- at most two concurrent Argon2 verifications, refused immediately when busy
- denials audited at most once a minute per source
- the mTLS listener now supplies the peer address to handlers
Existing hubs: rotate every Outpost token after upgrading; old database copies
still contain the clear-text tokens.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>