Sjors Provoost

sjors@sprovoost.nl
I appreciate that the Dutch government at least open sources their dystopian age verification wallet project. It makes it possible to more accurately pin down where the privacy and censorship problems are. I would encourage others in the EU to look for what their country is up to. First concrete issue found: they use a deterministic hash of the national identification number (SSN-like) as a recovery (and blacklisting) mechanism.
GitHub · github.com/MinBZK/nl-wallet/issues/38BSN based recovery mechanism weakens privacy · Issue #38 · MinBZK/nl-walletAccording to the server code1 and recovery_usecase.md, each user gets a unique and permanent recovery code, derived from their BSN: hex(HMAC-SHA256(issuer_secret_key, BSN)) As part of the onboardin...
I'll give the authors some time to respond, also to make sure I'm not hallucinating. With some help from Claude I already found other potential issues, as hinted in the footnotes, but I want to more thoroughly understand these.
The one-to-one coupling does it, yes. It would still be the case if they follow my suggestion to generate (and store) a random number for each BSN and then hash that. It's not fundamental to the EU directive afaik, it's a problem with this particular architecture. But I suspect that any conceivable architecture that's permitted under the law (which is flexible) is going to have serious issues like this.
@sjors if the law itself mandates recoverability, is any privacy preserving version even possible, or does mandated recovery always mean a backdoor?
I haven't studied that part of the Directive yet. Recovery could just mean: if you lose your pin, you sign up again, download your digital drivers license and other stuff again. Not much different from losing a physical wallet. It's a UX trade-off, but with serious privacy consequences. The harder (but maybe not impossible) part is blacklisting (by the authorities) and revocation (by the user, after they lose access).

← More from Sjors Provoost