Business · Product · Technology · AI

Build wallet passes with explicit display and signature boundaries

A Movo-X wallet case tracing display preferences, voided content, signed Apple packages, synthetic certificate verification and compact Google save links.

Work directly with Omer Muneer Qazi · Reviewed 29 November 2026

The scenario: a card leaves the application interface

A clinic card in a wallet is a separate presentation surface. Its package may include a photograph, visible membership context, a barcode and metadata that affects how a device presents it. The application cannot assume that hiding a field in its own screen also removes that field from a distributed pass.

The pinned Movo-X implementation constructs a shared content model and then builds Apple or Google representations. Eight existing local wallet cases and five supplemental cases passed across construction and update boundaries. This chapter concentrates on package content and integrity; the companion chapter examines updates. All identities and signing material used in these cases were synthetic.

Project content according to the destination

The shared content builder selects primary, secondary, auxiliary and back fields. The Apple health-detail preference must be explicitly true before selected blood-group, allergy, birth-date and emergency-contact fields appear. Clinician display text in the appointment input is excluded from the selected output.

Google receives a different projection even when that preference is enabled. Existing and supplemental fixtures check the omission of selected health and emergency markers. Other identity context remains: name, membership number, age and sex can still appear. This is a destination-specific projection, not anonymity, a complete medical privacy assessment or proof of what an actual locked device displays.

Treat voiding as a distinct representation

Either the pass-level or card-level revoked flag produces voided content. A missing barcode token also follows the voided path. The supplemental fixture independently exercises those three inputs, checking the missing barcode, disabled personal photograph and omitted synthetic member name.

The voided representation retains clinic context and the displayed card number, alongside a management destination. It therefore does not erase every identifying or linkable value. The service avoids minting a new barcode token for a voided pass. Whether an older installed pass has received that replacement is a separate delivery question, covered in the update walkthrough.

Fail partial configuration before attempting issuance

The configuration parser distinguishes an absent platform from a partially configured one. The selected cases import synthetic PKCS#12 material using two supported encryption arrangements, reject a wrong password and reject a mismatched requested pass identifier. An explicitly supplied empty package password is supported.

The fixture also checks file-backed inputs using temporary synthetic files. None of this verifies a current production certificate, its trust chain, account ownership or installed environment. The returned certificate expiry is metadata; this review does not turn that value into a claim that all real deployment prerequisites have been satisfied.

Bind the Apple package through its manifest

The package builder serializes pass.json, adds selected image files, calculates each source file’s manifest digest and signs the manifest as detached CMS/PKCS#7 data. The existing fixture opens the generated archive, recalculates every included source digest and checks that the manifest accounts for those files.

A separate assertion verifies the detached signature and rejects a modified manifest. The verifier uses the embedded signer certificate and checks content integrity; it does not validate an Apple-issued certificate chain. A successful synthetic signature proves selected local construction, not that Wallet recognizes the issuer or will install this package.

Generate destination-sized images without assuming a photograph exists

The selected image fixtures check Apple icon, logo and thumbnail dimensions at three scales. A logo preserves its aspect within the configured bounds. A missing or disabled personal photo produces an initials image instead. Google’s selected image helper produces a square PNG from either supplied pixels or initials.

Those are byte and dimension checks, not visual acceptance on every platform. Source branches also catch selected asset-fetch failures before using fallback inputs. Invalid supplied image bytes and actual network retrieval need their own acceptance evidence; the passing dimension checks should not be described as a complete image-decoder security audit.

Keep save links compact while preserving their actual contents

The Google builder creates class and object descriptions, while the save JWT carries object identifiers. The existing fixture verifies its generated RSA signature, audience, origin and selected household identifiers, and checks that the synthetic member name is absent from the JWT body. The separately constructed object still carries the allowed display content.

The test also measures two example household link/token sizes. These are measured synthetic examples, not a universal browser compatibility guarantee. Google’s current issuance guidance warns about long encoded tokens; actual household sizes, identifiers, keys and browser paths should be measured against that guidance rather than a hard-coded assumption about all links.

Preserve the difference between packaging and platform acceptance

The Apple fixture checks the web-service destination, pass identifier, serial-related authentication token, household grouping, barcode claims and selected relevance fields. A bundle case checks multiple nested pass files, while a separate construction assertion checks an optional NFC dictionary.

No NFC exchange, secure-element operation, account entitlement, issuer approval or actual pass installation occurred. Google object construction and local JWT signing likewise do not prove publishing access or a successful user save. The acceptance package must separately cover the intended platform, issuer setup, approved content and real installation/update behaviour.

A useful handover for wallet integration work

Keep the pinned content fixtures, explicit platform projection, voided examples, package manifest checks, tamper refusal, synthetic certificate imports and image-size measurements. Review actual presentation separately with controlled accounts and approved signing material, including photo preferences and the replacement of an already installed pass.

For a CTO commissioning wallet integration, the practical deliverable is a map from source data to distributed bytes and from those bytes to observed platform behaviour. The local cases establish selected construction and integrity properties. They leave current certificates, live issuer configuration, device presentation and clinical appropriateness to their own acceptance work.

Compare the reviewed boundaries

Wallet evidence has several independent layers

On smaller screens, scroll across to compare every column. Keyboard users can focus the table and use the arrow keys.

LayerLocal evidenceStill separate
Display projectionSelected synthetic markers omittedActual preview and presentation policy
Apple packageManifest hashes and detached signatureApple trust chain and installation
Google save linkLocally verified signed object referencesIssuer access and user save
Voided contentNo new barcode or personal photoReplacement of an installed copy

Illustrative control flow

Pseudocode summarizing the decision boundary. It is not copied production code or a deployment instruction.

content = project_for_wallet_destination(payload, preferences)
if content.voided:
    omit_barcode_and_personal_photo()
files = serialize_content_and_destination_images(content)
manifest = hash_each_source_file(files)
sign_manifest_and_build_package(manifest, files)
# Local package integrity is one gate; platform installation is another.

Additional implementation references

These provider references explain current implementation context. Historical Movo-X observations remain tied to the source records described above.

About this engineering series

Written by Omer Muneer Qazi from a review of Movo-X implementation and dated engineering records. This article explains source behaviour and historical observations; current production, clinical outcomes and store availability require their own verification. Examples are synthetic and proposed test cases are identified as such.

Explore the Movo-X engineering series → · Related implementation experience →

Discuss a similar engineering problem

Send the workflow, current platform and the decision your team needs to make. I can help define an implementation or review scope with concrete acceptance evidence.

Discuss your project on WhatsApp ↗
WhatsApp Omer about this project ↗