Live data from Hacker News

Emailing a one-time code is worse than passwords

blog.danielh.cc

511–520 of 816 posts

Re: Emailing a one-time code is worse than passwords

#511
post #310

I recently set up passkey-only sign ins for a webapp I'm writing using Authentik [0](Python OIDC provider, with quite a nice docker-compose run-up, took only minutes to stand up.) It was surprisingly easy to configure everything so that passkeys are the only thing ever used. If anyone would be interested I could write it up? I was surprised what a nice user flow it is and how easy it was to achieve. [0] https://goaut…

so many of these Authentication providers have a hockey stick pricing scheme, where the first few users are near free and when you grow you are going to get mugged and kicked in the groin.

it's open source, if you self-host it's free

Re: Emailing a one-time code is worse than passwords

#512
post #496

Earlier quoted context omitted.

Great, this is a universal solution. Let's all make it an integral part of our digital security, and in 5 years or so hope that bitwarden doesn't leverage it!

the good news is that you can self-host bitwarden pretty easily and so it doesn't have to be a hassle/risk

Grandma is self-hosting what???

Re: Emailing a one-time code is worse than passwords

#513
post #466

Earlier quoted context omitted.

FYI, you can put a 2FA secret into Bitwarden and autofill the one-time passwords alongside the regular password. That would mitigate the impact of losing your phone.

I personally don't do this because I feel like it defeats the whole purpose of 2fa. If someone gets into your bitwarden account, now they have your passwords and can generate 2fa codes. Of course, if the alternative is just not doing 2fa then it's better than nothing but I'd still prefer an authenticator app or hardware key than putting them in bitwarden.

Getting into your bitwarden account should be at least as hard as getting into your authenticator app or stealing your hardware key, though, if you're using it as intended, so I think it's ok for 2FA

Re: Emailing a one-time code is worse than passwords

#514

Earlier quoted context omitted.

We've had massive problems with moving to passkeys (browser based) at our company and moved back to an app based Authenticator. Everyone is accepting of the autenticator app or uses a yubikey.

What were those "massive problems"?

Re-imaged, lost, or bad updates on PCs wiping out a all the saved passkeys and being locked out of all accounts during off-campus sales or design meetings.

Making staff look like idiots in front of clients is a resume-generating-event.

Re: Emailing a one-time code is worse than passwords

#515
post #205
post #35

Earlier quoted context omitted.

You misread the short article. It's about email as single factor auth, which has become very trendy of late. You just enter your email address, no password, and the email you a code. Access to your email is the only authentication.

But then, email always was the only authentication. On any site, click "forgot password" and promptly they send you a reset password link. Very few sites have a challenge question.

Could be worse, I still sometimes get my password emailed in plain text by companies when I do that.

Re: Emailing a one-time code is worse than passwords

#516

Earlier quoted context omitted.

1. I don't get that with 1Password 2. If you get this often, why do you use 1Password, honest question.

Vendor lock-in and lack of alternatives. 1Password used to work decently well before 2020. Now I have ~ 2k items in 1Password, distributed among two accounts (work and personal). Additionally, my spouse and I have a shared 1Password vault via the Family plan. There’s no way I’m going to migrate 2k items and two dozen devices to another vendor. If there were one that met my requirements to begin with.

Every vendor implements export and import. Why do you think you would need to manually migrate?

Re: Emailing a one-time code is worse than passwords

#517
post #363

Earlier quoted context omitted.

If the target was not actively trying to log into GOOD at that exact moment, why would they treat this as anything other than one of a phishing attempt or spam?

Because target WAS trying to login to BAD. Imagine a "free porn, login here" website, when you put in your gmail address it triggers the onetime code from gmail (assuming it did that type of login) - thousands would give it up for the free porn.

Oh I see. Misread the whole scenario.

Re: Emailing a one-time code is worse than passwords

#518

Earlier quoted context omitted.

You're the one dismissing real problems like "lose all passkeys when you lose your phone".

That doesn’t happen when you use Apple’s passwords ecosystem or 1Password. The backing databases are synchronized between devices.

And everyone knows that abuelitas in the global south, as a rule, own iPhone 16s and subscribe to 1Password.

Re: Emailing a one-time code is worse than passwords

#519
post #81

Earlier quoted context omitted.

Microsoft Entra ID goes out of its way to enforce attestation for FIDO 2 keys. The protocol normally allows you to omit the attestation, but they worked around an extra call after a successful registration flow that sends you to an error page if your FIDO2 passkey isn't from one of these large approved vendors: https://learn.microsoft.com/en-us/entra/identity/authenticat... I found out by trying to prototype my own F…

Ah, and even if you can turn it off as the administrator, you still need to include the attestation, it's just not checked. Gotta love Microsoft...

Yeah Microsoft is so annoying. It's also kicking me out every day now (with this passive aggressive "hang on while we're signing you out" message). On M365 business with Firefox on Linux with adblocker. I hate using their stuff so much.

Re: Emailing a one-time code is worse than passwords

#520
post #163

Earlier quoted context omitted.

You are not the target audience, you are not even an outlier, it's probably time to accept this and look for long-term solutions that allow you to interface with the "mainstream".

Many (most?) people I know in the "target audience" want to keep their email+password logins.

The UX of having to switch apps or websites is terrible when I have auto fill available via the Web browser or a password manager.
Post reply on HN