This page describes the October contract. No current build implements it.
October spaces rollout
The October profile adds the standard space credential transport. It is additive. Stratos keeps legacy cnf.jkt credentials and their DPoP presentation. Ordinary OAuth DPoP does not change.
Spaces: current contract has the protocol detail and the pinned upstream revisions.
What changes
| Credential | Bound by | TTL setting | Default | Limit |
|---|---|---|---|---|
| Legacy, DPoP presentation | cnf.jkt | STRATOS_SPACE_CREDENTIAL_TTL_SECONDS | 7200 seconds | |
| Standard, HTTP signature | cnf.kid | STRATOS_SPACE_HTTP_CREDENTIAL_TTL_SECONDS | 600 seconds | 3600 seconds |
The standard TTL must be a positive integer.
Standard exchange signs Bearer delegation authorization with a fresh P-256 did:key. Reads use Atproto-Space authorization. They sign the authorization, then Atproto-Space-Audience. Use the repo owner DID for repo reads. Use the bare authority DID for membership listing.
Same-audience signatures are reusable until expiry. They do not bind the method, the URL, or the body.
Proxies and CORS
Preserve the Signature, Signature-Input, and Atproto-Space-Audience headers through every proxy. Allow them in the browser CORS preflight.
Upgrade
- Record the source revision and immutable image identity of each PDS. Rehearse the candidate with
october-interopand the separate regression suites in the repository'stest/spaces-alignment/README.md. - Stop ingestion during the coordinated upgrade of the receiver, the Rust client, and the PDS. Do not deploy mixed halves. The Rust client has no legacy fallback. October PDS hosts do not accept legacy DPoP space credentials.
- Restart clients to discard cached grants. Reacquire each credential with its new grant-owned key. Never pair a cached credential with another key. Never reinterpret
cnf.jktascnf.kid. An expiry refresh must replace the credential and the key together. - Before you resume ingestion, verify seeded publication, feed delivery, owner-audience denial, and credential renewal. Keep the OAuth nonce-retry checks.
Roll back
- Stop ingestion.
- Restore the previously rehearsed receiver, client, and compatible PDS image set together.
- Clear grant caches and reacquire credentials.
Do not downgrade an October PDS alone. Do not expect the deprecated TypeScript client to read an October PDS with legacy DPoP.
Keep the previous deployment artifacts and normal data backups. This procedure does not migrate production data or roll back repository state.
Limits
- Member removal blocks renewal. It does not end every credential already held by a foreign host.
- Early revocation fanout is optional. Removal does not trigger it.
- A local boundary revision change does not revoke a credential on a foreign PDS.
- The custom
zone.stratos.space.listReposmembership selection stays separate from upstream writer metadata. - This rollout does not add full standard authority discovery or enumeration.