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)…

      • @[email protected]
        link
        fedilink
        1610 months 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

        • @[email protected]
          link
          fedilink
          310 months 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.

          • @[email protected]
            link
            fedilink
            710 months 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.

              • @[email protected]
                link
                fedilink
                310 months 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.

      • @[email protected]
        link
        fedilink
        110 months ago

        It doesn’t matter how random or secure your password is, it can still be compromised.

        2FA increases security and costs nothing in return.

      • @[email protected]
        link
        fedilink
        510 months ago

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

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

        • @[email protected]M
          link
          fedilink
          210 months ago
          1. Salt doesn’t matter if your password is unique.
          2. If they can download data via SQL injection having them log in probably doesn’t matter that much.
          3. If they can dump your password/hash they can likely also dump the TOTP secret.
          4. A lot of website security expert attention is focused on raising the minimum security level. If you are using randomly generated passwords + auto-fill you are likely above their main target audience.

          So yes, it is slightly better, but in practice that difference probably doesn’t matter. If you use U2F then you may have a meaningful security increase but IMHO U2F is not practical to use on every site due to basically being impossible to manage credentials.

          So yes, it is better. But for me using random passwords and a password manager it isn’t worth the bother.

  • @[email protected]M
    link
    fedilink
    710 months ago

    Codeberg, or failing that, GitLab, or BitBucket. Allowing MS to control all FLOSS software, means they might probably secretly get consent to use your code for copilot training without respecting licences. I have no idea if this happens, or might in the future, as I ain’t reading the terms of service for something I do not use, however, I have little trust for them enough for air on the side of caution.

    • @[email protected]OP
      link
      fedilink
      English
      110 months ago

      I forgot about Codeberg - I’ll look into that and Gitlab as alternatives. Thanks for the suggestions.

    • @[email protected]
      link
      fedilink
      610 months ago

      I’m gonna keep putting all of my code on github, then. Doing my part to make copilot crash and burn.

  • @[email protected]
    link
    fedilink
    1210 months 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.

    • @[email protected]
      link
      fedilink
      510 months 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.

      • @[email protected]
        link
        fedilink
        3
        edit-2
        10 months 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.

  • @[email protected]
    link
    fedilink
    4
    edit-2
    10 months ago

    I deleted my github account because fuck microsoft. Open source should not be hosted on their servers.

    In regards to forced 2fa, as I don’t need it on my projects, there would be literally nothing lost if somebody gets into my account.

    Just for the convenience I moved them to my selfhosted forgejo and mirroring to sr.ht as a backup.

  • @[email protected]
    link
    fedilink
    610 months ago

    last time I signed into my Microsoft 365 account for work I got two separate 2fa prompts and two captchas, it was like being in an episode of the crystal maze. the mere act of signing into something is now tedious and difficult

  • FlumPHP
    link
    fedilink
    210 months ago

    2FAS is open source and doesn’t have a cloud presence to store data. You can use it to add 2FA to your other services as well.

    • @[email protected]M
      link
      fedilink
      310 months ago

      Yeah, this is important to realize. Most good 2FA implementations offer TOTP which doesn’t need a proprietary app. You can store all of your 2FA secrets in whatever app or password manager you like.

  • @[email protected]
    link
    fedilink
    9910 months 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)

  • @[email protected]
    link
    fedilink
    English
    810 months ago

    I just use my password manager to generate the TOTP. There’s no way I’m going to install an app just to use a website.

  • @[email protected]
    link
    fedilink
    510 months ago

    I have a dedicated phone with a dedicated number which stays at home all the time. Call it (see what I did there) the Authenticator phone, which only job is to authenticate me when needed. Not only for Github, but other services too. Minimizing the risk to lose or break the device. And companies don’t get all my private stuff.

        • @[email protected]
          link
          fedilink
          English
          3
          edit-2
          10 months ago

          Swapping the sim associated with your phone number – from your sim to their sim.

          • @[email protected]
            link
            fedilink
            2
            edit-2
            10 months ago

            But how? It’s at my home and without physical access to it, its impossible to swap sim card. It’s always at my home. Nobody can can transmit my phone number to their sim card without my knowledge and permission.

            • @[email protected]
              link
              fedilink
              English
              410 months ago

              As in “Hi PhoneCompany, I’d like a mobile plan with you. Yes, I’d like to bring my old phone number over to the new account.”

              Or “Hi PhoneCompanySupport, I’m @thingsiplay and i lost my sim, plz send me a new one. BTW my new address is …”

              Ideally it shouldn’t happen, but phone company security is pretty slack sometimes,

              • @[email protected]
                link
                fedilink
                310 months ago

                That’s a big far fetched from reality, just to build an anti argument. I don’t know where you live, but in Germany this cannot happen. You can’t just order a sim to any address and use the phone number of you wish. You have to provide with 100% certainty that you are the owner of the sim card, as every new registered card/number has to provide your goverment id and your personal signature. Also taking old phone number to new account can only happen, if you provide proof you owned it in the first place.

                If you know any case (here in Germany) someone could steal the phone number like you just described, please provide a link. This would be a huge security issue that should not be possible to happen. Nobody in the world can do that to my phone number and I think you just fabricate something that is not possible in Germany.

                • @[email protected]
                  link
                  fedilink
                  English
                  310 months ago

                  Ah, that’s good then.

                  In Australia you really only need a name and date of birth and ID such as a passport or driving license number of the owner. No physical or even photographic proof. Some phone companies send the original sim a notification before moving it, but no response is required and moving the number often only takes 10~30mins.

                  Banks in Australia commonly use sms codes as 2fa.

                  A large percentage (20~30%?) of adult Australians have had their ID details leaked in recent years because there are no adequately enforced security requirements or data-retention limits. One of the largest breaches was the second largest mobile phone provider…

    • @[email protected]
      link
      fedilink
      English
      310 months ago

      That’s exactly what I’m planning to do, a phone that forwards all sms messages through ntfy (or other service like signal) to me.

  • meseek #2982
    link
    fedilink
    6
    edit-2
    10 months ago

    iCloud Keychain. Has the ability to store 2FA codes and pull them up automatically. GitHub also supports passkeys so most times I just log in with my biometrics or user pass and don’t have to worry about the added layer.

    I’m fine with regular 2FA. What I can’t abide is having to use proprietary apps, like Blizzard’s battle net. Steam too.

    Passkeys are the future but still a ways off.

    Wild tho that you don’t have any other accounts needing 2FA? That’s scary to me as that added security goes a long ass way in regards to hardening your secuity.

  • @[email protected]
    link
    fedilink
    210 months ago

    Contributing to github is contributing to Microsoft’s AI poison which can steal your code from you regardless of license for another project that might use an incompatible license. To hell with github.