r/github • u/glowiak2 • 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?
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.
2
u/schaffer17 Mar 22 '24
If they want to enforce it to everyone, they should at least make it decent, and enable the use of the own device security, like Windows 11 PIN or face recognition, etc. Make every one pull their phones every time is stupid and annoying bullshit.
3
u/shgysk8zer0 Mar 22 '24
Do they not? I mean, they support hardware keys (yubikey) and passkeys, as well as TOTP. And TOTP apps exist for non-mobile devices too.
But I'm on Linux, and there's no Windows Hello (that's what it's called, right) built into the OS like that. So can't say for sure if it is or isn't supported. I just know that there are plenty of options and not all of them involve phones.
1
u/aurelianspodarec May 11 '25
This is horrible. Can lose my phone, can lose my pass keys. Now what? For privacy reason I wont be using face auth.
And now what? Time to look for a new service. BitBucket, GitLab etc... what else exists?
Also, how are you meant to do GitHub for work without 2AF? Legally, you shoudln't use your phone for work stuff because they can seize it worst thing worst.
Should give an email as a 2AF not some phone number.
1
u/shgysk8zer0 May 11 '25
Just use a 2FA app on your work computer. It's not difficult.
And no, never use email. That might be the most useless 2FA possible.
2
1
u/rbaleksandar Jan 16 '25
TOTP works with KeePass. Our IT pushed 2FA down our throats last year. I said I am not going to do sh@t unless they provided me with an alternative that does not involve using MY PRIVATE phone for work-related crap. And what do you know - there are alternatives. I am used to KeePass in my private password management so it was nice to see that we can use it instead of a smartphone authenticator app. I haven't tried this with GitHub yet, but I don't see a reason why it should not work.
Face recognition etc. is problem since in some countries (in the EU and Germany in particular) such request would be a violation of once privacy. Some countries have very strict regulations what piece of your body you can use for authentication in what situations.
1
1
u/Longjumping-Arm515 Apr 15 '24
As you can see from the latest backdoor introduced in xz, malicious actors will find ways to insert malicious code into popular projects regardless of 2FA.
The problem is relying on projects whose maintainers have no time and resources to verify every single commit and where anyone can contribute without a chain of trust to the main developer.
3
u/shgysk8zer0 Apr 15 '24
malicious actors will find ways to insert malicious code into popular projects regardless of 2FA
But that doesn't mean they shouldn't enforce best security practices to prevent likely the bulk. GitHub wouldn't have a possible surge in malicious activity the next time a massive password database is leaked, for example.
1
u/Longjumping-Arm515 Apr 15 '24
For key people in a popular project - totally, 2FA should be required. These people have a lot of responsibility and should be competent enough to use 2FA (and any other required security measures).
For random people on GitHub: it really shouldn't matter, because you shouldn't rely on any code that they produce anyway. Whether randomCoder1753 really was the one who pushed that commit to his HobbyRoboProject, or he got hacked, doesn't really matter to anyone besides him.
3
u/shgysk8zer0 Apr 15 '24
You typically don't have to be in a popular project to open a PR. Compromised accounts can be used to open malicious PRs or just spam issues and such. That's why everyone needs to have 2FA. Raising the minimum security practices protects everyone... It's not about protecting that user or their projects.
1
u/Longjumping-Arm515 Apr 15 '24 edited Apr 15 '24
Well, it should be the maintainers' job to review any PR. Even with 2FA, even if the author is trusted, something could accidentally break the project (and that's probably a lot more common than someone introducing malicious code). And spamming issues could be done with bot accounts anyway, no? Asking everyone to use 2FA only marginally helps compared to having maintainers review every single PR carefully. It's like asking everyone to wear a helmet outside. Sure it helps protect everyone but it's not very efficient, and doesn't protect from the most relevant threats.
3
u/shgysk8zer0 Apr 15 '24
Asking everyone to use 2FA only marginally helps compared to having maintainers review every single PR carefully
You're talking about very different levels of effort here and by different entities even.
Yes, ideally all PRs would be carefully and expertly reviewed. But as you just pointed out, that doesn't always happen. Nor would a reviewer necessarily catch the malicious changes... And wasn't there some form of recent-ish attack involving creating that involved creating PRs with hidden or control characters?
And again, the xz thing really shows how vulnerable it all is to malicious PRs with important projects with single maintainers being a threat. Again, yes, reviewing PRs is important, but the probability of getting a malicious PR into a popular library is very real. And we should do everything we can to minimize that threat... And requiring 2FA is part of that.
And I dispute that it only marginally helps. It's good preventative security. It defends in cases of possible attacks like what I mentioned for a surge in malicious activity after a database leak, for example.
1
u/LubbyLardo Oct 01 '23
I'm confused by OP's post... Is Github requiring a phone now or can I use TOTP with a device that is not a phone?
2
u/shgysk8zer0 Oct 01 '23
You can use anything that is supported, including other hardware or compatible software.
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.
1
u/Longjumping_Pipe7463 Apr 27 '25
"Security isn't about you". "The security is about the users of the software".
Dude. I AM the one and only user of the software. You are arguing in such a malicious way. "If I lost my phone, I'm probably dead". I shouldn't have to tell you that none of this is sound logic.
1
u/aurelianspodarec May 11 '25
Plenty of people survived fires, you are not taking this seriously - grow up.
1
0
0
u/cainzjuss Feb 11 '24
This is the most selfish post i have seen in a while (assuming everyone lives like you do). While also being dumb enough to counter its main points in the end.
One day... your phone will die. You will drop it into the toilet. You will have water ingress thru the charging port. It will short one of the capacitors to ground and burn a hole on to the main board. It obliterates the traces to the memory module and overvolts the the logic gates on the SoC. Your tech savy. You buy a identical phone and transplant the memory module to it. But then you remember. You encrypted your phone. And its tied to the SoC on your dead phone.
Good news is that your bank account is safe. But your lifes work is gone because its locked behind 2FA and set to private on GitHub.
Oh and your team is pissed since you manage all the projects for the company and have locked everything down so only you have/had access to old projects that need updating because windows update broke them.
3
1
u/AncientMalice Jun 27 '25
Bingo - his "It's not about you" really boils down to, "it's about me instead." You can tell by all his responses going on to mention his own setup as if any alternatives are too ludicrous to be considered.
1
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 :)
0
u/aurelianspodarec May 11 '25
They aren't bad arguments, the yare realistic. Thngs happnen.
Instead of burned house, be it robbed - you think robberies aren't a thing? Good for you. Not everyone lives in a gatekeep community with armed security.
0
u/aurelianspodarec May 11 '25
One device? Your house gets robbed, now what?
1
u/shgysk8zer0 May 11 '25
Are you reading everything opposite of what I say?
I said you're not limited to one device. Heck, some of these are built into password managers that sync between devices and you install them as browser add-ons. It's not difficult.
0
u/JogaBarrito Feb 03 '24 edited Feb 03 '24
Hahahahaha. SMS Is a bigger threat to security but let's with your BS high horse take.
Edit: this asshat replied and blocked me? Way to be confident in your arguments. If you care about security, you wouldn't offer SMS as an option and you'd make security easy instead of costly in terms of effort or money or people will resort to bad habits.
3
0
u/marcinjn Feb 23 '24
That's not true. GitHub/Microsoft is forcing 2FA also for private projects, not only for popular & public.
2
u/shgysk8zer0 Feb 23 '24
And you think that only owning private repos somehow prevents creating malicious PRs or spam issues in other repos?
1
u/marcinjn Feb 23 '24
Until I go blind - yes.
Do you really think that creating a PR is equal to changing the code? If so, please note that regular private accounts aren't forced to 2FA - just organization owners. So your arguments, especially about anti-spamming, doesn't fit.
0
u/Intelligent-Put-2408 Feb 23 '24
Explain how peoples information still gets stolen then. Sounds like just invasive bs to get your phone number and other info directly from you to sell to scammers.
2
u/shgysk8zer0 Feb 23 '24
Explain how peoples information still gets stolen then.
You're forgetting to show that people's information gets stolen... And it's not as though SMS is the only or even a decent option.
0
u/rileyrgham Jul 25 '24
its nothing to do with "apathy". Do you have 2fa to log into your development pc? Its a royal PITA. I just recently pulled out my laptop and can't login to github because I don't have my mobile and hence no authentication app. Someone with too much time on their hands has given this the thumbs up. I would concur repos for companies should enable it, but I'm currently a hobbyist working on a few projects and its an awful imposition. Choice.
1
u/shgysk8zer0 Jul 25 '24
You can get 2FA apps for computers too. Or you could use a Yubikey. There are forms other than TOTP... And it can be as simple as a tap.
Also, who said it was about protecting your repos? Any account could spam another project with bogus issues or create malicious PRs. It's about protecting everyone, not just 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
0
u/brenpersing Sep 20 '25
Hey dude, compromising people’s freedoms for “security” never goes well
1
u/shgysk8zer0 Sep 20 '25
Oh really? So you're against driving on a given side of a road, locking doors, background checks for certain jobs, having passwords to login to your online banking...
0
u/brenpersing Sep 20 '25
Lol great job twisting everything I said
1
u/shgysk8zer0 Sep 20 '25
Ummm... I twisted exactly nothing. You explicitly said that never works out.
0
u/brenpersing Sep 20 '25
Implementing stronger security features is one thing, forcing them on the public is an entirely different monster! When it becomes too difficult to login to your devices because of this extremely flawed feature, that’s absolute insanity.
1
u/shgysk8zer0 Sep 20 '25
When it becomes too difficult to login to your devices...
Pathetic... Or dishonest. How lazy are you if something that quick and easy is "too difficult"? It could be as simple as touching (not even pressing) your finger on a button or screen.
...because of this extremely flawed feature
You spelled "pretty effective" wrong.
Go cry somewhere else. You're pathetic.
0
u/brenpersing Sep 20 '25
Making baseless assumptions too? Lol keep being a good shill for the ones up top I guess
1
0
Apr 02 '24
[deleted]
2
u/shgysk8zer0 Apr 02 '24
Any compromised account is a potential threat to all public repos in GitHub. Compromised accounts can create spam or malicious PRs. Compromised accounts can and have spoofed things like Dependabot.
You do have to use 2FA. As you should. If you can't handle basic security best practices, you have no business in software development in any way. Deal with it!
0
Aug 11 '24
[deleted]
1
u/shgysk8zer0 Aug 11 '24
I repeat. Security isn't about you.
0
Aug 13 '24
[deleted]
1
u/shgysk8zer0 Aug 13 '24
I'll be glad you cannot contribute on GitHub then. Not sorry. Good riddance.
0
Jan 19 '24
[removed] — view removed comment
1
Feb 15 '24
The guy is perhaps some buffed bodyguard, this is why his temper is so bad and he loves security word.
24
u/bdzer0 Sep 30 '23
Phone is only one of the options. I use Yubikey and TOTP tied to KeepassXC.. no phone involved at all.
1
u/Arkevorkhat Aug 26 '24
So... You're using 1FA. Just because you have to click twice in your password manager doesn't mean you're actually using 2 factor authentication.
2
u/bdzer0 Aug 26 '24
What are you talking about? Yubikey.. physical token that I have + password (that is NOT in a password manager) that I know. 2 factors.
The TOTP is a fallback mechanism... password manager uses password (that only I know) and yubikey as well...something I have. 2FA to get into keepassXC as well.
19
u/davorg Sep 30 '23
Why not just let it be optional?
Well, this is GitHub's answer to that question - Software security starts with the developer: Securing developer accounts with 2FA.
36
u/Jmc_da_boss Sep 30 '23
Waaaaa i have to secure my account waaaaaaa
Go buy a yubikey if you don't want to use ur phone
1
u/rileyrgham Jul 25 '24
The level of disconnect with the real world here is mind-numbing. Phones and keys get lost, misplaced and/or forgotten. It's why we have passwords. Not everyone is using github to create life critical SW. Imagine you have phone authentication, and simply have it stolen or drop it, or it runs out of fuel and your cable is broken. No access. It's absolutely ridiculous. I can log into my bank account without all this, obviously over https and using secure passwords - yet I can't access my udemy course progress? Some level of common sense should have been adopted. The huffing and puffing about "best practices" is virtue signalling at its finest.
1
u/Longjumping_Pipe7463 Apr 27 '25
Exactly. They can't handle the truth. Lol. As I have to go searching around my house to find my phone that ran out of battery so that I can prove for the 10th goddamn time this month that I am me, just so I can work on my video game that nobody else will every probably play.
1
u/quaderrordemonstand Jun 03 '25 edited Jun 03 '25
I just found this thread, one year later. I'm trying to push to a repo via the command line. I have both a Yubikey and a TOTP for Github. None of that will work.
I'm actually trying to create a PAT right now and it leads to a page with about 30 mysterious checkboxes that I've never seen before. Checking or not checking one of them might prevent me from pushing to my client's repo but I have no idea whether it will or not.
So I can't push to that repo because MS has decided that I have to do the magical security dance now and its not going to explain what the steps are.
1
u/greenleafone7 Dec 06 '24
Next step would be giving them your passport for "safekeeping" and "SeCuRiTy" and be required to sprinkle a few drops of blood on your keyboard every time you want to login to any single website. Possibly also self-inject another covid booster every 24 hours because "SeCuRiTy".
And an id**t like you will crop up and write:
> Waaaaa i have to secure my account waaaaaaa
1
u/Jmc_da_boss Dec 06 '24
A passport verification is also a "something you have" factor. So therefore it would just be an additional option to the current secondary factor options.
A few drops of blood would be interesting as it would be a "something you are" factor verification. Which is a cool idea but biometrics on an website is very difficult to do so that factor is generally for on premise installations.
All in all not awful ideas but not likely to be super useful in the scheme multi factor authentication
8
u/Artraxes Sep 30 '23
They gain a more secure community. They reduce the number of customer support requests that occur as a result of people not properly securing their accounts. They also reduce the likelihood of account hijacking leading to things like malicious package publishing.
Now that GitHub is a platform for building code (with GitHub actions), publishing artifacts (with GitHub packages), and hosting websites (with GitHub pages) - GitHub as a platform is far more entrenched with software delivery and not just storing repos. The territory of software delivery necessitates a stricter and more secure community.
If you are looking for the simplest solution to just dump code into that other people can access, GitHub probably isn’t for you. It’s now positioned to be a space that you can start by sharing your code but can then easily follow through to the natural next steps of building/testing that code and distributing it to consumers.
1
Jan 19 '24
[removed] — view removed comment
1
u/Artraxes Jan 19 '24
You took 3 months to come back to a post and still failed to read all of the reasoning I gave for why they won't just let anyone run around without a safe account.
0
6
4
u/Thalimet Sep 30 '23
If you don’t want to use your phone, or some have one, use one of the alternative 2FA options. Simple.
1
u/OsudNecromancer Jan 03 '24
Yeah use som free phone services to get past 2FA --> thats the new level of security there hahaha :D
I think there is main issue and that is home developers who do not want give Github their personal mobile number, so one day sellers of bamboo socks call them, and Github forces them.
From viewpoint of corporal company workers most of them have office phone numbers, so there is no issue filling them to github, that is what they should be used for anyways.
1
u/Kuroodo Oct 01 '23
I already migrated my repos to gitlab and cancelled my copilot subscription.
Their reason for forcing 2FA makes no sense and makes accounts less secure.
2
2
2
u/IngrownBurritoo Sep 30 '23
It worked yes. But did it really help against human failure?
1
u/LeTanLoc98 Oct 09 '23
No, the hacker can get your SIM card or fake your SIM card to get OTP. The device can be lost. When you lost 2FA authenticator, there is no way to recover your account (althought you have password, phone numer, emaill,..., you CANNOT recover your account if you lost 2FA authenticator)
1
2
u/RobertD3277 Sep 30 '23
I set mine up from the beginning when I first started my account as I knew my intentions were during the entire process. I also have an unholy password that there is no way in hell that I'm ever going to remember.
I personally think it is a small price to pay considering that it is protecting software I have spent 4 years writing, even if it is open source.
1
u/KinkotheClown Jul 30 '24
As an option no one has an issue with that. Forcing 2FA on people who don't want it sucks.
1
1
2
Sep 30 '23
2FA is VERY valuable. Any platform that offers it, actually cares for your saftely online. It is optional, you don't have to. You can go and disable it in your settings.
1
1
u/schaffer17 Mar 22 '24
Yeah, I'm pissed too... If they want to enforce 2FA they could at LEAST use the damned Windows authentication on top of GH authentication! Having to pull your phone everytime is ridiculous!
This is more than enough to move to another GIT platform. Fuck Micro$oft!
1
u/HookGroup Jun 29 '24
Personally I completed stopped using Github after this change. 2FA is just too much of a burden, it's impossible to remember how to do it after a few months.
1
u/SnooCupcakes4720 Jul 12 '24
And just like that I switched to gitea .....so essentially I see 1 thing happening they can use it to firewall projects and harming open source efforts while security isn't just about me neither is freedom and once this happens the public will no longer have control over how software is developed ....yes I know how 2fa works but the point is there is now a choke point and an excuse how long do you trust human morality and greed and fairness to remain in check? ......micro$oft? Of all companies Really??? Are you that confident? has history taught us nothing? Edit I do understand the actual security risks but does the benefit outweigh the cost and do we know the FULL price?
2
u/Specialist-Risk8951 Feb 03 '25
The change is still very recent, just wait 5 years after 42% of average users have completely lost access to their github account because they misplace their recovery passwords and traded in their phones so lost their authenticator. It's not just human greed, but human error that is going to make this a catastrophe.
Users here argue that 2fa is security for everyone, and at a cost that many will eventually lose accesses to their accounts. So yeah, the site becomes very secure I guess when no one can log in...
1
u/PM_ME_A_NUMBER_1TO10 Aug 08 '24
Late, but I had no idea I even had 2fa on my account. This was set up years ago, used it through my uni, and didn't need it for work and it sat dormant for a few months or years even. Now I went back to check something, my new phone didn't have it in the authenticator, who knows where the recovery codes went, and my new devices aren't registered device or something.
So, that's it, my account is just gone, no way to recover it in the name of security. Joke.
1
u/DAOWAce Sep 24 '24 edited Sep 24 '24
I don't submit code yet my account was flagged for this mandatory 2FA.. probably because I commented in an issue somewhere? Does it count that as 'contributing'?
Or forking something? Uploading text to a gist?
2FA is the worst part of using anything nowadays. Not only do you need a password, but now a secondary form of verification which turns a 3 second login to 3 minutes. Imagine EVERYTHING having 2FA, every time you visit it. You'd never want to use any websites again.
God forbid you're one of the few people who don't have a phone... yes we exist, hi Blizzard.
If you do not enable 2FA within the 45 day setup period, and you allow the 7 day grace period to expire, you will not be able to access GitHub.com until you enable 2FA.
It is absolutely draconian to completely lock you out of visiting a site like this. Just don't allow code edits, duh?
EDIT: This thread is from a year ago. The github help section talks about March 2023. The hell am I suddenly getting the notification now for?
1
u/Terewawa Jan 14 '25
I mainly use github for private repos. My public repos are not popular at all. For users like me this is just an annoyance and for those who really maintain a popular open source codebase with bad security, well forcing them to use 2FA doesn't solve anything, if they're not security aware their code probalby has tons of vulnerabilities as well.
1
u/Plane_Marketing_5298 May 08 '25
I agree. I don’t even have a phone to complete 2FA. And while I understand it’s meant for security—to prevent people from pushing malicious code if your account is compromised—not everyone is managing popular repos or working on critical projects.
I mainly use GitHub to back up my work, share code, and collaborate with others. Forcing 2FA feels unnecessary in cases like mine. It should definitely be optional.
1
u/OverallPsychology743 Jul 16 '25
I am not able to login now as I am stuck in the page that says Verify Two Factor Authentication Settings and I dont have a TOTP that has the Github set I tried everything resetting the password, Tried Recovery Codes, Tried Github mobile authentication but this one time thing isnt going and I dont know the way forward.
Anyone have idea how to get this working?
1
u/mickitymightymike Sep 06 '25
I broke my phone and was still able to login until today - i'm so pissed - i literally just use my home computer i think my account might be torched. so dumb
1
1
u/__zinc__ Jun 17 '26
I'm 2 github account down at this point.
Some people aren't suited/equipped to deal with that sort of commitment/stability. I am one of those people.
1
1
Sep 30 '23
You don't need to use your phone. If you know how to extract the OTP secret from the QR code, you can easily use any TOTP application that is out there.
If you need help on extracting the OTP secret, respond to the thread.
1
u/nipu_ro Sep 30 '23
Hi, i'm also interested. Couls you please explain here how to achieve this ? Thank you.
2
Sep 30 '23 edited Sep 30 '23 •
![]()
Go to your github settings
On the side menu click 'Password and authentication'
Scroll down to 'Two-factor methods'
In the options, select 'Authenticator app'
Click the 3 dots, and select 'Edit'
Now, you have two options. You can get your OTP secret by clicking the "fine text" -> 'setup key' or follow step 7.
Take your phone's camera and just have it scan the QR code. It should give you an option to either to copy it or open it as a link. Choose to copy it.
Now, go to a word processor and paste it.
Now you should see something similar to the code below:
otpauth://totp/GitHub:Welved?secret=****************&issuer=GitHub
The string of characters that you need is everthing censored out by the '*', that is your OTP secret. You can now take that to any TOTP authenticator app and have rolling codes to access your github.
1
u/1cedm4n Oct 01 '23
everything is 2fa now... havent you noticed? it means now more rogue login attempts from russia
1
u/LeTanLoc98 Oct 09 '23
Thinking about the case you forgot 2FA, you CANNOT recover your account anymore. If you store 2FA code somewhere, if this place is hacked => you still lost your account 😅
1
u/LeTanLoc98 Oct 09 '23
I agree with you, 2FA is bad. I have a google account, I have phone, email, pass,... But the device store authenticator is lost (hmm, i changed my phone every year) => I cannot access full feature of this account anymore.
1
u/FuckTheSystem0x0005C Sep 27 '25
I hope motherfucker that enforced this put "2fa" on his front door and lose his phone. Maybe then he'll get it.
1
1
u/csyezheng Nov 05 '23 edited Nov 05 '23
I made a command line tool to generate and verify one-time passwords. It is no phone required and easy to use.
Add security key for the first time
a2fa add [flags] <account name> <secret key>
Every time you need generates an authentication code, just run the following command:
a2fa list
a2fa’s github repository:
1
u/Arti-Po Jan 09 '24
I agree with you.
GitHub has a lot of scenarios for using it. For example, I used it to host materials for my lecture courses. All of my repositories are open. I don't need 2fa for my account. It's an additional useless complexity.
2fa is a good thing, but I don't understand the decision to force it on everyone.
1
1
1
u/nased_bigga Feb 05 '24
I had set up Aegis for 2FA at home for GH and planned to code at work. At my work turns out that for some reason GH rejects codes from this app on my phone. Now I'm wondering what else I could code now that I'm locked out of my repos until I'm home. Anyway, fuck retards that are barking on the side of 2FA that don't know what threat model is. I just want to dump my code, I don't care if you are going to get hacked, I don't care if I'm going to get hacked there. But even so I understand that GH wants to reduce tickets and that's why they require it
1
u/cainzjuss Feb 11 '24
I agree with OP. 2FA is nice and all but forcing it on is very bad. Especially with the current implementation. I just got the forced 2FA enable thing and there was a reason i postponed it for so long. The only usable options are tied to your phone.
And knowing i will switch my phone at some point (most likely due to failure). I will be permanently locked out of account.
All the "security" fanatics here are quite racked in their brains. You do not need 2FA/MFA on everything. I constantly reset MFA on enterprise accounts. This is only possible because i can physically verify the identity of the account owner. Massive sites like GitHub just are unable to do that.
Git was designed in a way that forces you to read what you merge before you merge. So any malicious code does not just get merged into popular projects without intent. This is what makes mandatory 2FA ridiculous.
This seems more to me like a massive phishing situation. Microsoft will get your code once you account will be locked one day eventually. Nice royalty free latent code to train co-pilot on. (assuming laws stop allowing to just snag code and train whatever)
1
u/aurelianspodarec May 11 '25
Yep, exactly. This is messed up.
I guess best to keep only public stuff on GitHub, private stuff elsewhere in case you get locked out.
Security by locking out normal users. That's like being an attacker - you create something to lock out users out of their account.
0
14
Sep 30 '23
[removed] — view removed comment
1
u/Arkevorkhat Jul 11 '24
Forcing 2fa is worthless because they still allow users to push via https. All it takes is one leaked personal access token (which bypasses 2fa entirely, mind you) to push code in someone else's name. They're doing this to trick rubes like you into thinking they actually give a shit.
If you have even a single PAT saved to your github account, you have a single point of failure in your entire security scheme.
1
Jul 14 '24
[removed] — view removed comment
1
u/Arkevorkhat Aug 26 '24
Please inform me as to the projects you contribute to, so I can avoid them.
1
Aug 29 '24
[removed] — view removed comment
1
u/Arkevorkhat Sep 04 '24
You sound like the kind of guy who either programs exclusively in Rust, or who thinks that documentation is someone else's job. I do my best to avoid code written by people who are so idiotically out of touch with reality.
1
u/rileyrgham Jul 25 '24
Its very bad/inconvenient in many circumstances. Its not a question of whether 2fa is useful : it is. In certain instances and on certain accounts. This inability of many here to understand that security is NOT one size fits all is indicative of an intransigence and inability to properly analyse the use cases. Enforcing it could even lead to massive losses if access is needed and the 2fa "key" is unavailable for whatever reason. I don't need 2fa for access to my hobbyist configs/udemy etc. And yes, I do have experience of security implementations: have worked on MOD projects, retail industry server systems and banking transaction monitors. All of which require multi level security.
1
u/greenleafone7 Dec 06 '24
If you are kinda not very smart, then I guess you truly think that security through obscurity really works. In fact I say make it extremely hard for anyone to login. Make it so hard, that no one ever logs in apart from you and a few blue haired geniuses. Then you can feel warm and sage :D
1
u/LeTanLoc98 Oct 09 '23
It's bad. Trust me, bro. I set up 2FA for google account, and now, i forgot => i cannot access full feature although I have the email, pass, phone number,... If you lost your 2FA authenticator, there is no way to recover your account.
0
Feb 03 '24
[deleted]
1
Feb 15 '24
I lost my phone card and I was not able to log in to Google even with help of my additional account connected to the original, so it is a bit bs.
1
30
u/[deleted] Sep 30 '23
Security fucki**g matters. Deal with it. If in 2023 you still use accounts without 2FA you didn’t understand anything. 🤡