• m-p{3}@lemmy.ca
    link
    fedilink
    English
    arrow-up
    59
    arrow-down
    1
    ·
    4 months ago

    As soon as the word “convenient” is used, you know it will affect security.

      • ricecake@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        7
        ·
        4 months ago

        Why do you think that? Public key authentication systems are invariably more secure, and a wide variety are also simpler for the end user to use.

        It’s a misconception that they are in opposition to each other. Why would they be? One’s about knowing who’s doing something and the other is about how much effort it takes to do it.

        • davidgro@lemmy.world
          link
          fedilink
          English
          arrow-up
          9
          ·
          4 months ago

          Because in general, making things more difficult for an adverse party has great potential for also having side effects for proper users. And conversely, making things easier for proper users very often also makes it easier for adversaries.

          You’re right that it’s not a strict 100% rule, but it’s so common a pattern that keeping it in mind when making security decisions (to avoid fulfilling it or at least weigh risks) is a good practice.

        • psycotica0@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          4 months ago

          Public key authentication is more secure than nothing, and is more convenient than shared secrets and symmetric encryption, but bit for bit the secret material necessary for public key cryptographic schemes to be secure is more data than is required for symmetric algorithms.

          But more to your point, public key cryptography is basically a usability nightmare. In order to talk to anyone you need to first validate their key using an entirely out of band scheme you already trust, and if you don’t do that then all the end to end encryption in the world is theatre.

          Of course I’m being hyperbolic, it’s the internet, but seriously there a lot of people feeling secure with public key systems that are either totally insecure, or could be insecure and they wouldn’t know, or are secure to some random bystander but insecure to people and organizations that are often included in people’s threat models.

          • ricecake@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 months ago

            Sure, all that’s true. But which of those criticisms doesn’t also apply to a password or preshared key? Other than size of key-material, but it’s a fast enough communication medium that any key less than a megabyte is effectively zero.

            I probably don’t need to point out how basically every communication on the Internet is based on public key crypto that we don’t even think about, but I want to ask how you get your shared key to websites when you visit?
            Do you use any tools like signal, telegram and so on?

            My point isn’t that public key systems are perfect, far from it. It’s that it’s wrong to say security and usability are contrary to one another.
            People who think the public key solution is cumbersome are often comparing “no security” to “ideal security”.

            For public key to be secure from man in the middle you need a trusted out of band channel or attestation scheme.
            For a symmetrical key system you need the same channel.
            Without that channel public key has a message interaction where an attacker can swap in their key but is otherwise secure. The symmetric key system is entirely broken.

            “Easy case” public key systems are usually a fair bit more secure than a similar level of effort in other schemes, and likewise a given level of security confidence is easier to get to with public key than a password.

            Finally, and most importantly: your phone quite likely supports multiple levels of authentication.
            You can get into my phone if you have my fingers. This let’s you see my calendar, emails and (many) other things. It doesn’t let you into all of my files, financial apps, or even device settings.

  • ricecake@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    3
    ·
    4 months ago

    Why?

    It’s not like they’re literally using your face or fingerprint as a password. They’re not even storing them, just a hash tied to an hsm key.

    • fyf@lemmy.world
      link
      fedilink
      English
      arrow-up
      16
      ·
      4 months ago

      I can’t speak for OP, but in the US, you can be compelled to unlock a phone via fingerprint or face ID. You can’t be compelled to give over your PIN. That violates the right against self incriminating.

      • ricecake@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        1
        ·
        4 months ago

        Totally true. That’s not the common threat most people need to guard against however. Additionally, at least on Android, the device is relatively eager to force pin usage if the stars don’t align for biometrics

        • 0x0@infosec.pub
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          5
          ·
          4 months ago

          Almost any user are much more likely to encounter a situation where their biometrics are forced and not their password. Passing a border for example.

          Biometrics should never be used instead of a password, only as usernames. A password can be changed, your thumbs can’t.

          • ricecake@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            7
            ·
            4 months ago

            Have you ever had your phone searched by the police or at the border? I haven’t, but I have had someone try to unlock my phone before.

            I’d contend most people have a threat model that puts opportunistic access by household members or someone watching them enter their passcode and then snatching the phone and running above border patrol search.

            While you can’t change your biometrics, walk me through why that matters. I’m not sharing my biometrics outside of the device, and you can’t submit them remotely, so if you lift a print off of something it doesn’t really get you much without also taking the phone. Once you’re there, you’re a bit beyond the typical phone thief in terms of threat.

            The most common vulnerability is having an absurdly weak password, pin or unlock pattern. For those people biometrics is a vast improvement specifically because it’s both secure against likely threats, and it’s just as easy as hitting 5 four times in a row.

            Every method has trade offs, and there’s nothing to gain by pretending otherwise. Likewise, I don’t think I would ever say “never use something”, except for some contrived examples.

          • Viceversa@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            1
            ·
            edit-2
            4 months ago

            Almost any user are much more likely to encounter a situation where their biometrics are forced and not their password. Passing a border for example.

            That’s valid only for americans. And even then: how many of them are crossing country borders regularly?

      • atrielienz@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        I love this “in the US” thing. Like we’re the only country where that’s true and there aren’t whole European countries doing the exact same thing.

        While I admit nothing exists in a vacuum and there’s a lot of push toward a police state in the US, we also aren’t the only country doing that, by far. We’re just more open about it since Cheeto in Chief took office again.

        • fyf@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 months ago

          Or maybe I don’t have knowledge and experience in EU law and didn’t want to pretend I do.

          • atrielienz@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 months ago

            It’s not just you. There’s quite a few people who keep saying this. You’ll note that they don’t chime in to mention that Norway or Germany.

            It’s dystopian as fuck that this is where we’re at, but I don’t think it’s a good idea to pretend this is strictly a US thing.

      • picnic@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        I travel a few times a month to US, China, Hong Kong etc.

        I shut down my grapheneos phone on the border. Graphene also allows you to set auto reboot to phone if unlocked from 10mins to like 72 hours.

        I do use biometrics on my device. I think its a tradeoff I’m willing to make.

      • Viceversa@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        You can’t be compelled to give over your PIN. That violates the right against self incriminating.

        Is that valid only to USA citizens or foreigners can use that trick too?

        • Bytemeister@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          4 months ago

          Take this with a grain of salt, considering the actions of the current administration…

          But the US Constitution doesn’t make that many distinctions between citizens and non-citizens, especially in the bill of rights, where most individual protections are laid out. The 4th amendment protects you from unwarranted search and seizure, and makes no restrictions based on nationality. The 5th amendment protects you from testifying against yourself. The 1st amendment protects your speech, the government can not suppress your opinions, and equally, they cannot compell you to make statements.

          There are some “exceptions” to the 4th amendment, but those specifically have to do with protecting the borders and inspecting imports and exports. IMHO, those exceptions should be unconstitutional, but I’m not a bought and paid for SC justice, so fuck my opinion.

  • JRaccoon@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    2
    ·
    4 months ago

    I think it depends. Some people might be inclined to use too short or simple password because they don’t wanna constantly be typing a long password. It’s much better to have a strong password and fingerprint/face rec for convince than just a insecure password.

    • GamingChairModel@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      4 months ago

      The other underappreciated threat model is shoulder surfing, especially in an age of ubiquitous high resolution cameras. Punching in a numerical PIN within view of a camera potentially leaks that secret, and some high resolution cameras can even pick up letters and symbols from the on screen keyboards.

      Being compelled to give biometrics doesn’t do enough for an adversary (including government adversaries) to do everything with a phone, the way having the password or PIN does, and I would argue that governments would be better at tricking people into inadvertently giving up their PINs and passwords than they’d be at compelling biometrics within the time window that they still work (before the phones lockout biometrics as a valid unlocking method), or being able to do stuff to exploit extraction tools past the lock screen.

      So the threat model needs to be understood for what it is.

    • CubitOom@infosec.pubOP
      link
      fedilink
      English
      arrow-up
      9
      ·
      4 months ago

      In the USA, they can legally force you to unlock a device using biometrics.

      Also, biometrics can be fooled in other ways.

      • JRaccoon@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        5
        ·
        4 months ago

        Yes, but that’s besides the point. If the convenient options for a normie user are

        • Having a weak password
        • Having a strong password and a fingerprint

        Out of those the fingerprint with a strong password is way better option, imo.

        In the USA, they can legally force you to unlock a device using biometrics.

        Also, how does that work? Can’t they legally force you to enter your password too? Or can you claim you don’t remember it? If that works, can’t you just have a band-aid on your finger or something? Surely they cannot force you to take it off and risk getting an infection on the large wound you just happened to get yesterday…?

        • queermunist she/her@lemmy.ml
          link
          fedilink
          English
          arrow-up
          13
          ·
          4 months ago

          Also, how does that work? Can’t they legally force you to enter your password too?

          No, because forcing someone to enter a password is “compelled speech” and against the 1st Amendment. It’s also testimonial, which means compelling that speech would also be self incrimination, which is against the 5th Amendment.

          Don’t ask me why forcing someone to make a hand gesture is not also compelled speech and not testimonial. The Constitution is mostly nonsense being interpreted by life appointed morons who interpret things however they like.

          • Viceversa@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            4 months ago

            Constitution is mostly nonsense being interpreted by life appointed morons who interpret things however they like.

            Bible / Quran, is that you?

        • 0x0@infosec.pub
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          4 months ago

          A normal user will most likely never encounter a situation where their weak password would be at risk, but are much more likely to having their biometrics forced by law enforcement or border control.

          They will rip your bandaid off and force your finger or face to scan while holding your device.

          Any weak password at all would have been better in a situation like that.

          • JRaccoon@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            4
            ·
            4 months ago

            Oh wow, things really have gotten bad over there. For me personally, the much greater risk is that I forget my phone somewhere or someone steals it and in that scenario a weak password is the larger issue.

            It seems there isn’t a single correct answer here. The threat model is different for everyone.

            • CubitOom@infosec.pubOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              4 months ago

              I think the correct answer is that your device shouldn’t suggest you to have a weak password work around, it should suggest a stronger password

          • JRaccoon@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 months ago

            Haha, reading some of the responses in this thread actually reminded me of that xkcd but I couldn’t immediately find it. Thanks!

      • GamingChairModel@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 months ago

        Law enforcement can legally trick you into giving up your password, too, and that’s full access right there. Having an unlocked phone but no password isn’t enough to get into certain parts of the core system/security settings, and trying to get into those will prompt a password anyway (and that generally gatekeeps the access to the phone through a physical connector plugged into the port).

        Neither pathway is perfect but I think for real world usage and real world adversaries (not just law enforcement, but also criminal thieves/scammers/hackers, and governmental adversaries that aren’t bound by legal limits, like foreign intelligence agencies), it’s better to have biometrics so that you are physically punching in your PIN/password much less frequently. Especially on modern systems that get spooked easily and require a password anyway when the phone has been idle too long or when the wrong face looks at it too many times.