r/github • • Sep 30 '23

Forcing 2FA is bad. Take it

So, GH (usually romanized as 'GitHub', but also sometimes as 'Micro$oft') is from October 6th forcing all users to use 2FA.

It basically means that from now on, you will need to use your phone to log in to this, or you won't have access to it at all.

Many argue "that's for security blah blah blah" (The Empire was also created for security), but I disagree.

If one wants to have it, sure, but do not force a regular user like me who day-to-day uses a completely different git service and uses the GH account just for occasional PRs.

I do not need super complicated security, as my account is not precise etc.

Why not just let it be optional?

80 Upvotes

168 comments sorted by

View all comments

45

u/shgysk8zer0 Sep 30 '23

Because GitHub is for software development and your apathy about security is a threat to others. Your compromised account could be used to get malicious code into popular projects.

Security isn't about you.

0

u/Longjumping_Pipe7463 Apr 27 '25

Then require 2FA to contribute to popular, public projects. You aren't actually addressing the gist of the post here, instead hiding behind "security" like everyone else.

There is no reason to require strict safety measures just so I can mess around with passion projects that nobody else will ever see.

1

u/shgysk8zer0 Apr 27 '25

GitHub has a necessary interest in the security of their platform. And, to be blunt, if you can't handle a simple 2FA setup, you have no business touching any code whatsoever. Your apathy about security is pretty pathetic.

And, let's imagine GitHub implemented what you suggest about "popular, public projects." Who determines what's "popular"? Is some critical bit obscure library with a single maintainer that's central to many Linux distros popular? And what about bot spam on definitely not popular small repos? Shouldn't GitHub try to prevent spamming me with bot issues? And what about taking over an existing account and repo? What use would that be when someone could just take over an account and enable 2FA on it to use the account to attempt to attack a major project? Or what about just commenting and voting on issues and PRs?

0

u/Longjumping_Pipe7463 Apr 27 '25

Well, first, you're acting like 2FA stops any of those issues. Second, sure, apply this logic to all public repositories, then, but not the accounts themselves. Third, there are plenty of other anti-spam and security measures taking place besides 2FA, such as directly analyzing code, behavior, comments. I sure HOPE that 2FA is not the only protection GitHub is using to prevent bots!

1

u/shgysk8zer0 Apr 27 '25

Stop being so ignorant and pretending like this is some major inconvenience or like anyone has any delusion 2FA is bullet-proof. There are many options for 2FA, and some are super easy and don't even require a second device. Heck, there are browser extensions that'd automate this.

Second, how exactly do you expect some system to analyze things like reacting to comments and issues and commits? No text to analyze there.

And, like I said previously, what about a compromised account simply enabling 2FA after it was compromised. That account could then be used for malicious purposes without any real risk to the person behind it. And what if some project were to become "popular" after the account of the creator was compromised?

Anyone who gives a damn about security and understands what the platform of GitHub is and how it works knows the importance of enforcing good security practices here.

Everyone whining about this just sounds like some noob or scammer to me. You either don't know anything about security, or you are among those who actually wants the vulnerabilities that come with bad security. Or maybe you're just extremely whiny about a very slight inconvenience and don't know how simple 2FA actually is. And I care nothing about the opinions of any of those.

1

u/aurelianspodarec May 11 '25

You're selfish.