Push operations
Push overview and evidence · Protocol and API
Controlled laboratory. The physical result used an already activated, jailbroken iPhone 4, AppSync and a paired legacy build/control environment. There is no public device enrollment form, provider key service or supported stock-iOS installation path.
Trust and identity
Enrollment records the SHA-256 fingerprint of the existing public APS certificate. It does not export the private key or create a replacement Apple activation identity. The courier requires TLS proof of the enrolled key, not merely a supplied device ID or certificate common name. An expired enrolled legacy leaf is accepted only inside this dedicated courier context; provider HTTPS uses a separate policy.
The phone trusts a dedicated OpenRevive Push Lab root installed through Settings. The general OpenRevive Lab CA download belongs to other test origins and does not configure this push experiment. Neither installing that general profile nor changing Wi-Fi DNS alone enables independent push.
Root private keys, courier leaf keys, admin/provider credentials, one-use tickets, raw tokens, the SQLite database and complete phone receipts are private operational state. The public evidence contains hashes, a synthetic test payload and screenshots of the probe.
Deployment boundaries
- Keep the courier and modern provider HTTPS separate. The lab uses TCP 5223 and a loopback API behind Nginx.
- Run the courier under a dedicated user with separate source, dependencies, database and event files. Preserve existing backends and firewall rules.
- Pin explicit provider ownership of each topic/environment. Authenticate a backend user before issuing a short-lived registration ticket.
- Back up private configuration and database before changes. Stage 1 has no general schema-migration, revocation or retention framework.
- Block new outbound connections from the courier UID and verify rejection with a positive control. Permit established replies to native inbound connections.
Routing lesson from the real device
IPv4-only hosts entries left the phone returning unrelated IPv6 addresses alongside our IPv4. HTTPS reached a different certificate and correctly failed default trust validation with error -1202. The exact source of the foreign IPv6 answers was not isolated.
Explicit A/AAAA records and an owned hosts block mapping both families fixed resolution. The same app then accepted our leaf through default system trust and registered with HTTP 201. No certificate-validation bypass was added. Native IPv6 courier delivery still needs a separate physical test.
Acceptance procedure
- Record the exact model, OS/build, installed app binary, original routing and public identity fingerprint.
- Enroll that public identity, install the intended removable root, verify both address families and observe native bag/courier acceptance.
- Start with no issued server token. Verify the genuine native callback, user permission and HTTPS registration; correlate hashes without publishing the raw token.
- Restart the courier to check persistence. Queue an unpredictable nonce while the phone is disconnected, then observe reconnect, native ACK and actual system presentation.
- Open that notification and compare the app's remote callback with the original payload. Preserve dated receipts and distinguish opening time from delivery time.
- Test the outbound denial and retain deployment hashes. Do not infer a physical notification solely from an HTTP response or server ACK.
Rollback
The phone routing tool backs up exact hosts bytes and owns a labelled block. Removal deletes only that block and preserves later unrelated entries. Restart the native courier after restoring the previous route; remove only the Push Lab profile and probe if retiring the test. Keep unrelated profiles and existing keychain identities. Do not restore an old APS preferences file over newer native state.
The server has its own service, Nginx configuration, DNS file and nftables rules. Retirement removes only these owned additions after a private backup; it must not flush the whole firewall or delete another backend. Runtime website status files and general CA downloads are separate.
The rollback transformation reproduced the original hosts bytes and preserved an added unrelated entry. It was not applied after acceptance: the push service and test phone were intentionally left configured. Public turnkey packaging and additional-device instructions remain future work.