Add anonymous OOBE gateway grants
Provide App Attest-bound, one-time onboarding AI access without creating accounts, with durable replay protection and production deployment safeguards.
This commit is contained in:
@@ -92,6 +92,11 @@ receipt, assertion, and certificate-chain validation use the
|
||||
official Apple App Attestation Root CA bundled from Apple Certificate Authority. The server stores the
|
||||
validated public key, receipt, and strictly increasing assertion counter.
|
||||
|
||||
Production accepts only production App Attest AAGUIDs by default. For a time-bounded physical-device
|
||||
test against the production service, set `ALLOW_DEVELOPMENT_APP_ATTEST=true` to admit development
|
||||
AAGUIDs from registered development builds. Disable the flag again after testing; TestFlight and App
|
||||
Store builds do not require it.
|
||||
|
||||
Request an `attestation` challenge after `generateKey`, then call `/attest` with the resulting CBOR
|
||||
object. For login assertions, request an `assertion` challenge and generate the assertion over SHA-256
|
||||
of the canonical UTF-8 payload documented in `docs/openapi.yaml`. Challenges are single-use and expire
|
||||
|
||||
Reference in New Issue
Block a user