I look forward to being able to buy your porn surfing habits on the darkweb in a few years.

The ID card allows age verification without disclosing the identity to the service which needs the age verified.

You don't think that the digital ID provider is keeping logs of which sites requested to verify which users? Even government websites are not exactly known for their high security.

The digital ID provider is only involved in issuing the ID to you. When you use that ID to verify age to a site the only communication is between your phone and the site. The ID provider has no idea when you use the ID, how often you use the ID, or where you use the ID.

Briefly, when the ID provider issues the ID it gets cryptographically bound to your phone. When you use the ID to prove something to a site (age, citizenship, etc) the is done by using a zero-knowledge proof based protocol that allows your phone to prove to the site (1) that you have an ID issued by your ID provider, (2) that ID is bound to your phone, (3) the phone is unlocked, and (4) the thing you are claiming (age, citizenship, etc) matches what the ID says. This protocol does not convey any other information from or about your ID to the site.

This doesn't work because you can't prove the origin of a single bit of data without the associated identity and the origin of the data can only be verified by matching the biometric image on the ID against your real face with a camera.

Otherwise a single person could donate their ID card and let everyone else authenticate with it.

Now you might counter and say it would be enough to give each card a sequential number independent of the person's identity, but then you run into another problem. Each service might accept each card only once, but there are many services out there, so having a few thousand donations could be enough to cover exactly the niche sites that you don't want kids to see.

There is no way to implement this without a complete authoritarian lockdown of everything. There will always be people slipping past the cracks. This means all this will ever amount to is harm reduction, but nobody is selling it on that platform. Nobody is saying that they are okay with imperfect compromises.

Ah, so your phone is the trust point. That's better than it could have been, but it still leaves other issues, like sites with multiple domains or data brokers cross-identifying you based on phone and user information, e.g. 'this phone verified someone on porn site A. This same phone over on social media site B also verified, and on the social media site they have all their real-world info, so now we know their interests', etc.

And before anyone asserts that the phone can be anonymous, that doesn't work, otherwise you can just have an app that claims to have a verified ID attached.

*everyone's

The difference is meaningful. It's mostly prisoners dilemma. If only one persons porn habit is available thats bad for them. If everyones (legal) porn habits are available, then it gets normalized.

Normalized or not, the risk is you get something akin US drug enforcement: ignored for certain demographics, enforced for others. The ability to see someone's porn history is irrelevant until a government (or employer perhaps) wants to weaponize it.

The problem isn't my peers, it's the people in power and how many of them lack any scruples.

Drugs are not legal; porn is.

this seems to run parallel to the "i have nothing to hide" / "well they have everyone's data, so who cares about mine" arguments.

this is too narrow a view on the issue. the problem isn't that a colleague, acquaintance, neighbor, or government employee is going to snoop through your data. the problem is that once any government has everyone's data, they will feed it to PRISM-esque systems and use it to accurately model the population, granting the power to predict and shape future events.

Predict and shape future porn events?

I don't know, this is a bad take. There is good technology to deal with that problem.

https://github.com/google/longfellow-zk

https://news.ycombinator.com/item?id=44457390