Business · Product · Technology · AI

Separate device unlock, identifier reveal and server authority

A Movo-X privacy-surface case tracing advisory unlock headers, server refusal reasons, record selection, Android late-response generations and separate device acceptance.

Work directly with Omer Muneer Qazi · Reviewed 29 November 2026

The scenario: a hidden identifier is still sensitive application data

A mobile profile may mask an identity number or contact detail until the user intentionally reveals it. That interface choice reduces casual exposure, but it is not the same operation as the server deciding whether the current account may receive the underlying value. A local unlock cannot independently authorize a clinic record.

The pinned Movo-X implementation uses an advisory unlock header, a dedicated reveal route and native in-memory display state. Four local TypeScript route cases and four Android JVM logic cases passed. They use invented identifiers and fake adapter responses, without exercising a real phone unlock, medical account or database.

Describe the advisory header as bookkeeping rather than attestation

The route accepts a selected bounded character set for an optional reveal-assertion header. It forwards only a Boolean indicating presence, not the raw header string. A supplemental case checks absent, ordinary and maximum selected header values, alongside selected empty, oversized and disallowed-character refusals.

The same fixture confirms that an invented device-owner string is absent from captured adapter inputs. The header is not a cryptographic authenticator assertion and does not certify a biometric event. This route must not be confused with the separate passkey signature-verification path described elsewhere in the series.

Keep request identity and current server policy independent

Existing route cases require a person-shaped selector and client request identifier, refuse the selected wrong method and leave unrelated routes untouched. The supplemental refusal case supplies a seemingly positive device-owner header but still receives the fake database’s trusted-session-required response.

The inspected SQL independently checks selected session trust, household person access, record-link tier and limits before constructing its result. Those SQL branches were reviewed without execution. The local cases therefore establish wrapper behaviour, not durable access enforcement, actual limit counters or a complete audit of every reachable record field.

Preserve useful refusal reasons without inventing success

The route has a selected path for returning a bounded database reason with its error status. Existing and supplemental cases check a reproof refusal and a trusted-session reason. A lock icon becoming open in a client does not turn that refusal into a successful reveal.

The reviewed Android and Swift source map selected server failures into different next-step categories, including account confirmation, stronger proof, unavailable routes and rate limits. Those native error-mapping branches were not freshly executed in the four Android cases here. Their copy and interaction should be checked with the exact installed client and server contract.

Select the matching record before filling permitted gaps

The executed Android fixtures construct multiple records and verify selection by patient identifier together with facility context when supplied. A matching record’s full identifier or contact value takes precedence, while selected missing fields can fall back to the person-level representation. An unknown record has no record-level address to display.

Another fixture uses the same patient selector under two facilities and checks the selected facility’s contact/date values. This is presentation logic over an already supplied response, not authorization. The server must decide which records enter that response; a native selection helper cannot repair an overbroad server payload.

Prevent an earlier response from repopulating a closed reveal window

The Android lock object associates stored responses with a generation. Closing the lock increments that generation and clears the in-memory map. The executed JVM case stores two invented people, closes the shared lock, reopens it and attempts to store a response belonging to the earlier generation. The old response does not reappear.

That is a concrete late-response boundary, separate from cancelling transport work. It does not prove operating-system memory erasure or eliminate every asynchronous race. The fixture exercises the actual local object methods without an Activity lifecycle, background transition, screenshot or physical device.

Treat local unlock and timing as native acceptance work

The reviewed Android source launches a device-credential confirmation path and handles its result. Platform documentation describes PIN, pattern, password or enrolled biometrics for that API, and marks the inspected API deprecated in favour of newer authentication interfaces. No platform prompt was launched in this research.

The Android source also has an inactivity-time helper and a demo-only path; selected Swift source has its own reveal-window helper and service header construction. These observations do not establish identical end-to-end timing or authentication on both platforms. Lifecycle hooks, unsupported devices, cancellation and actual device settings need separate controlled acceptance.

Do not equate no-store with retracting received information

The existing route fixture checks the response’s no-store header. That expresses a caching directive for the response; it does not prove that a client never retains or redisplays received values. The Android logic explicitly stores selected revealed responses in memory while its lock is open.

The source’s presentation policy and server authority remain independent. Hiding the view, discarding a local map, revoking a session and removing a previously captured screenshot are different events. This chapter does not claim screen-capture prevention, secure memory destruction or removal of every previously received copy.

A practical sensitive-reveal acceptance package

Retain route/header refusal, server-reason propagation, record-selection and stale-generation cases. Add database access/limit fixtures and controlled Android/iOS journeys for unlock success, cancellation, late responses, hiding, backgrounding and sign-out. Use synthetic identifiers and record which surface or state transition each check actually observes.

For a CTO, the resulting contract is clear: the device controls an intentional presentation step, while the server owns the values and current access decision. The selected local cases establish useful routing and state boundaries. Current database policy, actual unlock ceremonies, full cross-platform parity and physical-screen privacy remain separate evidence.

Compare the reviewed boundaries

Independent decisions in sensitive reveal

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

BoundarySelected local evidenceSeparate acceptance
Unlock headerPresence becomes advisory BooleanActual device authentication
Server refusalInjected reason/status returnedExecuted access and limits
Record presentationAndroid matching/fallback casesAuthorized response membership
Late responseOld generation rejected after hideFull lifecycle and device rendering

Illustrative control flow

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

device_result = request_intentional_local_unlock()
response = request_server_authorized_reveal(person, advisory_presence(device_result))
if response.refused:
    show_current_server_next_step()
else:
    store_only_if_reveal_generation_is_still_current(response)
# Local presentation state is not a replacement for server authority.

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 ↗