this post was submitted on 30 Nov 2024
127 points (99.2% liked)

Programming

23712 readers
895 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Many might've seen the Australian ban of social media for <16 y.o with no idea of how to implement it. There have been mentions of "double blind age verification", but I can't find any information on it.

Out of curiosity, how would you implement this with privacy in mind if you really had to?

you are viewing a single comment's thread
view the rest of the comments
[–] chaospatterns@lemmy.world 14 points 1 year ago* (last edited 1 year ago) (7 children)

Its possible to implement something that hides your actual age from a website, but the tricky part is hiding what website you're visiting from an identity provider.

Let's walk through a wrong solution to get some fundamentals. If you're familiar with SSO login, a website makes a request token to login the user and makes claims (these request pieces of user information.) One could simply request "is the user older than 18?" And that hides the actual age and user identity.

The problem is how do you hide what website you're going to from the identity provider? In most SSO style logins, you need to know the web page to redirect back to the original site. Thus leaking information about websites you probably don't want to share.

The problem with proposals that focus on the crypto is that they actually have to be implemented using today's browser and HTTP standards to get people to use them.

[–] hemko@lemmy.dbzer0.com 2 points 1 year ago (4 children)

Could it be maybe a token signed by the verifying party living permanently on your computer (like cookie), and websites can request permission to query it to verify the age?

[–] sukhmel@programming.dev 4 points 1 year ago (1 children)

Since age tends to not decrease, that may make sense: once you reach 18 you get a signed token you can use forever.

Your token might be used by someone else, though

[–] MajorHavoc@programming.dev 5 points 1 year ago (1 children)

Your token might be used by someone else, though

Yeah. I feel like that cool bad influence not-actually-my-uncle is gonna publish their porn access token everywhere.

[–] hemko@lemmy.dbzer0.com 4 points 1 year ago

Porn Access Token lmao

load more comments (2 replies)
load more comments (4 replies)