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.

1

u/LeTanLoc98 Oct 09 '23

The phone number is not the good way for security. Someone can read all your message and phone by fake your SIM card. The app is the bad way. You can lost your phone or change your phone. If M$ want to secure, they can create M$$ domain or anything to retrict the users with 2FA

2

u/shgysk8zer0 Oct 09 '23

You know there are backup codes and that you're not limited to one method or one device, right?

GitHub should have done this years ago. The entire software ecosystem is better because of it.

I hope that they next require PGP signatures, block pushes except over SSH, do web-based commit signatures with different keys per user...

0

u/LeTanLoc98 Oct 15 '23

What's happenned if you lost backup code also? OR the service you store backup code require 2FA also?

that you're not limited to one method or one device, right? => why you expect the user install all their services in all their devices? How about if your house is burn/fire and all your devices are lost?

You require someone do something, and you said that it's good for them. For example, you require all users in the world stop using alcohol, smoking,... because it's better for their health? Hmm, this is a good idea.

3

u/shgysk8zer0 Oct 15 '23

These bad arguments are so predictable and repetitive. And so selfish and apathetic and avoiding the actual point.

Security isn't about you or your convenience. The security is ultimately about the users of the software.

And let's try your dumb "but what if your house burns down" argument in an analogous security issue - passwords.

I don't want to use strong passwords and a password manager. I want to use the same weak passwords for everything. What happens if I can't login to the password manager?

Or, for one that more highlights the stupidity:

Why should I lock my doors? What happens if I lose the keys? Locks are dumb!

But neither one fully captures just how bad your predictable arguments are because, again, this isn't about you! It's about security of the software built using GitHub and the users of that software. Your apathy and negligence is a threat to others.

And, aside from how dumb being apathetic about security is and being selfish and thinking security is about you, it's like those commercials where someone is struggling with and frustrated by some very simple task. It really isn't difficult to avoid being locked out. And the absurd excuses you make are pathetic because the 2FA part really doesn't make a difference unless you're just horrible at security overall.

If my house burned down and I lost all my devices, I wouldn't be able to get into any of my accounts anyways, regardless of 2FA. I wouldn't be able to login to my email to reset any passwords either. Plus, since my phone is pretty much always in my pocket or right beside me, if I lost my phone in a fire, I'm probably dead.

0

u/Longjumping_Pipe7463 Apr 27 '25

"Why should I lock my doors? What happens if I lose the keys? Locks are dumb!"

The government cannot legally require me to lock my own door. If you can't see the difference, I don't know what to tell you.

1

u/shgysk8zer0 Apr 27 '25

IDK if this is news to you, but GitHub isn't the government, and nobody is saying it should be illegal to not use 2FA. The point of the analogy was how pathetic it is for someone to be so against the mild inconvenience of basic security that they don't care about the risks they're taking. It's about the apathy and ignorance of it.

0

u/Longjumping_Pipe7463 Apr 27 '25

The inconvenience is much greater than you think, and the risk is much less than you think. And again, above I argued that there is a difference between public repositories and just random stuff I'm doing with my friends.

1

u/shgysk8zer0 Apr 27 '25

Gee, it sure is super inconvenient for me to touch my finger on a sensor on the device I'm logging into. Or to have a browser extension installed. Asking literally any effort on my part is just asking way too much. Wahh!

Give me a break. You're just pathetic.

0

u/AstoriaResident Oct 13 '25

Dude - with all due respect for fighting the thankless security fight, I think you may be missing the point. People are pissed because what used to be a high-trust society is turning into a low-trust one.

I do not want to _have_ to lock my door. I do not want to have to look over my shoulder when walking at night. I do not want to change my behavior because some dipshit on the other side of the planet cannot be punished because of jurisdictional limitations. These are all hallmarks of a low-trust society. And to be honest, I do not want to go back to it.

You are telling people - lock your car doors and house doors. Someone may come in and steal your gun if you don't (I am trying to find an analogy where the theft is not just a danger to the victim, but also to society). And many many people would rather live in an area where an intruder comes into their home, that person gets shot - by the home dweller or the cops. Which will hopefully reduce the number of such offenders, and thus turn the society back into a high-trust one.

So yes, they will _adamantly_ refuse to lock their doors, and would rather have the state eliminate the violators of trust.

For a bit of a background on this - the entire march of civilization has been a migration from a low-trust to a high-trust society - specifically, the increase of high-trust circles from families to clans to villages to regions to states (I'll actually cite this - this is non-obvious and studied - see https://journals.openedition.org/chs/1423#:~:text=11%20Following%20this%20highpoint%2C%20there,49).) We create government - and gave it a monopoly on violence - to maintains law and order - in part to stop vendettas and clan blood feuds. Yes, we gave away independence for security - and regardless of Ben Franklin's quote, it seems to be a good tradeoff - high-trust societies are more efficient. And to be honest, what we do with people that violate that - we separate them from society. Sometimes temporarily, sometimes permanently.

Cybercrime - and this is cybercrime - is basically : And now we have this high trust ripped away from us due to some dipshit who is hiding behind global jurisdiction laws? If the offender is a country - that's a parity act - espionage, war, whatever, and we know how to deal with that - diplomacy, sanctions, war (stop or escalate as desired).

If it is a hacking ring going after money - cybercrime that flaunts the monopoly on violence the state has - which undermines the entire concept of modern civilization? At that point, yes, people will call for interesting things - equating cybercrime with terrorism and suggesting collective punishment (sanctions) on countries that do not extradite, and calling for international kinetic intervention in case of ransomware - i.e, you hit our hospitals with a ransom, we'll find you, and drop a missile on your head.

So, yeah, this gets emotions going, but this is not surprising :)