News for hackers. Stuff that matters.
Re:GitHub will require 2FA by the end of 2023 by mdb31 on Thursday May 05, 2022 @01:21PM (#31276109)
Well, given that Github today doesn't seem to support meaningful 2FA (only TOTP and SMS), wouldn't it be good to fix that issue before starting to talk about requirements like these?

Maybe it's just my account, but I can't currently enroll my hardware token with Github in any way whatsoever.

Sure, they offer some 1.5FA, but why would I bother with that?

Re:GitHub will require 2FA by the end of 2023 by einichi on Thursday May 05, 2022 @01:28PM (#31276189)
They let you enroll a hardware token after you enable either a TOTP or SMS 2FA method. No idea why, seems to defeat the point of the additional security that a hardware token offers.
Re:GitHub will require 2FA by the end of 2023 by procombo on Thursday May 05, 2022 @03:56PM (#31277764)
Authenticator apps, and SMS help them derive you have identity -- which is more secure for them and you. Hardware token via WebAuthn (etc) is only more secure for you.

When they say "for the sake of security" they mean for them too.

There's a reason they want you to verify using one of the first two methods first.

Re:GitHub will require 2FA by the end of 2023 by dns_snek on Saturday May 07, 2022 @07:26AM (#31293688)
> Authenticator apps, and SMS help them derive you have identity

How do they do that?

TOTP (i.e. authenticator apps) is a simple algorithm where the value is derived from a secret key and current time. It certainly doesn't verify anything about you.

Re:GitHub will require 2FA by the end of 2023 by anticensor on Tuesday May 10, 2022 @01:42AM (#31323847)
By making the initial TOTP secret different for everyone.
Re:GitHub will require 2FA by the end of 2023 by ProZsolt on Thursday May 05, 2022 @01:31PM (#31276224)
I use FIDO U2F since 2015.

I got my Yubikey from Github for $5 https://github.blog/2015-10-01-github-supports-universal-2nd...

Re:GitHub will require 2FA by the end of 2023 by mdb31 on Thursday May 05, 2022 @01:35PM (#31276290)
Yet, if you go into the "enable 2FA" settings on Github, you only get the option to enable insecure TOTP or SMS.

Apparently, once you do that, you might be able to add proper authentication. But no word on whether that then replaces the obsolete methods you were forced to configure earlier.

But, yes, right on track to enforce 2FA in 2023, I see...

Re:GitHub will require 2FA by the end of 2023 by Nzen on Thursday May 05, 2022 @02:18PM (#31276780)
Github requires [0] the first 2FA mechanism to be totp or sms. Thereafter, you can add a webauthn compatible hardware key.

[0] https://docs.github.com/en/authentication/securing-your-acco...

Re:GitHub will require 2FA by the end of 2023 by roblabla on Thursday May 05, 2022 @03:26PM (#31277457)
Why though? That makes absolutely no sense.
Re:GitHub will require 2FA by the end of 2023 by procombo on Thursday May 05, 2022 @03:39PM (#31277593)
Just technically it makes no sense. WebAuthn is a great technology that addresses many privacy concerns, but once they had an excuse collecting phone numbers they don't want to stop. Even though it's not the most secure method. Google, and many others are the same way.

2FA is often used as an excuse to obtain more PII from people, and to verify your identity, as a whole. Most businesses want to match logins to individuals, not roles. And that's what 2FA provides them.

Re:GitHub will require 2FA by the end of 2023 by deadbunny on Thursday May 05, 2022 @04:59PM (#31278344)
How do they get my phone number from TOTP?
Re:GitHub will require 2FA by the end of 2023 by pc86 on Thursday May 05, 2022 @02:17PM (#31276772)
Since when is TOTP obsolete?
Re:GitHub will require 2FA by the end of 2023 by mdb31 on Thursday May 05, 2022 @02:34PM (#31276948)
> Since when is TOTP obsolete?

Since about the moment that teams all over the world discovered they could just paste the enrollment QR code (a.k.a. private key) into their wikis, and thereby continue unlimited sharing of their role accounts?

So, I guess 30 seconds after its introduction?

Re:GitHub will require 2FA by the end of 2023 by klaustopher on Thursday May 05, 2022 @01:26PM (#31276176)
Re:GitHub will require 2FA by the end of 2023 by mdb31 on Thursday May 05, 2022 @01:30PM (#31276214)
Oh, that's lovely UX... "After you configure 2FA, using a time-based one-time password (TOTP) mobile app, or via text message, you can add a security key"

So, after you enable a broken-by-design 1.5FA method, which you don't want, and which will further expose you to account takeovers, you can, possibly configure actual security.

No wonder these guys are raking in the big bucks...

Re:GitHub will require 2FA by the end of 2023 by gkbrk on Thursday May 05, 2022 @01:37PM (#31276315)
I understand the SMS part, but what makes TOTP a not "meaningful" 2FA?
Re:GitHub will require 2FA by the end of 2023 by mdb31 on Thursday May 05, 2022 @01:42PM (#31276385)
The TOTP "private key" can be easily cloned. Targeted malware, a database compromise at your app provider that you "securely" sync your settings to, or just a few minutes access to your "authentication" device, will do the trick.
Re:GitHub will require 2FA by the end of 2023 by chipotle_coyote on Thursday May 05, 2022 @01:50PM (#31276487)
> or just a few minutes access to your “authentication” device

Oh, come on. Your “hardware” “authentication” “key” can be stolen in mere seconds by someone with physical access. Clearly, we should dispense with that fake bullshit 2FA and require face-to-face verification. Drive to the GitHub office and let them run a DNA test to confirm your identity, or GTFO, amirite?

Re:GitHub will require 2FA by the end of 2023 by gkbrk on Thursday May 05, 2022 @02:21PM (#31276818)
There is no sync to provider servers on any TOTP implementation I use. Nor does a TOTP implementation need to be an application on a phone. Are you perhaps referring to the Google Authenticator or the Microsoft Authenticator apps when you refer to TOTP?

Manufacturers that sell the "meaningful" 2FA hardware tokens can manufacture and sell duplicate keys, they even provide this as a service when you want backup keys. What makes you think they don't "securely" make a few duplicates themselves?

Re:GitHub will require 2FA by the end of 2023 by mdb31 on Thursday May 05, 2022 @02:43PM (#31277022)
> There is no sync to provider servers on any TOTP implementation I use

That's hard to dispute, but will you accept https://guide.duo.com/duo-restore as a counterexample?

> Are you perhaps referring to the Google Authenticator or the Microsoft Authenticator apps when you refer to TOTP

No, I'm referring to the actual RFC 6283 TOTP protocol. Which uses a trivially-cloned single private key. Which is, see the example above, in fact trivially cloned 'for convenience' by at least one widely-used 'enterprise' security solution.

> What makes you think they don't "securely" make a few duplicates themselves?

Since that literally makes no sense if you know how hardware tokens work.

Re:GitHub will require 2FA by the end of 2023 by drdaeman on Thursday May 05, 2022 @01:28PM (#31276191)
This is odd - they sure do support WebAuthn, I've been using a YubiKey for years.