There are some pretty strong arguments that even zk proof is a flawed way of preserving privacy though, in a variety of ways. It prevents pseudonymity by enabling one-user-one-account, and it leaves users vulnerable to being coerced to reveal their full online activities by handing over cryptographic keys.
Comment on Is it completely impossible to do age verification without compromising privacy?
SorteKanin@feddit.dk 2 days ago
In principle it should be possible to do a zero-knowledge proof.
This means that the website asking for age verification asks a yes/no question like “Is this user 18+?” and the age verification service (like a digital ID provided by the government or whatever) answers “yes” or “no” accordingly, but without telling anything else about the user. Also, the verification service should ideally not know who asked for the age verification.
So the site you want to visit only knows the thing they need to know: Whether you are 18+ or not. Nothing else. And the age verification service only knows somebody asked for age verification and provided the answer, but do not know which site you visited.
This is all possible, but I don’t have high hopes this is the intended implementation of any government seeking age verification, so don’t get your hopes up.
chicken@lemmy.dbzer0.com 2 days ago
Wren@lemmy.today 2 days ago
Got ready to read some bullshit,
Vitalik Buterin
nevermind. But damn, what a great read. I haven’t given much thought to on-chain ID in years and he lays it out pretty well. Still sounds like encrypted tokens are the way to go, but we all need to have multiple forms for it to protect anonymity.
chicken@lemmy.dbzer0.com 2 days ago
If there’s one person who knows their applied zk proofs, it’s that guy.
quick_snail@feddit.nl 1 day ago
Not monero or zcash devs?
AtHeartEngineer@lemmy.world 1 day ago
I worked in this field for 3 years, a lot of the core parts are written, but there are a few key pieces missing and no one has taken it to real production.
You can use a passport in pretty much any country and prove you’re over a certain age. Here is a demo: github.com/dog-18/dog18
The parts that are missing are primarily around making secure nullifier, which prevents someone from reusing identities, but also without revealing any private information. We were pursuing research that allowed nullifier generation in MPC where none of the servers or the users knew the “salt” that their identity was hashed with, so no one could recover the original piece of unique data (like their passport number) but it would also prevent them from signing up with multiple accounts. We got our funding cut pretty bad and management was a mess, so I left and that research I think was shut down. This really is the key part to actually make that viable in the real world though. It’s maybe a year worth of research and a year worth of production left to make that practical.
quick_snail@feddit.nl 1 day ago
Does that mean the government sees all the sites I’ve visited?
SorteKanin@feddit.dk 1 day ago
No, that’s what I wrote as well. The identity service would not know what sites were visited or ideally not even how many sites were visited.
Strider@lemmy.world 1 day ago
Indeed, technologically it is absolutely possible in multiple ways.
But the tempting possibilities of doing more than that are just too great.
perviouslyiner@lemmy.world 2 days ago
doesn’t this just raise the authentication requirements? like in the uk we got added checks for who was could work, and lots of deliveroo drivers shared the login + password of someone they knew who was verified.
Hoimo@ani.social 1 day ago
You could make it single-use tokens and rate limit individual users when they request too many tokens in a short time. Someone could still share their tokens with a friend, but it doesn’t scale to where thousands are verifying with some stranger’s id.
Beacon@fedia.io 2 days ago
I think it should be easy to identify when an account is being shared. For example if it's used from different ip addresses within a short amount of time
birdwing@lemmy.blahaj.zone 2 days ago
The one who asked the verification service also shouldn’t know who the verification service is, imho.
Candice_the_elephant@lemmy.world 2 hours ago
Or the government sets up an age verification service that doesn’t store logs and only reports numbers in aggregate. The restricted site sends you and a unique id off to the government service, you verify there and it hands back the id & a yes/no token to the site.
SorteKanin@feddit.dk 2 days ago
I’m not sure that is feasible, because in order to trust the answer, I feel the asker must know and trust the one providing the answer. It sounds like you’re imagining a system with many different ID providers? What prevents me from creating my own provider that just answers “Yes”, even for people under 18? If the site asking does not know it is my fake ID service providing the answer, I’m not sure they can trust any answer.
But I won’t pretend to be an expert on this topic, so perhaps it is feasible somehow.
halcyoncmdr@lemmy.world 2 days ago
This is possible if there’s a central authority for that that everyone can agree to trust, like the government records directly. The issue is ensuring the rest of the chain remains anonymous so the only thing the authority gets is the request that an undisclosed service is verifying John Doe is 18+ and nothing else. And that’s not something many governments are going to want to allow with the increasingly alarming amount of authoritarian leadership.