zlacker

[parent] [thread] 9 comments
1. Matteo+(OP)[view] [source] 2025-07-03 19:18:56
The specifics depend on local regulations, but roughy speaking: the government gives you a document in a standard format (eg MDOC). Your phone stores the document, with cooperation from a secure element that binds the document to the phone. The website you visit verifies the proof. The government gives documents to whatever wallet they want, which may be a special government wallet. They may or may not give the document to Google Wallet.
replies(1): >>coldpi+I
2. coldpi+I[view] [source] 2025-07-03 19:23:58
>>Matteo+(OP)
Thank you.

> Your phone stores the document, with cooperation from a secure element that binds the document to the phone. The website you visit verifies the proof.

So it does require a "blessed" implementation, and I have to trust Google or Apple to handle my data? I cannot own the document myself and use an open-source client that I trust to provide the proof?

replies(2): >>Matteo+j1 >>miki12+j9
◧◩
3. Matteo+j1[view] [source] [discussion] 2025-07-03 19:29:09
>>coldpi+I
It depends on local regulations. As far as I can tell Europe will require some sort of blessing of the wallet. To be clear, governments will develop their own apps and it's not clear that Google will be blessed. We (Google) are giving them the code pro bono to improve privacy.
replies(1): >>coldpi+W1
◧◩◪
4. coldpi+W1[view] [source] [discussion] 2025-07-03 19:33:20
>>Matteo+j1
Hmm. This introduces a third party to the protocol, right? Specifically the developer of the wallet. So we now have three parties: the user, the wallet developer, and the relying party. Does this zk protocol protect the user's privacy from the wallet developer as well as the relying party?

In other words, does the protocol give the wallet access to information about the relying party? For example, could this wallet that I don't control tell its owner, or the government, that I am using it to access a certain website?

replies(1): >>Matteo+L3
◧◩◪◨
5. Matteo+L3[view] [source] [discussion] 2025-07-03 19:46:06
>>coldpi+W1
Yes, a malicious wallet could leak your information. This is why some governments will insist on using only blessed wallets. However, wallet+zk is strictly better than sending the plaintext MDOC to the relying party. There are no solutions in this space, only tradeoffs, and elected representatives have picked one tradeoff.
replies(1): >>coldpi+I4
◧◩◪◨⬒
6. coldpi+I4[view] [source] [discussion] 2025-07-03 19:52:27
>>Matteo+L3
That's too bad :( I wish the protocol had been designed with that in mind. Requiring users to trust proprietary software from Google & Apple to be in complete control over their digital identities is a pretty crummy direction to go in.
replies(1): >>Matteo+VR
◧◩
7. miki12+j9[view] [source] [discussion] 2025-07-03 20:29:25
>>coldpi+I
In principle, you could use an open source implementation, but not a user-modifiable implementation.

Nothing stops a government from making their code open source and providing you with reproducible builds. You just won't be able to change the code to do something the government doesn't deem legal.

◧◩◪◨⬒⬓
8. Matteo+VR[view] [source] [discussion] 2025-07-04 06:24:05
>>coldpi+I4
See https://github.com/eu-digital-identity-wallet/eudi-doc-archi... for a reference to the nuances on all these topics, at least in the context of the European Union. Other locales have different problems and different solutions.

If you think you have a better idea shoot me an email.

replies(1): >>coldpi+Xo1
◧◩◪◨⬒⬓⬔
9. coldpi+Xo1[view] [source] [discussion] 2025-07-04 11:49:57
>>Matteo+VR
The document states:

> Controlled by users: The EU Digital Identity Wallets will enable people to choose and keep track of their identity, data and certificates which they share with third parties. Anything which is not necessary to share will not be shared.

I think where the ZKP stuff being discussed here fails to meet this criteria is the wallet provider is also a third (non-user) party. You stated elsewhere that a malicious wallet could leak data about a transaction: that's exactly the vulnerability that is not being accounted for by this protocol.

> If you think you have a better idea shoot me an email.

Sure, will do. It does seem to me like a solvable problem. I think this kind of tech is really important and I'd love to see this hole get closed so I can feel better about supporting it.

replies(1): >>coldpi+ha2
◧◩◪◨⬒⬓⬔⧯
10. coldpi+ha2[view] [source] [discussion] 2025-07-04 18:05:14
>>coldpi+Xo1
Update: After some email discussion with Matteo, it looks like my fears are unfounded. The EU regulations seem to require wallets to be open source[1]. Assuming that wallets do not need to pass any sensitive transaction data down to the OS libraries, then it should be possible for users to verify the behavior of their wallet software by examining the source and possibly even by building & deploying it themselves.

[1] See section 33 here https://www.european-digital-identity-regulation.com/Preambl...

[go to top]