this post was submitted on 13 Mar 2026
683 points (98.6% liked)

Programmer Humor

30341 readers
2180 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] BlackLaZoR@lemmy.world 1 points 1 minute ago

Registration and login should be password less anyway. There's alredy tech for doing it with cellphone or external hardware key.

Storing your password hash is just stupid and insecure

[–] SystemDisc@piefed.world 3 points 9 minutes ago (1 children)
[–] Appoxo@lemmy.dbzer0.com 1 points 7 minutes ago

If they arent on a USB stick, protected against being copied, they are only a single factor that instill false safety.

[–] muusemuuse@sh.itjust.works 1 points 28 minutes ago

Yubikey. Done.

[–] peacefulpixel@lemmy.world 35 points 3 hours ago (2 children)

alternatives to passwords are just excuses to harvest info

[–] Legianus@programming.dev 12 points 1 hour ago

Not if it comes to hardware-based passkeys I would argue

[–] ranzispa@mander.xyz 2 points 2 hours ago (1 children)

It is quite normal to ask for an email address at registration even when using password based authentication.

[–] Postimo@lemmy.zip 11 points 2 hours ago (1 children)

*it has been become quite normalized

[–] BlueEther@no.lastname.nz 1 points 1 hour ago

It was more or less the default many moons ago, then just a username became more common, now it is back to email or some third party login

[–] ZeldaFreak@lemmy.world 9 points 2 hours ago (3 children)

Or the obscure ways for 2FA/MFA. Passkeys are mostly cloud based. Yeah fuck no! The weakest Passkey is weaker than my usual random generated password, if the site don't do any shady business and require a weak password. Hardware keys are luckily not pushed for usage. I don't like them either. You require at least 2, for backup reasons. They also cost quite some money and they have zero auth. Just connect to usb and tap it. Also retrieving the backup and get a replacement for a defective one, takes some time.

Good old TOTP as 2FA is perfect, paired with a strong, random password. With my TOTP, I have an encrypted backup in my cloud, on my NAS, older backups in secure places and backup codes in several places. The TOTP App I use is open source and I have a mirror of the source code.

This should be enough security, if sites don't screw up all the time. You can bypass 2FA all the time. Even the credit card company screwed up big time. Usually you get 2 separate letters, one with your pin and one with your card. Both came on the same day. Also I actually didn't needed the pin in the first place. I was able to add the card to the app and see the pin there, without actually verifying anything, except the credit card number.

Maybe when passkeys are supported in my password manager, I will try it but so far it isn't and switching is not an option, as it doesn't support the features I need. There is an open issue for an alternative password manager, with that feature request and it has some people wanting it, but its still not added. But passkeys doesn't fix the issue for me using stronger keys, it fixes the site owners to allow stronger keys but they are still not required to use it. Some devs are just weird. I've read one PR for an FOSS project I use, where someone wanted to implement a universal oath or such stuff, that would support all types of external authentifications. Nope, the dev refused the PR and they wanted to stay at the 2 proprietary implementations, for 2 services, even though this universal implementation would work with these 2 too. I can't tell exactly what it was. I was experimenting with an auth service for my self hosted stuff, to not deal with several accounts and rights systems. This service was the first one which I wanted to switch and they didn't wanted to support it, leaving me with the standard login.

[–] jake_jake_jake_@lemmy.world 1 points 8 minutes ago

Every hardware based key I ever used also required PIN, but as far as expense and backups, yes, for personal use the cost generally may not be justified. I got all my personal ones as a bundle that was on sale. For work I would argue that some businesses can easily justify the cost to create a rotating stock of hardware keys to deal with lost keys. Generally in that environment you have centralized PKI, where you can revoke the certificate on the lost key and then issue a new certificate on a new hardware key. This doesn't help for all sign in methods tied to hardware keys, but can be very practical when implemented right.

I also agree on TOTP as the ultimate generic 2FA method, with several worsening options until the despised email or sms 2FA. I will also add that you can setup TOTP on modern hardware keys, where you must insert and complete PIN entry. The inconvenience is that you must have all your keys and password manager available at setup time for places that don't support multiple TOTP codes.

[–] Legianus@programming.dev 2 points 1 hour ago

You can force auth on hardware passkeys for every activation. A sort of local password. Much more secure, also if somebody is in possession of your passkey and you didn't just loose it somewhere you would be fucked anyways.

I have three, one for home, one for backup, and one for travel. I can See why ppl. Are annoyed by that, but speaking of costs, you can get these starting from ~20 Dollars. Additionally, passkeys could and should replace passwords and not EB generally used as 2FA.

Also many password managers (incl. FOSS) do support Passkeys, but having them in your password manager makes them arguably useless. Same if you use 2FA on your phone and a password manager and your phone gets compromised somehow.

[–] KairuByte@lemmy.dbzer0.com 4 points 2 hours ago

What password manager doesn’t support passkeys these days?

[–] GaMEChld@lemmy.world 17 points 3 hours ago

As an autistic person I felt this in my bones. I cannot STAND email based authentication.

[–] Zos_Kia@jlai.lu 6 points 3 hours ago

Recently finished a side project and I was glad I could go with pure login/pass auth. No email no oauth, just a pass phrase for account recovery. It's refreshing and so damn simple.

[–] criticon@lemmy.ca 44 points 5 hours ago (1 children)

Or worse:

Use email link -> use password instead

Enter password

Now enter the code that we sent you your email...

[–] ulterno@programming.dev 18 points 4 hours ago* (last edited 4 hours ago)

2 factor authentication, only when you feel like it.

They might as well be piping the password to /dev/null

[–] LiveLM@lemmy.zip 73 points 6 hours ago* (last edited 6 hours ago) (3 children)

The best I've seen was yesterday where a website had the log-in button greyed out after the password manager filled my creds in.
So I had to manually click both the email and password field. Just click them. Then it enabled the log-in button.
So someone took their time to write a piece of JS that said "If the user hasn't focused both fields at least once, no login". Literally why? Extra code that does nothing useful.


I was hoping passkeys would be the solution to this madness, but it seems to me the entire spec gives too much power to the OS Makers and too little to the users because "mUh AtTtEsTatIoN" so now I don't know anymore

[–] Gumbyyy@lemmy.world 34 points 5 hours ago (3 children)

I've definitely run into that. Even more frustrating is when there was one particular site that forced me to actually delete the last character of my password and then retype it. Just focusing in the field wasn't enough, I had to actually send it a keystroke. And Ctrl-V to paste the password in manually didn't count. I suppose typing a random character at the end and then deleting it would have worked too.

[–] Sir_Kevin@lemmy.dbzer0.com 2 points 1 hour ago

I've seen this a stupid number of times. I wish I could remember which websites..

[–] towerful@programming.dev 12 points 4 hours ago

When ctrl+v is disabled to "prevent brute force bots" or something ridiculous

load more comments (1 replies)
[–] spizzat2@lemmy.zip 17 points 4 hours ago

My utitlies website doesn't let you login if the password field is autofilled by the browser. Whatever Angular-based form validation they are using doesn't play nice with Firefox's saved password feature. You have to manually type something in the password field, so I always add and remove a space from the password.

I sent an email to their support, hoping they would fix it, but they just responded saying that they can't reproduce it.

Well, I can reproduce it. I even told you how. That sounds like a skill issue.

load more comments (1 replies)
[–] RedSnt@feddit.dk 2 points 2 hours ago

That's the one good thing about just-eat leaving Denmark, no more having to deal with that BS.

[–] 13igTyme@piefed.social 5 points 3 hours ago* (last edited 3 hours ago) (1 children)

It's over the phone, but the "We'll send you a text to confirm your identity if you provide a phone number." Has got to be one of the stupidest wastes of time.

[–] KairuByte@lemmy.dbzer0.com 1 points 2 hours ago

I slightly appreciate it, explicitly when it’s a service that excludes voip numbers.

[–] paequ2@lemmy.today 42 points 6 hours ago (3 children)

God I hate those stupid magic links. They're WAAAAYYY slower than just using my password manager.

AND they kinda contribute to locking you into Big Tech. I sometimes have problems with those stupid links because I don't have a Gmail account. Somewhere along the stupid chain there's probably some stupid check that delays or blackholes emails to non-big-tech domains.

load more comments (3 replies)
[–] MaggiWuerze@feddit.org 183 points 8 hours ago (16 children)

Also This strange trend to split username and password on to two separate pages, or only showing the password field after confirming the username

[–] mimavox@piefed.social 1 points 39 minutes ago

Came here to say that! For the love of God, stop with this nonsense!

[–] bobo@lemmy.ml 32 points 6 hours ago (1 children)
  1. Username
  2. Password
  3. MFA
  4. Do the whole process all over again because the remember this device is on step 2 and it's impossible to go back

Bonus stage 0: special login URL decided to crap out, and going back to any point in history automatically redirects to the error page that you can't use to log in, so you need to keep going back and trying to copy the URL before it redirects becausw Firefox interprets pressing "stop" as "do whatever you want idk"

Fucking aws...

[–] Sabata11792@ani.social 16 points 5 hours ago (2 children)

You forgot step 2.5: incorrectly identifying stoplights 6 times in a row.

[–] Tonava@sopuli.xyz 2 points 2 hours ago (1 children)

Oh fuck, the stone piles -thing is the worst of those. Tiny images, badly generated so you can't see shit, multiple rounds that have six or so images each round, you can't make a single mistake, and you get to know did you make any mistakes only after completing all of the rounds. It's straight up abuse

Once I had to try over five times and still kept failing, so I just gave up. I guess I'm not a human anymore

[–] mimavox@piefed.social 1 points 40 minutes ago

It's a whole mini game sometimes. I hate them with every fiber of my being.

load more comments (1 replies)
load more comments (14 replies)
[–] baller_w@lemmy.zip 4 points 3 hours ago (1 children)

Passkeys or oauthn/fido. I just can’t believe we’re still talking about passwords in 2025 when these very robust, user friendly features have been widely available for years.

[–] EpicFailGuy@lemmy.world 2 points 3 hours ago

FIDO alliance FTW!

[–] lung@lemmy.world 68 points 7 hours ago (9 children)

HEY BUT DO YOU WANT TO USE A PASSCODE?? PASSCODE! PASSCODE! USE THE PASSCODE! -_-

load more comments (9 replies)
[–] maniclucky@lemmy.world 5 points 4 hours ago

Worst one I've seen: username and password plus a 2FA email, BUT if you hit enter instead of clicking the last button it refreshes the page.

load more comments
view more: next ›