Skip to content

Commit 7e96f91

Browse files
authored
feat(mobile-infra): support development App Attest (#7744)
Development-signed iOS apps cannot enroll with the current gateway because their Apple App Attest AAGUID is rejected. Add an explicit personal development build feature and environment setting so a development gateway can use a developer's own application identity and sandbox APNs credentials. Ordinary gateway builds remain production-only. Special builds also default to production, enforce exactly the selected signed AAGUID, and retain certificate-chain, pinned-root, nonce, app-ID, key, credential-ID, and counter verification. Document the matching mobile signing configuration and expose the feature through an optional Docker build argument. ### Validation The development image deployed successfully to a personal Railway stack; private readiness, enrollment challenges, authenticated relay access, and APNs sandbox TLS/HTTP2 connectivity passed. Signed-off-by: Tom Brow <[email protected]>
1 parent 26ede6d commit 7e96f91

12 files changed

Lines changed: 742 additions & 24 deletions

File tree

‎.github/workflows/docker.yml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,39 @@ jobs:
569569
if-no-files-found: error
570570
retention-days: 1
571571

572+
push-gateway-personal-dev:
573+
name: Build personal development push gateway
574+
runs-on: ubuntu-24.04
575+
timeout-minutes: 60
576+
permissions:
577+
contents: read
578+
steps:
579+
- name: Checkout
580+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
581+
with:
582+
persist-credentials: false
583+
- name: Set up Docker Buildx
584+
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
585+
- name: Build personal development image without publishing
586+
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
587+
with:
588+
context: .
589+
file: ./Dockerfile.push-gateway
590+
platforms: linux/amd64
591+
build-args: BUZZ_PUSH_CARGO_FEATURES=personal-dev-app-attest
592+
load: true
593+
tags: buzz-push-gateway:personal-dev-test
594+
cache-from: type=gha,scope=push-gateway-personal-dev
595+
cache-to: type=gha,scope=push-gateway-personal-dev,mode=max
596+
- name: Verify runtime dependencies and startup
597+
run: |
598+
set +e
599+
output=$(docker run --rm buzz-push-gateway:personal-dev-test 2>&1)
600+
status=$?
601+
set -e
602+
test "$status" -eq 1
603+
[[ "$output" == *'Missing("BUZZ_PUSH_GRANT_KEYS")'* ]]
604+
572605
push-gateway-merge:
573606
name: Publish public push gateway image
574607
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)