Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Ask Lemmy
  3. Theoretical Private Age Confirmation -- Possible?

Theoretical Private Age Confirmation -- Possible?

Scheduled Pinned Locked Moved Ask Lemmy
asklemmy
40 Posts 23 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L [email protected]

    Yes, such systems are in development and are called identity wallets. https://yivi.app/ for example has the idea of zero trust attribute sharing. You can request attributes the government knows and store these on your phone. You could then share an attribute like "over 18" with the porn site without the government knowing you shared it with them. Most identity wallets don't want to touch the porn industry tho. So it isn't used for that (yet).

    J This user is from outside of this forum
    J This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #24

    Then how does the site verify the attribute is valid?

    L 1 Reply Last reply
    0
    • L [email protected]

      Hello,

      I was gonna post this on Ask Lemmy, but then I thought maybe Technology would be a better fit for the theme. But then I saw it's mostly news, so I thought perhaps Ask Lemmy would indeed be a better fit. If this is not the case, please point me to the right direction.

      As a heads-up, I am not 'Murican, and never been to 'Murica, so keep that in mind.

      Seeing the recent news with France trying to age-restrict pornographic material online, I was wondering and have sort of an idea, that I wonder if it is actually doable and actually good.

      Hear me out: the gobermint likely already has your data, right? At least stuff like name, date of birth, etc. The gobirment could have a private and secure service, which websites and services could use to confirm certain requirements.

      For instance: A website wants to confirm if you're over 18. The website essentially asks the official gob. service, "is this user at least 18 years of age?". The official gob. service essentially has to answer "yes, your requirements are met" or "no, your requirements are not met", without giving away information on a person. The user gets prompted, being told what information is being required and whether they wish to share that. The official service wouldn't know where the request is coming from, but the original website requesting the information generates and shows a temporary code, which is not related to the website at all and is sent to the gob. service, so that the user can confirm it is indeed the website they were using that is requesting this, and not a hijack of some kind. The gob. service, if allowed by the user, sends out this confirmation to the original website, without the gob. service knowing the website and without the website knowing the user's info. The website then knows whether their requirements are met and can then act accordingly, such as by not allowing someone to access adult material if they do not meet the age requirement.

      Does this make sense? Is it doable? Could it be a potential private and secure way of confirming user information without either party having access to the other's information? Obviously, the idea could be worked on and polished, but as a starting point.

      Edit: so, what I'm gathering from comments here:

      1. Som'o'y'all didn't get it (no, you don't got to log in to your porn tube of choice with an official gob. account)
      2. This cannot be done
      3. This could be done
      4. This is already a thing being worked on
      J This user is from outside of this forum
      J This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #25

      This can work, but with cryptography instead of the porn site connecting to a government service.

      The swiss government wanted to introduce electronic id a few years back which was a complete clusterfuck, every party would get all your private data even if they just needed 'older than 18', it was supposed to be implemented by various private companies that then sell it to the individual states, not really with gov oversight, so you have like 20 companies all with all the data, each of which could be hacked at any point etc.

      we forced a public vote on it in 2021 and rejected it with 65%.

      the use cases are pretty valid, like online pharmacies, ordering booze online, though of course you never know what they would require it for in the future.

      so now it's 2025 and a new proposal, this time much more privacy focused, developed by the government, open source, seems like they did listen to a lot of the criticism.

      this blogpost goes into a bit of details on why unlinkability matters and that one-time-pads are one potential solution. And the whitepaper with more detail.

      i saw a presentation from the digital society on it earlier this year and from what i remember, you get a set of keys (and can create new ones if you run out) from which you can create derived keys that only contain relevant information. The other party can verify this directly, without a gov service. And since you use a new key each time, the porn site also cant crossreference with your booze site that you're the same person, that kind of stuff. It all sounded pretty reasonable and like it would adress your points.

      1 Reply Last reply
      0
      • L [email protected]

        Hello,

        I was gonna post this on Ask Lemmy, but then I thought maybe Technology would be a better fit for the theme. But then I saw it's mostly news, so I thought perhaps Ask Lemmy would indeed be a better fit. If this is not the case, please point me to the right direction.

        As a heads-up, I am not 'Murican, and never been to 'Murica, so keep that in mind.

        Seeing the recent news with France trying to age-restrict pornographic material online, I was wondering and have sort of an idea, that I wonder if it is actually doable and actually good.

        Hear me out: the gobermint likely already has your data, right? At least stuff like name, date of birth, etc. The gobirment could have a private and secure service, which websites and services could use to confirm certain requirements.

        For instance: A website wants to confirm if you're over 18. The website essentially asks the official gob. service, "is this user at least 18 years of age?". The official gob. service essentially has to answer "yes, your requirements are met" or "no, your requirements are not met", without giving away information on a person. The user gets prompted, being told what information is being required and whether they wish to share that. The official service wouldn't know where the request is coming from, but the original website requesting the information generates and shows a temporary code, which is not related to the website at all and is sent to the gob. service, so that the user can confirm it is indeed the website they were using that is requesting this, and not a hijack of some kind. The gob. service, if allowed by the user, sends out this confirmation to the original website, without the gob. service knowing the website and without the website knowing the user's info. The website then knows whether their requirements are met and can then act accordingly, such as by not allowing someone to access adult material if they do not meet the age requirement.

        Does this make sense? Is it doable? Could it be a potential private and secure way of confirming user information without either party having access to the other's information? Obviously, the idea could be worked on and polished, but as a starting point.

        Edit: so, what I'm gathering from comments here:

        1. Som'o'y'all didn't get it (no, you don't got to log in to your porn tube of choice with an official gob. account)
        2. This cannot be done
        3. This could be done
        4. This is already a thing being worked on
        J This user is from outside of this forum
        J This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #26

        I always thought the simplest way to do it is to pass laws that require every website to provide a rating/content description and then leave it up to the end user to set acceptable levels. We don't get mad for kids watching the wrong content on TV.

        Websites could be fined for either not providing or providing incorrect classifications.

        If people don't want their kids to see that stuff, make sure the parents have the tools to enforce.

        1 Reply Last reply
        1
        • L [email protected]

          Hello,

          I was gonna post this on Ask Lemmy, but then I thought maybe Technology would be a better fit for the theme. But then I saw it's mostly news, so I thought perhaps Ask Lemmy would indeed be a better fit. If this is not the case, please point me to the right direction.

          As a heads-up, I am not 'Murican, and never been to 'Murica, so keep that in mind.

          Seeing the recent news with France trying to age-restrict pornographic material online, I was wondering and have sort of an idea, that I wonder if it is actually doable and actually good.

          Hear me out: the gobermint likely already has your data, right? At least stuff like name, date of birth, etc. The gobirment could have a private and secure service, which websites and services could use to confirm certain requirements.

          For instance: A website wants to confirm if you're over 18. The website essentially asks the official gob. service, "is this user at least 18 years of age?". The official gob. service essentially has to answer "yes, your requirements are met" or "no, your requirements are not met", without giving away information on a person. The user gets prompted, being told what information is being required and whether they wish to share that. The official service wouldn't know where the request is coming from, but the original website requesting the information generates and shows a temporary code, which is not related to the website at all and is sent to the gob. service, so that the user can confirm it is indeed the website they were using that is requesting this, and not a hijack of some kind. The gob. service, if allowed by the user, sends out this confirmation to the original website, without the gob. service knowing the website and without the website knowing the user's info. The website then knows whether their requirements are met and can then act accordingly, such as by not allowing someone to access adult material if they do not meet the age requirement.

          Does this make sense? Is it doable? Could it be a potential private and secure way of confirming user information without either party having access to the other's information? Obviously, the idea could be worked on and polished, but as a starting point.

          Edit: so, what I'm gathering from comments here:

          1. Som'o'y'all didn't get it (no, you don't got to log in to your porn tube of choice with an official gob. account)
          2. This cannot be done
          3. This could be done
          4. This is already a thing being worked on
          almacca@aussie.zoneA This user is from outside of this forum
          almacca@aussie.zoneA This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #27

          The Queensland digital I.D./driver's licence can already do this, and we're hardly ahead of the curve on this. The only current limitation is companies accepting it.

          1 Reply Last reply
          0
          • J [email protected]

            Then how does the site verify the attribute is valid?

            L This user is from outside of this forum
            L This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #28

            The attributes are cryptographically signed by the provider. With their public key you can check if they are actually signed by them.

            J 1 Reply Last reply
            2
            • S [email protected]

              I think that at the bare minumum, the PORN<->GOV connection must not occur. How about this (simplified):

              • USER visits porn site
              • PORN site encrypts random nonce + "is this user 18?" with GOV pubkey
              • PORN forwards that to USER
              • USER forwards that to GOV, together with something authenticating themselves (need to have GOV account)
              • GOV knows user is requesting, but not what for
              • GOV checks: is user 18?, concats answer with random nonce from PORN, hashes that with known algo, signs the entire thing with its private signing key
              • GOV returns that to USER
              • USER forwards that to PORN
              • PORN is able to verify that whoever made the request to visit PORN is verified as older than 18 by singing key holder / GOV, by checking certificate chain, and gets freshness guarantee from random nonce
              • but PORN does not know anything about the user

              There's probably glaring issues with this, this is just from the top of my head to solve the problem of "GOV should know nothing".

              N This user is from outside of this forum
              N This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #29

              In step 2, why encrypt nonce + question? As user, I would like to see what I'm asking gov to sign for me.

              S 1 Reply Last reply
              0
              • N [email protected]

                In step 2, why encrypt nonce + question? As user, I would like to see what I'm asking gov to sign for me.

                S This user is from outside of this forum
                S This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #30

                Fair, maybe remove the question altogether, and have dedicated GOV endpoints for specific attestations?

                1 Reply Last reply
                0
                • L [email protected]

                  The attributes are cryptographically signed by the provider. With their public key you can check if they are actually signed by them.

                  J This user is from outside of this forum
                  J This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #31

                  To verify the signature with the public key, don’t you need to contact the service/party that signed it?

                  nighed@feddit.ukN 1 Reply Last reply
                  0
                  • L [email protected]

                    Hello,

                    I was gonna post this on Ask Lemmy, but then I thought maybe Technology would be a better fit for the theme. But then I saw it's mostly news, so I thought perhaps Ask Lemmy would indeed be a better fit. If this is not the case, please point me to the right direction.

                    As a heads-up, I am not 'Murican, and never been to 'Murica, so keep that in mind.

                    Seeing the recent news with France trying to age-restrict pornographic material online, I was wondering and have sort of an idea, that I wonder if it is actually doable and actually good.

                    Hear me out: the gobermint likely already has your data, right? At least stuff like name, date of birth, etc. The gobirment could have a private and secure service, which websites and services could use to confirm certain requirements.

                    For instance: A website wants to confirm if you're over 18. The website essentially asks the official gob. service, "is this user at least 18 years of age?". The official gob. service essentially has to answer "yes, your requirements are met" or "no, your requirements are not met", without giving away information on a person. The user gets prompted, being told what information is being required and whether they wish to share that. The official service wouldn't know where the request is coming from, but the original website requesting the information generates and shows a temporary code, which is not related to the website at all and is sent to the gob. service, so that the user can confirm it is indeed the website they were using that is requesting this, and not a hijack of some kind. The gob. service, if allowed by the user, sends out this confirmation to the original website, without the gob. service knowing the website and without the website knowing the user's info. The website then knows whether their requirements are met and can then act accordingly, such as by not allowing someone to access adult material if they do not meet the age requirement.

                    Does this make sense? Is it doable? Could it be a potential private and secure way of confirming user information without either party having access to the other's information? Obviously, the idea could be worked on and polished, but as a starting point.

                    Edit: so, what I'm gathering from comments here:

                    1. Som'o'y'all didn't get it (no, you don't got to log in to your porn tube of choice with an official gob. account)
                    2. This cannot be done
                    3. This could be done
                    4. This is already a thing being worked on
                    nebulaone@lemmy.worldN This user is from outside of this forum
                    nebulaone@lemmy.worldN This user is from outside of this forum
                    [email protected]
                    wrote on last edited by [email protected]
                    #32

                    I might be missing something, but they could just mass validate 100 IDs in person, without logging anything, then mix/shuffle 100 "person is an adult" codes (or even multiple per person) that aren't directly connected to anyone and hand these out at random.

                    This way neither the government, nor the website knows your real ID and your age can still be verified.

                    Edit: Sure you can still somewhat be tracked by these codes, but this may be mitigated by handing out new or multiple codes and having them expire.

                    1 Reply Last reply
                    0
                    • J [email protected]

                      To verify the signature with the public key, don’t you need to contact the service/party that signed it?

                      nighed@feddit.ukN This user is from outside of this forum
                      nighed@feddit.ukN This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #33

                      Yeh, but it's public and normally has a decent validity, so you could fetch it once and then use it for years.

                      J 1 Reply Last reply
                      1
                      • L [email protected]

                        Yes, such systems are in development and are called identity wallets. https://yivi.app/ for example has the idea of zero trust attribute sharing. You can request attributes the government knows and store these on your phone. You could then share an attribute like "over 18" with the porn site without the government knowing you shared it with them. Most identity wallets don't want to touch the porn industry tho. So it isn't used for that (yet).

                        B This user is from outside of this forum
                        B This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #34

                        To add to this: The EU is developing this and it’s supposed to be available to all EU citizens at the end of 2026. From that time government services should also be able to accept it. (Not sure if they’re going to make it, the standards are still under active development).

                        It’s all based on OpenID Connect (OIDC). Everything is being developed in the open, as open source software. You can find the github project here.

                        If you want to take a look at the draft standards themselves, search for OpenID4VCI (standard for issuing of credentials to a wallet) and OpenID4VP (standard for presenting credentials to 3rd parties).

                        1 Reply Last reply
                        2
                        • nighed@feddit.ukN [email protected]

                          Yeh, but it's public and normally has a decent validity, so you could fetch it once and then use it for years.

                          J This user is from outside of this forum
                          J This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #35

                          But for the same signed attribute?

                          It seems like the signer would know which clients are attempting to verify authenticity?

                          nighed@feddit.ukN 1 Reply Last reply
                          0
                          • J [email protected]

                            But for the same signed attribute?

                            It seems like the signer would know which clients are attempting to verify authenticity?

                            nighed@feddit.ukN This user is from outside of this forum
                            nighed@feddit.ukN This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #36

                            If the signer (government in this case) is signing everyone's attribute with the same private key, then the public key will be able to verify all of them.

                            1 Reply Last reply
                            0
                            • L [email protected]

                              Hello,

                              I was gonna post this on Ask Lemmy, but then I thought maybe Technology would be a better fit for the theme. But then I saw it's mostly news, so I thought perhaps Ask Lemmy would indeed be a better fit. If this is not the case, please point me to the right direction.

                              As a heads-up, I am not 'Murican, and never been to 'Murica, so keep that in mind.

                              Seeing the recent news with France trying to age-restrict pornographic material online, I was wondering and have sort of an idea, that I wonder if it is actually doable and actually good.

                              Hear me out: the gobermint likely already has your data, right? At least stuff like name, date of birth, etc. The gobirment could have a private and secure service, which websites and services could use to confirm certain requirements.

                              For instance: A website wants to confirm if you're over 18. The website essentially asks the official gob. service, "is this user at least 18 years of age?". The official gob. service essentially has to answer "yes, your requirements are met" or "no, your requirements are not met", without giving away information on a person. The user gets prompted, being told what information is being required and whether they wish to share that. The official service wouldn't know where the request is coming from, but the original website requesting the information generates and shows a temporary code, which is not related to the website at all and is sent to the gob. service, so that the user can confirm it is indeed the website they were using that is requesting this, and not a hijack of some kind. The gob. service, if allowed by the user, sends out this confirmation to the original website, without the gob. service knowing the website and without the website knowing the user's info. The website then knows whether their requirements are met and can then act accordingly, such as by not allowing someone to access adult material if they do not meet the age requirement.

                              Does this make sense? Is it doable? Could it be a potential private and secure way of confirming user information without either party having access to the other's information? Obviously, the idea could be worked on and polished, but as a starting point.

                              Edit: so, what I'm gathering from comments here:

                              1. Som'o'y'all didn't get it (no, you don't got to log in to your porn tube of choice with an official gob. account)
                              2. This cannot be done
                              3. This could be done
                              4. This is already a thing being worked on
                              mrmanager@lemmy.todayM This user is from outside of this forum
                              mrmanager@lemmy.todayM This user is from outside of this forum
                              [email protected]
                              wrote on last edited by [email protected]
                              #37

                              Having government confirm age of users is the beginning of having to use a real id to use the internet. Thats the wet dream of governments and big tech, but its a total nightmare for privacy and discussing things without your real name being known.

                              Just watch linkedin and see how discussions are extreamly limited there, since people dont want to discuss sensitive things in front of others using their real name.

                              1 Reply Last reply
                              3
                              • L [email protected]

                                Hello,

                                I was gonna post this on Ask Lemmy, but then I thought maybe Technology would be a better fit for the theme. But then I saw it's mostly news, so I thought perhaps Ask Lemmy would indeed be a better fit. If this is not the case, please point me to the right direction.

                                As a heads-up, I am not 'Murican, and never been to 'Murica, so keep that in mind.

                                Seeing the recent news with France trying to age-restrict pornographic material online, I was wondering and have sort of an idea, that I wonder if it is actually doable and actually good.

                                Hear me out: the gobermint likely already has your data, right? At least stuff like name, date of birth, etc. The gobirment could have a private and secure service, which websites and services could use to confirm certain requirements.

                                For instance: A website wants to confirm if you're over 18. The website essentially asks the official gob. service, "is this user at least 18 years of age?". The official gob. service essentially has to answer "yes, your requirements are met" or "no, your requirements are not met", without giving away information on a person. The user gets prompted, being told what information is being required and whether they wish to share that. The official service wouldn't know where the request is coming from, but the original website requesting the information generates and shows a temporary code, which is not related to the website at all and is sent to the gob. service, so that the user can confirm it is indeed the website they were using that is requesting this, and not a hijack of some kind. The gob. service, if allowed by the user, sends out this confirmation to the original website, without the gob. service knowing the website and without the website knowing the user's info. The website then knows whether their requirements are met and can then act accordingly, such as by not allowing someone to access adult material if they do not meet the age requirement.

                                Does this make sense? Is it doable? Could it be a potential private and secure way of confirming user information without either party having access to the other's information? Obviously, the idea could be worked on and polished, but as a starting point.

                                Edit: so, what I'm gathering from comments here:

                                1. Som'o'y'all didn't get it (no, you don't got to log in to your porn tube of choice with an official gob. account)
                                2. This cannot be done
                                3. This could be done
                                4. This is already a thing being worked on
                                P This user is from outside of this forum
                                P This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #38

                                The important thing, if I'm the government, is that this helps me round up and eliminate my political enemies, based on their online activity.

                                This can be done securely and privately to prevent this. I recommend this approach, to start.

                                Then after a few months, I can change the implementation to eliminate the privacy.

                                Then, when I'm ready, I can start blackmailing or arresting folks for their pornography preferences.

                                Or - if I'm feeling confident - I can keep it simple and just have my secret police throw folks out of third story windows anytime they post anything critical of my governing style.

                                Overall, if I want to abuse the Internet to hold onto my power using blackmail, terror and murder, online age verification is a great first step, for me.

                                Folks probably shouldn't elect me, but they may want to consider that I'm not the only one who knows how to do this.

                                L 1 Reply Last reply
                                0
                                • P [email protected]

                                  The important thing, if I'm the government, is that this helps me round up and eliminate my political enemies, based on their online activity.

                                  This can be done securely and privately to prevent this. I recommend this approach, to start.

                                  Then after a few months, I can change the implementation to eliminate the privacy.

                                  Then, when I'm ready, I can start blackmailing or arresting folks for their pornography preferences.

                                  Or - if I'm feeling confident - I can keep it simple and just have my secret police throw folks out of third story windows anytime they post anything critical of my governing style.

                                  Overall, if I want to abuse the Internet to hold onto my power using blackmail, terror and murder, online age verification is a great first step, for me.

                                  Folks probably shouldn't elect me, but they may want to consider that I'm not the only one who knows how to do this.

                                  L This user is from outside of this forum
                                  L This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #39

                                  Depends on how you implement it, innit? If the gob. gives you an official certicate confirming something, for instance, which you then save onto your machine and then upload to the website or service. What could the gob. do? Attach a string on the file to pull it back? Unless a file can call home somehow (assume a non-executable file, with info only). They could change how it works later on, and make it work in their favour maliciously, but they'd have to make quite the big change. Plus people might not have as big of a need later, maybe. Assuming it's a once-and-done thing.

                                  P 1 Reply Last reply
                                  0
                                  • L [email protected]

                                    Depends on how you implement it, innit? If the gob. gives you an official certicate confirming something, for instance, which you then save onto your machine and then upload to the website or service. What could the gob. do? Attach a string on the file to pull it back? Unless a file can call home somehow (assume a non-executable file, with info only). They could change how it works later on, and make it work in their favour maliciously, but they'd have to make quite the big change. Plus people might not have as big of a need later, maybe. Assuming it's a once-and-done thing.

                                    P This user is from outside of this forum
                                    P This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by [email protected]
                                    #40

                                    What could the gob. do?

                                    I would provide an app to manage the certificate for you, since most people won't know how.

                                    And I would regularly update the app to keep it current and secure. ( I might occasionally add features to make sure I... You have the best experience. )

                                    And I would have some very discrete, anonymous and minimal telemetry - just to help me maintain the app.

                                    If I happen to know how to pair that telemetry with other tracking data that I purchase form other sources...maybe I can engage in a tiny bit of strategic blackmail...and well...you shouldn't elect me.

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • World
                                    • Users
                                    • Groups