Comment Re:Age vs Identity (Score 1) 166
Note that in your example, the identity service would now know it's pornhub that you, John Doe, was trying to access. This could be sensitive information that you wouldn't want revealed. It would be better if the identity service creates a temporary token (say it lasts for 5 minutes) that pornhub anonymously queries so the service doesn't know it was pornhub that's trying to access it, but it would still know that you tried to create a token, and if the identity service logs the IPs it could figure out that it was pornhub.
A better system is an offline system, similar to how our digital COVID vaccination cards used by some US states (SMART Health Card system). You generate a public / private key pair, verifies it with the state who then signs the public key. You just need to present the signed public key to the porn site and then use the private key to prove that you own it. This is a bit more technically challenging to implement though as you are now asking people to manage public/private keys. Even then this system may still leak info since now you have a known public key that you are reusing as an identity across sites. Note that for vaccination cards this is not a problem because you just get a QR code which is a piece of signed information stating that your name/DOB is indeed vaccinated. For porn sites you want an anonymous way to identify yourself, not a public name.
To really be privacy-preserving you would need to use some form of zero-knowledge proof but now we are getting into really technical new technology territory.
I guess what I'm trying to say is, lawmakers always just claim there are ways to make this privacy preserving but none of the lawmakers who say this are computer scientists from what I have seen so far, and I don't trust the government system to actually be well thought out enough to be what I consider privacy preserving. It's just a word that people throw around without really thinking through the technical details, and it's actually not that easy to actually come up with a system that works.