Just wondering what people are using to meet the 2FA requirement GitHub has been rolling out. I don’t love the idea of having an authenticator app installed on my phone just to log into GitHub. And really don’t want to give them my phone number just to log in.

Last year, we announced our commitment to require all developers who contribute code on GitHub.com to enable two-factor authentication (2FA)…

  • Tramort@programming.dev
    link
    fedilink
    arrow-up
    96
    arrow-down
    1
    ·
    1 month ago

    It’s fine. The added security is huge

    The problem is when they want you to install their TOTP app in order to authenticate (I’m looking at you, steam… fuck off)

    • n2burns@lemmy.ca
      link
      fedilink
      arrow-up
      25
      arrow-down
      2
      ·
      edit-2
      1 month ago

      I think I’d still prefer to use a 3rd-Party TOTP app but at least Steam’s app adds some value by pushing a notification when you login.

      • Scrubbles@poptalk.scrubbles.tech
        link
        fedilink
        English
        arrow-up
        26
        arrow-down
        3
        ·
        1 month ago

        Steam is okay in my book because steam was the OG 2FA provider. They forced 2FA on everyone, all the way back in 2007, they took security seriously before anyone else really cared. So, they’re grandfathered in.

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 month ago

      If you’re rooted, Aegis can import the seed from the Steam app then you don’t need it anymore.

        • lemmyvore@feddit.nl
          link
          fedilink
          English
          arrow-up
          7
          ·
          edit-2
          1 month ago

          You may be able to use an older version of the app that allowed ADB backups, and extract the seed from that.

          Another approach is to extract it from the Steam desktop app.

          No idea what companies think they’re accomplishing by using non-standard TOTP apps (that actually do TOTP under the hood). Microsoft do it so they can track your location and report it to managers when you login because it’s something that management asks for. Some companies do it so they can lock you into their services. No idea why Steam does it.

    • ChallengeApathy@infosec.pub
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      I do agree but Steam’s app isn’t bad. It’s great if you use Steam’s social features and it makes secure login a total breeze.

      • Tramort@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        It’s not that the app is good or bad. It’s that you are FORCED to use it when there is no technical reason for that requirement.

        Let me reiterate: fuck valve

        • ChallengeApathy@infosec.pub
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 month ago

          Sure, I don’t disagree, it shouldn’t be a requirement but because the app is good and makes the process easy, I don’t have a problem with it.

    • JJLinux@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      How’s that? I’ve had TOTP in my github account for over a year, on Aegis, and I have not seen them asking me to do anything else.

  • Scrubbles@poptalk.scrubbles.tech
    link
    fedilink
    English
    arrow-up
    69
    arrow-down
    1
    ·
    1 month ago

    SMS is the least secure form of 2FA, and sim swaps are a very real thing. Whatever you’re issues with 2FA apps are, I can 100% say that you should be more concerned about actors getting access to your account.

    And this isn’t just GitHub. You should be using a 2FA app for allllll of your services. Breaches are a daily thing, your passwords are online and are available. 2FA may be the only thing defending you right now, and SMS 2fa or email 2fa I wouldn’t trust.

    • peregus@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      1 month ago

      Totally agree! 2FA on all the accounts that support it avoiding SMS. And different passwords (complex, auto generated by a password manager) for each single account. I may be paranoid, but I also use a different email alias (SimpleLogin) for every single account! 😆

      • nrbray@lemmy.ml
        link
        fedilink
        arrow-up
        5
        ·
        1 month ago

        same, a simple habit that is secure, I use it always with maximum privacy. One day you will be in a rush, under stress, affected by age, and use your old habits with a valuable asset…

      • delirious_owl@discuss.online
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        1 month ago

        Not if the org uses SMS auth as a recover method for your “lost” password

        Also putting a phone number into a DB means the attackers who dump the DB now have a very effective way to phish or exploit you with a large attack surface.

        I generally don’t let my team enter phone numbers into their account data.

        • refalo@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          1 month ago

          Unfortunately many banks still require it and have no other methods available. I tried to reason with my bank about it but they just do not care.

        • lemmyvore@feddit.nl
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 month ago

          Well we could be using passkeys right now if Big Tech weren’t trying to tie them to their own platforms! 🤷

    • ssm@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      arrow-down
      6
      ·
      1 month ago

      2FA is for people who don’t know how to use randomized passwords for every site

      • Miaou@jlai.lu
        link
        fedilink
        arrow-up
        3
        ·
        1 month ago

        The day your machine is compromised is also the day ALL your passwords get stolen.

      • Reddfugee42@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        Brilliant. Until that website’s unsalted pw database is downloaded through a SQL injection.

        Use both. You’re not smarter than security professionals.

      • delirious_owl@discuss.online
        link
        fedilink
        arrow-up
        16
        arrow-down
        3
        ·
        1 month ago

        Yeah I just want to type my name to be able to withdraw money from my bank account. No pesky pins or passwords or any form of authentication /s

        • Zeroxxx@lemmy.id
          link
          fedilink
          arrow-up
          3
          arrow-down
          6
          ·
          1 month ago

          Even in my bank’s ATM there’s only one password, not 2FA. 2FA is 2 factor auth, there’s no 2FA in the ATMs.

          It doesn’t mean the initial password isn’t a layer of authentication, but strictly speaking where I live all ATMs do not employ 2FA.

          • vvv@programming.dev
            link
            fedilink
            arrow-up
            7
            arrow-down
            1
            ·
            1 month ago

            The two factors at an ATM are possession of your bank card + knowledge of your pin. (it also takes your photo, for good measure)

            GitHub will happily accept a smart card or whatever, if an extra plastic rectangle jives with you more than an OTP generator.

              • Reddfugee42@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                1 month ago

                “Something you have” is absolutely not equivalent to “something you know”

                You are completely unable to enter this conversation, but you think you’re the smartest one in the room.

                I bet you’re insufferable.

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 month ago

      Also OTPclient on desktop, it can work directly with an Aegis encrypted export file. You enter the decrypt password when you open the app and it can auto-lock after a specified interval.

      • Kess8a@lemy.lol
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        Is there something similar for windows? I check the github page & there doesn’t seem to be a package for windows. I could try to compile it from source but that a lot of libraries I have to get…

        • lemmyvore@feddit.nl
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 month ago

          If you’re willing to work with unencrypted exports I think tauthy can import unencrypted Aegis JSON format.

          Also, what Aegis exports as “text format” is a standard format of sorts that consists in lines of otpauth:// URLs. There are lots of apps that can import that format, but please note that you lose some extra information from Aegis when you export in that format. Shouldn’t be a problem if you just want to be able to generate codes on desktop.

    • Tibi@discuss.tchncs.de
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 month ago

      Agreed, me to! And I use syncthing to sync my database between my devices Edit: mine is called KeePassDX but its the same database file

  • Billegh@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    1 month ago

    It’s fine. I moved to gitlab years ago for 2fa, so while this doesn’t affect me I would be entirely ok with normal 2fa.

    It is normal, right? Not a weird Microsoft 2fa requiring their app?

  • Dymonika@beehaw.org
    link
    fedilink
    arrow-up
    10
    ·
    1 month ago

    I don’t love the idea of having an authenticator app installed on my phone

    For anything? Why not? Surely you don’t believe SMS-based TOTP is safer, right?

  • Jayjader@jlai.lu
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    1 month ago

    I already use pass (“the unix password manager”) and there’s a pretty decent extension that lets it handle 2fa: https://github.com/tadfisher/pass-otp

    Worth noting that this somewhat defeats the purpose of 2fa if you put your GitHub password in the same store as the one used for otp. Nevertheless, this let’s me sign on to 2fa services from the command line without purchasing a USB dongle or needing a smartphone on-hand.

    • vvv@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      1 month ago

      Your two factors shift to possession of your password vault + knowledge of the password to it. You’re okay IMO.

      You also still get the anti-replay benefits of the OTPs, though that might be a bit moot with TLS everywhere.

      • Jayjader@jlai.lu
        link
        fedilink
        arrow-up
        3
        ·
        1 month ago

        You’re right, I should have been more specific.

        If you’re already storing your password using pass, you aren’t getting 3 factors with pass-otp unless you store the otp generation into a separate store.

        For services like GitHub that mandate using an otp, it’s convenient without being an effective loss of 2fa to store everything together.

  • toastal@lemmy.ml
    link
    fedilink
    arrow-up
    12
    arrow-down
    2
    ·
    1 month ago

    Ideally you don’t want to build your open source software on a proprietary forge service so hopefully nothing of value is on the Microsoft-owned platform so it doesn’t really matter how secure it is.

    But you should have a free software TOTP option on you anyhow. I use password-store’s OTP plugin so it is easier to back up & sync.

    • fuzzzerd@programming.dev
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      1 month ago

      Did you forget the ./s or something? Lemmy itself is developed on GitHub, as are plenty of other “valuable” open source projects. To pretend nothing of value is built there is putting your head in the sand.

      If you’re developing software on GitHub you have a chance at getting some useful feedback, bug reports and maybe even PRs. Like it or not, the network effect is real.

      • toastal@lemmy.ml
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        1 month ago

        Not /s

        It is long past the time to move on. We don’t like the ads, gamified/corporate-friendly social media aspects, & enshitification of the web (which is why we are an Lemmy not Reddit), so why would we want that same platform for our code?

        Also Lemmy has every interest in moving as soon as ForgeFed is finalized & merged into a forge the can host since they want the same decentralized values for their forge as their forum/link aggregator platform and have publicly acknowledged it is a problem.

        Your projects should follow that example, if not your current projects at least future ones. These megacorporation are not our friends.

  • ChallengeApathy@infosec.pub
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 month ago

    This hate for 2FA is bizarre to me. Sure, it’s not as convenient but in this day and age, with all the threats out there, there’s no real excuse for not using it.