Data Sovereignty / Source date:

Contact Tracing Apps: Privacy Engineering Under Pressure

Decentralized designs showed that public health goals and data minimization were compatible.

Staged privacy architecture review using demo devices and local matching, minimal server and technical expiry cards, not a real tracing app.

Contact tracing apps are the largest privacy engineering experiment ever conducted in public, and nine months in it is possible to say something useful about what happened. The headline finding is not about apps at all. It is that the architecture decided the outcome long before the policy did, and that the people writing the privacy promises were mostly downstream of an engineering choice they did not make. Every organisation building anything sensitive should be studying this, because it is a rare case where the same problem was solved several different ways at national scale, in the open, at speed, with the results visible within months.

One design decision, everything else downstream

Strip the debate to its mechanics and the competing designs differ on a single question: where does the matching happen? In the decentralised model, phones broadcast rotating pseudonymous identifiers over Bluetooth and keep a local record of what they heard. When someone tests positive, their recent identifiers are published, every other phone downloads the list and checks it locally, and the alert is generated on the device. The server never learns who met whom. In the centralised model, contact logs are uploaded to a health authority server, and the matching and risk scoring happen there. The authority can see the contact graph, analyse it, refine the algorithm and follow up directly. Everything people argued about in the spring follows from that one choice. What a compelled disclosure would yield. What a breach would expose. What an epidemiologist can learn. Whether the promise "we cannot see your contacts" is a policy commitment or a mathematical fact. And one further consequence settled the argument in practice: background Bluetooth access. Phone operating systems restrict it, the exposure notification interface published by the platform vendors in the spring provides it, and that interface only supports the decentralised model. Several governments discovered, as the United Kingdom did publicly in June, that a centralised app that cannot run reliably in the background is not a working app, and switched. The most consequential privacy decision of 2020 was made by two platform vendors setting an API constraint, not by any legislature or regulator.

Locate the matching, then inspect the restArchitectural questions distilled from the article, not a privacy guarantee or measured public-health outcome.
Design elementData question
Phone-side matchingWhat reaches the server outside matching?
Server-side matchingWhich contact records reach the operator?
Whole serviceWhat logs and identifiers persist elsewhere?

Qualitative summary of this article's source text, not a measured outcome or performance estimate.

Neither design is simply the private one

The decentralised architecture deserves its reputation, but the trade-off is real and was often glossed over by its advocates. A system that keeps the graph on the device also keeps it away from the epidemiologists. Authorities using it cannot easily tell whether the risk algorithm is calibrated, cannot see clusters forming, cannot distinguish a workplace outbreak from a household one, and cannot follow up with a person who has been exposed beyond sending an anonymous notification into a phone. Several public health teams argued, not unreasonably, that they were being asked to run an intervention they could not measure. The centralised design offers all of that and asks for something in exchange that is easy to give and impossible to take back: a national database of who was near whom, protected by the current government's undertakings about how it will be used. The objection was never that the present administration intends to misuse it. The objection is that the data outlives the undertaking. Both of those are legitimate positions. What was illegitimate, and common, was presenting an architecture as a values statement while quietly hoping nobody asked what it cost.

The bottleneck was never the protocol

Here is the uncomfortable part for everyone who spent the spring arguing about cryptography. The protocols worked. Adoption, ranging accuracy and process integration decided effectiveness, and all three sat outside the privacy debate. Bluetooth signal strength is a poor proxy for distance. It is affected by which pocket the phone is in, by bodies, walls, glass and metal, and it cannot tell the difference between two metres across a table and two metres through a partition. Every deployment has had to tune a risk threshold against that noise, trading false alarms for missed contacts, with limited ground truth to tune against. More decisively, the app only matters if a positive test result reaches it quickly. Where the laboratory could issue a verification code within a day, notifications went out while they were still useful. Where results took four or five days, the alert arrived after the exposed person had already infected whoever they were going to infect. And a notification is only valuable if the recipient can act on it, which in practice means whether they can afford to stop working. The privacy engineering was, by a distance, the most competent part of the entire programme. It was attached to a testing pipeline and a sick-pay system that had not been engineered at all.

What transfers to ordinary systems

The useful lessons for any organisation handling sensitive data are architectural rather than legal. Decide where computation happens before you decide what to promise. A commitment that depends on a policy is weaker than one enforced by a design, and product teams routinely make the design choice first and hand the consequences to legal afterwards. Minimisation is a structure, not a statement. Data never collected cannot be breached, subpoenaed, requested by the marketing team, or quietly repurposed in a reorganisation. This is the only privacy control that keeps working after everyone involved has left. Assume purpose limitation will be tested. It always is, usually around month nine, usually by someone with a legitimate-sounding request. Investigators have already approached venue check-in registers in several countries for purposes entirely unrelated to public health. If you would refuse, the refusal must be built in — rotating identifiers, automatic deletion, keys that expire — because a promise is renegotiable and an absent database is not. Publish the protocol. The specifications that were opened to public scrutiny in the spring were improved by it within days. Secrecy about a design is almost never protecting the users. Write the sunset into the code. A programme built for an emergency should have a stated end date, a defined deletion process, and someone accountable for executing it. Emergency systems that outlive the emergency are the historical norm, not the exception. Remember that trust is set by the weakest component. People judged these programmes by the paper log at the clinic door and the unencrypted QR register at the restaurant, not by the elegance of the cryptography.

Practical Guidance for Privacy Engineering Briefing

  • Draw where each piece of data is computed, stored and matched before the first line of code. Architecture diagrams are privacy documents.
  • Prefer on-device or in-tenant computation for anything you would rather not hold. The strongest control is not having the data.
  • Use rotating pseudonymous identifiers rather than stable ones wherever identity is not required. Stable identifiers become join keys, and join keys become profiles.
  • Set technical retention with automatic deletion, not a retention policy in a document. Manual deletion processes are performed exactly once, during the audit.
  • Apply this to the check-in, visitor and health logs you built this year. Most workplace registers created since March have no owner, no retention period and no access restriction.
  • Write and publish the refusal position for third-party access requests. Who receives them, who decides, what is disclosed and what is not.
  • Treat the vendor platform constraint as a design input. Operating system and app store rules now shape what is buildable more tightly than most regulation does.
  • Put a named end date on every emergency system. Then diarise the deletion and make one person accountable for confirming it happened.

The Regional Angle

Four differences stand out here, and the first reframes the entire debate. Across the Gulf these apps are not voluntary in any meaningful sense. Ehteraz in Qatar has been required since May, Tawakkalna in Saudi Arabia became the mechanism for movement permits and venue entry, ALHOSN in the UAE carries test results and is checked at doors, and BeAware in Bahrain is tied to quarantine compliance. When installation is a condition of entering a shopping centre, boarding a flight or going to work, consent has nothing to do with it, and the European argument about voluntary adoption rates simply does not apply. What the app becomes instead is an identity and permission token: a status displayed at a checkpoint. That is a different system with a different threat model, and it should be assessed as one rather than as a proximity-notification tool with stricter enforcement. Second, the region largely skipped the proximity-privacy debate in favour of location and enforcement technology. Quarantine compliance has been managed with GPS tracking and electronic wristbands rather than with anonymous Bluetooth beacons, and some deployments have drawn pointed criticism from international human rights organisations over live location collection and, in at least one reported case in the spring, weak protection of the data itself. Whatever one's view of the public health case, note the engineering consequence: these systems hold precise, identified location histories, which is the highest-sensitivity category of data any government programme routinely collects, and they will exist long after the notifications stop mattering. Third, employers here were pulled into the system in a way that few have thought through. Checking an app's status at the entrance makes the employer a handler of employee health information, usually with no record of who checked, no retention rule and no basis written down. Worse, a significant part of the regional workforce — particularly workers in shared accommodation — may not have a personal smartphone, and the practical workaround has been employer-managed enrolment, which places identity documents, health status and, in some cases, device custody in the company's hands. If you did this in the spring, document what you hold now, restrict who can see it, and set a deletion date. Fourth, nothing interoperates. Each GCC state has built its own platform, and a business traveller resuming intra-regional travel will carry three or four of them, each with its own registration, its own data and its own rules. Europe launched an interoperability gateway between national apps last month; nothing comparable is in prospect here. For regional groups with staff moving between Riyadh, Dubai and Doha, the practical planning assumption is multiple parallel enrolments for the foreseeable future, and a policy on what the company will and will not require staff to install on personal devices.

The objection worth taking seriously

The strongest objection is that the entire effort was beside the point. Where the evidence exists, these apps appear to have made a modest contribution alongside testing capacity, manual tracing and ordinary public health measures. Some of the most capable engineers and cryptographers in the world spent a year perfecting the privacy properties of a component whose limiting factors were laboratory turnaround, sick pay and public trust. If the objective was fewer infections, the marginal engineering hour was probably better spent elsewhere, and the argument about centralised versus decentralised consumed political attention that testing capacity needed. That critique lands. Two things survive it. The counterfactual was not "no app". In the absence of a credible privacy-preserving design available quickly, a number of governments would have built location-tracking systems on commercial mobility data and emergency powers, and several did exactly that where the alternative was not ready. The existence of a usable, scrutinised, minimal design changed what was politically defensible, and that mattered most in the countries where the pressure to build something invasive was greatest. And the pattern is reusable. On-device computation, rotating identifiers, published protocols, platform-enforced constraints and technical expiry now have a working demonstration at population scale. Before this year, an engineer arguing for that architecture in a corporate design review had theory. Now they have precedent, which is a far better argument in the room where these things are decided.

Common Questions

Which architecture should we copy for our own systems?

The decentralised pattern, wherever the central party does not genuinely need the data to do its job. Keep computation at the edge, keep identifiers rotating, and only centralise what you can justify item by item.

Consent is rarely the right basis in an employment relationship, and it is worth less where employment carries residency. Rely on necessity, keep the collection minimal, tell people plainly what happens to it, and delete it on a schedule.

How long should we keep check-in and screening records?

As long as the public health purpose requires and no longer, which is usually a small number of weeks. Anything still held after that is being retained by accident.

What should we expect over the next twelve months?

Expect the check-in registers and entry logs to outlive the tracing apps, because they are cheap to run and nobody owns their deletion. Expect more law enforcement interest in that data, and at least one public controversy about it. Expect the exposure notification framework to be repurposed for other health uses now that it exists. And expect the next credential problem to arrive quickly: with vaccine candidates in late-stage trials, the question of how someone proves a health status at a border or a door is about to become far harder than proving a proximity event ever was.


Privacy Engineering Briefing — we translate this year's architectural lessons into design rules your teams can apply before the next system collects something you would rather not hold.

Continue reading

Talk to OPS

Start with the operating problem.