News for hackers. Stuff that matters.
Re:Gitlab Support is no longer processing MFA resets for fre... by nooyurrsdey on Wednesday August 05, 2020 @02:10AM (#24057755)
Good - 2FA is the responsibility of the user and resetting it kind of invalidates the security it helps bring.

I think the bigger issue is that people's 2fa codes are still tied to their phone. You can lose your phone at any moment, which is why i've always disliked apps like Google Authenticator which don't let you export 2fa keys (for good reason).

I personally use 1password, but there's definitely room for a cloud storage solution that safely holds 2fa credentials

Re:Gitlab Support is no longer processing MFA resets for fre... by undecisive on Wednesday August 05, 2020 @04:20AM (#24058426)
> Good - 2FA is the responsibility of the user and resetting it kind of invalidates the security it helps bring.

Actually, no. This is a terrible idea.

Think about the psychology of what you are telling people: "You have two choices - one is normal security, which you use on 80%+ of the rest of the internet, and one is 2fa which you only use on the annoying services that badger you into it. On the first one, if you lose your password you can do a password reset. On the second one, if your laptop and phone get fried in a rainstorm / car crash / act of children, you lose access to everything forever, no recourse and no recovery. And by the way, we totally encourage you to choose the second one... "

Yes, online services that store credentials and backup passwords mitigate this somewhat, but they also add an attack vector via keyloggers, or make you dependent on the third party's security measures.

And I probably don't need to point out to the HN crowd just how badly internet services are moving towards no-recourse solutions to petty problems to save money. Yet another one doing this is not a good thing.

Re:Gitlab Support is no longer processing MFA resets for fre... by tialaramex on Wednesday August 05, 2020 @08:02AM (#24059868)
The correct fix is to make the better option less annoying. You can do this today with WebAuthn. Here's the steps to sign in to a WebAuthn-enabled site with say a Pixel 2:

1. Go to the site 2. Touch the "Sign in" button 3. When prompted touch the fingerprint sensor

That's it. Did a bunch of complicated stuff happen? Yes, but the user didn't do any of that, so they needn't care.

Re:Gitlab Support is no longer processing MFA resets for fre... by Izkata on Wednesday August 05, 2020 @08:54AM (#24060253)
...Neither my work nor personal laptops have a fingerprint sensor.
Re:Gitlab Support is no longer processing MFA resets for fre... by tialaramex on Wednesday August 05, 2020 @03:12PM (#24064392)
You can get a slightly more bothersome PIN prompt in Windows with a FIDO2 Authenticator (entering your PIN serves the same purpose as providing a fingerprint, neither a PIN nor a fingerprint leaves your device), or you can lose the convenience and do traditional two separate factors.
Re:Gitlab Support is no longer processing MFA resets for fre... by marcinzm on Wednesday August 05, 2020 @10:02AM (#24060824)
What happens if your phone gets crushed by a runaway elephant?
Re:Gitlab Support is no longer processing MFA resets for fre... by tialaramex on Wednesday August 05, 2020 @03:28PM (#24064561)
I think you should call the authorities to report that your local zoo or safari park is poorly managed if this keeps happening so that it interferes with how you regularly use web sites.

More seriously - yes, you still need a more complicated recovery procedure for extraordinary cases, but these are now truly extraordinary cases, rather than, as the original thread claimed, just a routine nuisance for the user.

Re:Gitlab Support is no longer processing MFA resets for fre... by graton on Wednesday August 05, 2020 @10:57AM (#24061513)
Hopefully they will have already activated a couple U2F hardware tokens as backup.

Having only one copy of the MFA device is of course a bad idea.

Re:Gitlab Support is no longer processing MFA resets for fre... by marcinzm on Wednesday August 05, 2020 @11:23AM (#24061828)
Sure but now the "very simple process" is no longer so simple and in fact the simplicity merely a dangerous limitation.
Re:Gitlab Support is no longer processing MFA resets for fre... by graton on Wednesday August 05, 2020 @12:02PM (#24062306)
Who said security was a "very simple process"?

It is of course up to people if they want to enable additional security and of course have to put up with increased friction and difficulty.

Myself I consider what would it mean if someone got access to my Github, Gitlab, and/or email accounts and have decided that I will put up with the cost (buying U2F tokens) and hassle (having to use the U2F token to login).

The alternative is the much higher chance that someone could at some point get into one of my accounts.

Re:Gitlab Support is no longer processing MFA resets for fre... by marcinzm on Wednesday August 05, 2020 @12:28PM (#24062634)
> Who said security was a "very simple process"?

The post I responded to basically did:

> That's it. Did a bunch of complicated stuff happen? Yes, but the user didn't do any of that, so they needn't care

Re:Gitlab Support is no longer processing MFA resets for fre... by baq on Wednesday August 05, 2020 @07:49AM (#24059764)
yes, i agree completely.

but! how many keys to your car or to your home have you got? i'm willing to wager that you've got more than one. in the same way you never should have one key to your account, especially with hardware keys, but 2fa code apps should also apply.

Re:Gitlab Support is no longer processing MFA resets for fre... by donnellycc on Wednesday August 05, 2020 @08:45AM (#24060182)
If I lose all the keys to my car or they are destroyed, I can pay a dealership to create new ones for me, I don't just have to forfeit the car.
Re:Gitlab Support is no longer processing MFA resets for fre... by SifJar on Wednesday August 05, 2020 @09:20AM (#24060453)
At any non-shady dealership, you should presumably have to give some sort of evidence that you own the car in question (registration documents etc. and ID matching the name on the registration). For many online accounts, you probably don't need (or want) to give ID when creating account, so that's out as a way to prove ownership when attempting to recover. So how else do you prove ownership?
Re:Gitlab Support is no longer processing MFA resets for fre... by Volundr on Wednesday August 05, 2020 @02:21PM (#24063881)
I did this recently actually, bought a car where the owner only had a valet key. Had to email them a copy of my registration, my driver's license and the VIN, and they ordered me a new key.

For important accounts I wonder if we should have the ability to tie them to a physical address or something else possible to verify.

Re:Gitlab Support is no longer processing MFA resets for fre... by fredcy on Wednesday August 05, 2020 @09:29AM (#24060529)
Far too many sites don't allow more than one hardware key for 2FA. I set up 3 yubikeys on those sites that allow it.
Re:Gitlab Support is no longer processing MFA resets for fre... by graton on Wednesday August 05, 2020 @10:22AM (#24061073)
> . On the second one, if your laptop and phone get fried in a rainstorm / car crash / act of children, you lose access to everything forever, no recourse and no recovery.

No. I just use my U2F token that I have on my keychain. Or the one I have in my office. Or the one I have in my safe.

I also backup my TOTP codes using GPG and my Yubikey can store up to 32 TOTP codes on it.

Re:Gitlab Support is no longer processing MFA resets for fre... by dalyons on Wednesday August 05, 2020 @10:35AM (#24061228)
And you think that’s a reasonable solution for all of the billion+ people that login to some kind of cloud services?
Re:Gitlab Support is no longer processing MFA resets for fre... by graton on Wednesday August 05, 2020 @10:40AM (#24061270)
Perfect is the enemy of good.

Can you explain any solution for any problem that is reasonable for ALL of the billion+ people that login to some kind of cloud service? ;)

Re:Gitlab Support is no longer processing MFA resets for fre... by undecisive on Thursday August 06, 2020 @04:16AM (#24069054)
That's an argument that works well for getting an MVP out the door, not so well if a company decides to make their product worse to save a little money.
Re:Gitlab Support is no longer processing MFA resets for fre... by dependenttypes on Wednesday August 05, 2020 @06:48AM (#24059276)
> if you lose your password you can do a password reset

I would argue that this is a negative thing. Sites should at least give the option to disable password reset.

Re:Gitlab Support is no longer processing MFA resets for fre... by tclancy on Wednesday August 05, 2020 @06:54AM (#24059316)
What do you do if you find your password was compromised?
Re:Gitlab Support is no longer processing MFA resets for fre... by dependenttypes on Wednesday August 05, 2020 @07:31AM (#24059607)
I use randomly generated passwords that are unique per site. It is more likely for someone to socially engineer the site support (or the registered mail account) than to guess it.

Another annoying thing is that some sites do not consider your password enough even if you do not have 2fa enabled and they insist on sending you a mail (thanks github! - I can't connect to my account there because the registered mail was in my old domain) or an sms (thanks google/twitter! I had not even provided my phone number yet somehow giving it to you will verify that it's me)

Re:Gitlab Support is no longer processing MFA resets for fre... by pas on Wednesday August 05, 2020 @07:35AM (#24059641)
How do you reclaim your account safely without some pre-shared unique/secret thing that identifies you as the "rightful" user?

Password reset email is great if you forgot your password, but this just means you can't make it more secure than your email account.

Re:Gitlab Support is no longer processing MFA resets for fre... by pilif on Wednesday August 05, 2020 @04:06AM (#24058352)
The problem with storing the 2FA keys in 1Password is that you're practically downgrading your account to 1FA because once 1Password is compromised, the second factor lost all of its value, though that compromise is much harder to achieve than a compromised shared machine I'm typing my password in on (which you probably also should never do).

I'm saying this as I'm looking at my 1Password database which also contains all my 2FA keys because, yes, all 2FA apps I tried so far treat these keys as way too valuable and the risk of losing them as I move from device to device is just too high.

Do as I say, not as I do I guess :p

I feel confident to rely on the security of my machine and 1Password specifically, though I am aware that I can't really claim my accounts to be secured by 2FA.

Re:Gitlab Support is no longer processing MFA resets for fre... by modernerd on Wednesday August 05, 2020 @04:48AM (#24058599)
Yes, in 1Password's 2FA announcement its head of security mentions that using 2FA in 1PW does not give you true 2FA:

> If you would like to turn a site’s offering of TOTP into true two-factor security, you should not store your TOTP secret in 1Password (or in anything that will synchronize across systems).

They mention multiple times that if you want true 2FA the second factor needs to be on a different device or a physical key like a YubiKey.

Then they say that “two-step” security offered by 1PW + 2FA is probably enough for most use cases, and that 2FA in 1PW still has additional value because (a) some sites require 2FA and (b) one-time passwords offer protection against sniffing passwords over insecure networks.

https://blog.1password.com/totp-for-1password-users/

The fact that 1PW even auto-copies the code to your clipboard after auto-filling a password so that you can paste it in when prompted raised my eyebrows when I first used the feature, though. It's very convenient but it's obvious at that point that you're throwing away the protection that storing the key on a second device would offer, even if 1PW requires you to authenticate before the app will open.

Re:Gitlab Support is no longer processing MFA resets for fre... by snorremd on Wednesday August 05, 2020 @06:31AM (#24059173)
I use Lastpass for passwords and Authy for 2FA for this exact reason. If my Lastpass is compromised they only get my passwords, not my 2FA tokens. If Authy is compromised and they manage to get my 2FA backup they still don't have my passwords.
Re:Gitlab Support is no longer processing MFA resets for fre... by tzs on Wednesday August 05, 2020 @01:21PM (#24063216)
> I'm saying this as I'm looking at my 1Password database which also contains all my 2FA keys because, yes, all 2FA apps I tried so far treat these keys as way too valuable and the risk of losing them as I move from device to device is just too high.

When I set up TOTP on a site, I save the QR code as a PNG file (via the Grab application on my Mac) and the text version of the code in a text file. (If the site provided some one-time use recovery codes, those all go in the text file). Those two files go into a directory, that directory gets made into a tarball, which then gets encrypted, then stored in my "recovery" directory which later gets saved in an encrypted backup.

That's all after I scan the QR code into an authenticator app on my phone.

Moving codes to a new device is then just a matter of decrypting and extracting them from my recovery directory and scanning them on the new device.

Re:Gitlab Support is no longer processing MFA resets for fre... by tybulewicz on Wednesday August 05, 2020 @02:43AM (#24057935)
Google Authenticator now allows you to export your keys to another phone.

I keep my keys in analog form - I print QR code for every service. We know how to handle valuables stored on paper.

Re:Gitlab Support is no longer processing MFA resets for fre... by edoceo on Wednesday August 05, 2020 @02:59AM (#24058010)
I do this too. And each time I mention my hard copies I also have to explain there are actually 3 copies, physically isolated, etc. Hope you're doing the same.
Re:Gitlab Support is no longer processing MFA resets for fre... by thinkmassive on Wednesday August 05, 2020 @10:01AM (#24060819)
hot tip: zbarimg

You can store the TOTP seeds in more compact form by converting QR code screenshots to alphanumeric using zbar barcode tools.

In my experience it has difficulty parsing some QR codes created using CSS due to tiny borders between blocks. Those can be fixed by applying a small gaussian blur followed by sharpening (use imagemagick for maximum automation) to fill out the borders.

Edit: packages available in Ubuntu (zbar-tools) & Fedora (zbar), source code at https://github.com/mchehab/zbar

Re:Gitlab Support is no longer processing MFA resets for fre... by gknoy on Wednesday August 05, 2020 @03:26AM (#24058141)
Would you be willing to describe the process you use to do this?
Re:Gitlab Support is no longer processing MFA resets for fre... by cuu508 on Wednesday August 05, 2020 @04:57AM (#24058658)
Not op, but my usual process is:

* when setting up 2FA, a website shows a QR code

* I screenshot the QR code, and print it out on an A4 sheet, with an annotation of what service it is for

* I scan the QR code from the A4 sheet on two different phones.

* Back on the website, I continue 2FA setup process only after the A4 sheet is printed, and both phones show the same codes

* The A4 sheet goes in a folder for safe keeping

* One phone goes in my desk drawer for daily use

* The other phone goes in my "go" bag that I take with me on short trips etc.

Both phones are used exclusively for Google Authenticator:

* they have no extra apps

* they have a screen lock

* they are always in flight mode

Started doing this when I got burned by having to extract GA's sqlite file from mostly-dead Nexus One over adb.

Re:Gitlab Support is no longer processing MFA resets for fre... by waldfee on Wednesday August 05, 2020 @05:15AM (#24058743)
since the qr code is just the totp seed, i simply print the seed in huge font on a sheet of paper. chance of enough degredation to inlegibility is pretty slim if stored correctly
Re:Gitlab Support is no longer processing MFA resets for fre... by Chris2048 on Wednesday August 05, 2020 @06:27AM (#24059145)
interesting idea. I wonder what the minimum you need for a 2FA-only device would be.
Re:Gitlab Support is no longer processing MFA resets for fre... by thinkmassive on Wednesday August 05, 2020 @11:45AM (#24062108)
The Passport by Foundation Devices is a device that's pretty close to this, it just happens to do more than only 2FA: https://foundationdevices.com/
Re:Gitlab Support is no longer processing MFA resets for fre... by cuu508 on Wednesday August 05, 2020 @07:29AM (#24059586)
I'm just using my old phones that still have a working touchscreen and camera.
Re:Gitlab Support is no longer processing MFA resets for fre... by klohto on Wednesday August 05, 2020 @03:38AM (#24058215)
Screenshot the QR Code and print it? Put it in a vault or store somewhere safe. It’s a standard practice for securing enterprise accounts (AWS root acc. for example)
Re:Gitlab Support is no longer processing MFA resets for fre... by ffpip on Wednesday August 05, 2020 @04:23AM (#24058450)
You can't screenshot it.

The app puts a no screenshot request, so you have to scan the qr code from another phone.

Re:Gitlab Support is no longer processing MFA resets for fre... by koolba on Wednesday August 05, 2020 @06:08AM (#24059051)
The screenshot would be done on the desktop, not the phone.
Re:Gitlab Support is no longer processing MFA resets for fre... by soco on Wednesday August 05, 2020 @06:55AM (#24059330)
What is the point of all these apps forbidding the screenshotting, when everybody needs exactly those QR codes screenshots?
Re:Gitlab Support is no longer processing MFA resets for fre... by ffpip on Thursday August 06, 2020 @01:14PM (#24073061)
You give your phone to someone, then he just opens the app and sends the QR code screenshot to himself. He has the codes forever.

Without it, he has 30 seconds to login and put the code by just opening the app and looking at the code.

Not much of a feature, but might help some users

Re:Gitlab Support is no longer processing MFA resets for fre... by tybulewicz on Wednesday August 05, 2020 @04:22AM (#24058443)
I have only two copies - one stored in home for quick access if needed, second in bank storage locker with all other my documents.
Re:Gitlab Support is no longer processing MFA resets for fre... by m-p-3 on Wednesday August 05, 2020 @08:31AM (#24060075)
I also do this, and I have a backup Yubikey in cold storage for all the services that supports it. Better be safe than sorry.
Re:Gitlab Support is no longer processing MFA resets for fre... by techntoke on Wednesday August 05, 2020 @03:13AM (#24058075)
I use Password Store for Android and also on Desktop, and they are backed up to my Google Drive
Re:Gitlab Support is no longer processing MFA resets for fre... by koolba on Wednesday August 05, 2020 @06:11AM (#24059068)
Is this specific to the Android version? The iOS version has not been updated since 2018.
Re:Gitlab Support is no longer processing MFA resets for fre... by input_sh on Wednesday August 05, 2020 @08:46AM (#24060194)
Android version also didn't see any updates until May this year, when this feature arrived.
Re:Gitlab Support is no longer processing MFA resets for fre... by INTPenis on Wednesday August 05, 2020 @04:12AM (#24058387)
I use AndOTP which allows you to encrypt, export and import the OTP database.
Re:Gitlab Support is no longer processing MFA resets for fre... by dukeofharen on Wednesday August 05, 2020 @02:18AM (#24057803)
I use FreeOTP+ for Android because it allows me to backup its data.
Re:Gitlab Support is no longer processing MFA resets for fre... by foepys on Wednesday August 05, 2020 @02:46AM (#24057953)
I'm currently using andOTP. Just to throw some more news of good OSS MFA apps out there.
Re:Gitlab Support is no longer processing MFA resets for fre... by yoavm on Wednesday August 05, 2020 @04:06AM (#24058360)
Re:Gitlab Support is no longer processing MFA resets for fre... by ffpip on Wednesday August 05, 2020 @04:25AM (#24058463)
Icons Pack/logos for the sites stored in Aegis.

https://github.com/krisu5/aegis-icons

Just extract the zip, and you can input any photo to the Aegis app

Re:Gitlab Support is no longer processing MFA resets for fre... by dddw on Wednesday August 05, 2020 @04:11AM (#24058384)
Yes aegis !
Re:Gitlab Support is no longer processing MFA resets for fre... by manojlds on Wednesday August 05, 2020 @02:14AM (#24057777)
Isn't there Authy?
Re:Gitlab Support is no longer processing MFA resets for fre... by lebaux on Wednesday August 05, 2020 @02:20AM (#24057818)
I recommend andOTP and Aegies if you are using android. The first one is more mature, second more actively developed. Both open source with ability to backup you database.
Re:Gitlab Support is no longer processing MFA resets for fre... by triyambakam on Wednesday August 05, 2020 @03:07AM (#24058050)
Thanks for sharing that! I've been looking for something besides Google Authenticator
Re:Gitlab Support is no longer processing MFA resets for fre... by vmception on Wednesday August 05, 2020 @02:17AM (#24057795)
Authy's SMS convenience/reliance undermines the whole thing. Avoid.
Re:Gitlab Support is no longer processing MFA resets for fre... by jackson1442 on Wednesday August 05, 2020 @02:40AM (#24057915)
You can turn off Multi-Device at any time, which just disables the ability to add new devices. I think that's protection enough.
Re:Gitlab Support is no longer processing MFA resets for fre... by xvector on Wednesday August 05, 2020 @04:10AM (#24058383)
Authy supports symmetrically encrypting your OTP codes with a password which is fine IMO: https://authy.com/blog/how-the-authy-two-factor-backups-work...
Re:Gitlab Support is no longer processing MFA resets for fre... by bickeringyokel on Wednesday August 05, 2020 @02:14AM (#24057778)
You can export to multiple devices now on Google authenticator, other 2FA apps have also supported that for quite a while.

As far as cloud storage goes, standard notes might be a good option, I don't use it for 2FA, but it's an extension they provide.

Re:Gitlab Support is no longer processing MFA resets for fre... by hnick on Wednesday August 05, 2020 @02:38AM (#24057903)
Yes, I can confirm I've had the same google auth token on multiple devices both concurrently and when setting up new phones for a SaaS login for years now.
Re:Gitlab Support is no longer processing MFA resets for fre... by kenniskrag on Wednesday August 05, 2020 @03:29AM (#24058162)
And what is with DSGVO/GDPR to delete my data even without access?