• artyom@piefed.social
    link
    fedilink
    English
    arrow-up
    239
    arrow-down
    2
    ·
    edit-2
    2 days ago

    Please don’t link to Reddit. Context below:

    The EU is currently developing a whitelabel app to perform privacy-preserving (at least in theory) age verification to be adopted and personalized in the coming months by member states. The app is open source and available here: https://github.com/eu-digital-identity-wallet/av-app-android-wallet-ui.

    Problem is, the app is planning to include remote attestation feature to verify the integrity of the app: https://github.com/eu-digital-identity-wallet/av-app-android-wallet-ui?tab=readme-ov-file#disclaimer. This is supposed to provide assurance to the age verification service that the app being used is authentic and running on a genuine operating system. Genuine in the case of Android means:

    • The operating system was licensed by Google

    • The app was downloaded from the Play Store (thus requiring a Google account)

    • Device security checks have passed

    While there is value to verify device security, this strongly ties the app to many Google properties and services, because those checks won’t pass on an aftermarket Android OS, even those which increase security significantly like GrapheneOS, because the app plans to use Google “Play Integrity”, which only allows Google licensed systems instead of the standard Android attestation feature to verify systems.

    This also means that even though you can compile the app, you won’t be able to use it, because it won’t come from the Play Store and thus the age verification service will reject it.

    The issue has been raised here https://github.com/eu-digital-identity-wallet/av-app-android-wallet-ui/issues/10 but no response from team members as of now.

    • dubyakay@lemmy.ca
      link
      fedilink
      English
      arrow-up
      55
      ·
      2 days ago

      So is there a way to apply pressure on the EU to think this through first? Surely they could have different ways that doesn’t lock them in to google services.

      • artyom@piefed.social
        link
        fedilink
        English
        arrow-up
        49
        ·
        2 days ago

        According to the users in that issue, the mere application of the API is illegal, as is the dependency. Sooo I dunno what kind of PACs there are in the EU but I would be leaning on and contributing to those.

        • ggtdbz@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          17
          ·
          2 days ago

          I do feel like that’s a precarious state to leave this in, especially if they’re developing the backend for it.

          Is there even enough momentum for a SKG-style wave of coverage? It would need to be justified properly by citing things like the Tea app data leak, to make a strong case (to political pencil pushers) for the danger of tying personal information to profiles or even to platforms. Otherwise the only thing they’ll see is “gamers want to make porn accessible to children”.

          I don’t know. This whole situation boils my blood because I really care about online anonymity, and this is kind of nightmare scenario shit for me. I’m not even in the UK or EU.

          • Ulrich@feddit.org
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            I’m not even in the UK or EU.

            We’ve had this shit in the US for a while now.

      • iii@mander.xyz
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        1
        ·
        edit-2
        1 day ago

        To avoid people from simply copying the “age proof” and having others reuse it, a nonce/private key combo is needed. To protect that key a DRM style locked down device is necessary. Conveniently removing your ability to know what your device is doing, just a “trust us”.

        Seeing the EU doesn’t make any popular hardware, their plan will always rely on either Asian or US manufacturers implementing the black-box “safety” chip.

        • redjard@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          If it is about hiding some data handled by the app, that will be instantly extracted.
          There are plenty of people with full integrity on rooted phones. It’s really annoying to set up and keep going, and requiring that would fuck over most rooted phone/custom os users, but someone to fully inspect and leak everything about the app will always be popping up.

          • iii@mander.xyz
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 hours ago

            If it is about hiding some data handled by the app, that will be instantly extracted.

            Look at the design of DRM chips. They bake the key into hardware. Some keys have been leaked, I think playstation 2 is an example, but typically by a source inside the company.

            • redjard@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              1
              ·
              7 hours ago

              That applies to play integrity, and a lot of getting that working is juggling various signatures and keys.
              The suggestion above which I replied to was instead about software-managed keys, something handed to the app which it then stores, where the google drm is polled to get that sacred piece of data. Since this is present in the software, it can be plainly read by the user on rooted devices, which hardware-based keys cannot.

              Play integrity is hardware based, but the eu app is software based, merely polling googles hardware based stuff somewhere in the process.

              • iii@mander.xyz
                link
                fedilink
                English
                arrow-up
                1
                ·
                5 hours ago

                merely polling googles hardware based stuff

                I understand. In the context of digital sovereignty, even if the linked shitty implementation is discarded (as it should be), every correct implementation will require magic DRM-like chip. This chip will be made by a US or Asian manufacturer, as the EU has no manufacturing.

        • General_Effort@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          The key doesn’t have to be on your phone. You can just send it to some service to sign it, identifying yourself to that service in whatever way.

          • iii@mander.xyz
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            8 hours ago

            It’s that “whatever way” that is difficult. This proposal merely shifts the problem: now the login to that 3rd party can be shared, and age verification subverted.

            • General_Effort@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              8 hours ago

              A phone can also be shared. If it happens at scale, it will be flagged pretty quickly. It’s not a real problem.

              The only real problem is the very intention of such laws.

              • iii@mander.xyz
                link
                fedilink
                English
                arrow-up
                1
                ·
                5 hours ago

                If it happens at scale, it will be flagged pretty quickly.

                How? In a correct implementation, the 3rd parties only receive proof-of-age, no identity. How will re-use and sharing be detected?

                • General_Effort@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  3 hours ago

                  There are 3 parties:

                  1. the user
                  2. the age-gated site
                  3. the age verification service

                  The site (2) sends the request to the user (1), who passes it on to the service (3) where it is signed and returned the same way. The request comes with a nonce and a time stamp, making reuse difficult. An unusual volume of requests from a single user will be detected by the service.

        • Appoxo@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          Is it tied to my real identity?
          If not it seems to me that it should be sufficient as to serve as a security this phone is legit and not emulated/compromised.

          • redjard@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 day ago

            In the eu, phone numbers by law are tied to state identities.
            And the phone provider can naturally resolve their sim IDs down to the phone number they are assigned to.
            Anything related to celltower interactions is PII.

          • artyom@piefed.social
            link
            fedilink
            English
            arrow-up
            7
            ·
            edit-2
            2 days ago

            Yes it’s tied to your identity. That’s what PII is. It’s also not tied at all to your OS.