this post was submitted on 09 Sep 2024
585 points (99.7% liked)

Programmer Humor

19817 readers
27 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
 

Edit: @Successful_[email protected] solved it. It says "one special character". Not "at least one".

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 221 points 3 months ago (25 children)

It's fucking insane that an internet banking portal has such a low cap on max characters and such shitty rule enforcement.

[–] [email protected] 89 points 3 months ago (3 children)

Their desktop site is even more shitty. It won't allow right click or paste actions. There goes compatibility with password managers.

[–] [email protected] 57 points 3 months ago (1 children)

Bitwarden has a function where it types in (not pastes) the password and shows the prompt for it without right-click.

[–] [email protected] 17 points 3 months ago (2 children)

And even if theres an app for Windows (https://github.com/jlaundry/TypeClipboard) that can type it for you and even has a shortcut.
I am sure someone in the linux world knows an equivalent tool.
We use it at work to paste long passwords when remoting in.

load more comments (2 replies)
[–] [email protected] 38 points 3 months ago (3 children)

As a super secret dev hack may I introduce you to shift + insert a fair few sites specifically block ctrl + v instead of properly disabling the clipboard action and, of course, if you read this and then submit a Jira ticket to block shift + insert... well... h8u

[–] [email protected] 21 points 3 months ago

You can also drag the password in from another text field instead of pasting

[–] [email protected] 14 points 3 months ago (1 children)

I usually to in the developer tools and manually disable the thing preventing the paste action. It's usually a string to remove some JS or something or an Event that you need to uncheck

[–] [email protected] 18 points 3 months ago (1 children)

If you're opening up the dev tools you can also paste your string directly into <input value="" /> unless something weird is going on.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 17 points 3 months ago

Any password manager should be able to "type in" the password. Or be a browser plugin that doesn't rely on copy pasting, but use other mechanisms to inject it directly into the field.

But yes, if that's their online portal, I am not kidding I would change banks.

[–] stealth_cookies 32 points 3 months ago (1 children)

My bank's password used to have to be exactly 6 characters, no special characters and you could use numbers and letters interchangeably because it was also your phone banking password.

[–] hushable 43 points 3 months ago* (last edited 3 months ago) (1 children)

a previous bank used to have a max password length of 8 characters, then proudly announced that they will increase it to 32

Then I made a typo at the end of my password and it let me in anyway, and I realised they were just trimming the first 8 characters to give the illusion of security

[–] Wizard_Pope 15 points 3 months ago (1 children)

That is so insane. To think they would rather just clip the passwords instead of habing it be longer.

Did you try out your hypothesis by using the first 8 letters than just random junk until you hit your password length?

[–] hushable 16 points 3 months ago (2 children)

I tried then first N characters of my password until I found out the threshold was at 8, then I tried with the first 8 chartacters of my password and then random junk and it worked.

I also had two friends in the same bank to validate

[–] Wizard_Pope 12 points 3 months ago

Unbelievable.

load more comments (1 replies)
[–] [email protected] 26 points 3 months ago (1 children)

Visa has a hard limit of 8 and requires the first 4 to be numbers because the phone tree might require it as a password

The whole banking industry is ridiculous and is ridiculously legislated

load more comments (1 replies)
[–] [email protected] 18 points 3 months ago (1 children)

The ERP software I have to use has a strict limit of 6 characters as password. Only alphabet and numbers allowed.

Maybe when I leave I try an SQL injection.

[–] [email protected] 9 points 3 months ago

Bobby tables, noooooooo!

[–] [email protected] 12 points 3 months ago

I had to create an account on a government website. The website didn't list a character limit so I used a password manager to generate a 32 character password. My account was created but I couldn't log in. I used the "forgot my password" option and I received an email of my password in plain text. I also noticed why I couldn't log in. The password was truncated to just 20 characters. Brilliant website! Tax dollars at work!

load more comments (20 replies)
[–] [email protected] 120 points 3 months ago* (last edited 3 months ago) (3 children)

It says one special character, not at least one. Maybe the password has more than one.

[–] [email protected] 100 points 3 months ago (3 children)

Holy shit!! You did it. I would never expect a banking password to max special characters. I have been scratching my head with Bitwarden and this shitty app for an hour.

[–] FederatedSaint 47 points 3 months ago (4 children)

But wouldn't that mean the bottom checkbox should be cleared and the 2nd one should be checked?

Still doesn't make sense.

[–] [email protected] 23 points 3 months ago

Yeah that's true. The UI does not accurately represent the validation conditions.

[–] [email protected] 10 points 3 months ago

Yes, the 2nd one implies that there should be more than one.

load more comments (2 replies)
[–] [email protected] 17 points 3 months ago* (last edited 3 months ago)

Yeah but It still states "A combination of letters, digits and special charaters"

It should then be spelled as "A combination of letters digits, and one special character"

[–] [email protected] 11 points 3 months ago

It's like a Captcha that only lets in autistic people.

[–] [email protected] 10 points 3 months ago (1 children)

You solved the puzzle! here is a cookie for you :D 🍪

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 61 points 3 months ago (8 children)
load more comments (8 replies)
[–] [email protected] 52 points 3 months ago (1 children)

It says “one special character”. Not “at least one”.

oh. oh god. what the fuck.

load more comments (1 replies)
[–] [email protected] 45 points 3 months ago

If >1 special character is not allowed the last check should be failed . The second check is literally satisfied even if there are 2+ specials.

I'd not be using that bank.

[–] [email protected] 28 points 3 months ago (2 children)

Now imagine how many services just silently cut off your password at 8 characters and people never notice.

UltraVNC is very guilty of this.

[–] [email protected] 16 points 3 months ago

Wells Fargo cuts to 14 on their sign in page but not on their change password page, ask me how I know

[–] Buddahriffic 12 points 3 months ago (7 children)

Once upon a time, battle.net passwords weren't case sensitive. I used upper and lower case letters in my password then one day realized I didn't hit shift for one of the caps as I hit enter out of habit, but then it still let me in instead of asking for the password again.

It was disappointing because it takes more work to remove case-sensitivity than to leave it. I can't think of any good reason to remove it. At least the character limit had a technical reason behind it: having a set size for fields means your database can be more efficient. Better to use the size of a hash and not store the password in plaintext, so it's not a good reason, but at least it's a reason.

[–] [email protected] 12 points 3 months ago* (last edited 3 months ago) (2 children)

It's possible that the passwords want through an old ass cobalt system or something that forced everything to be capitalized so to solve that they made everything non case sensitive.

But even that sounds insane as the passwords should have been hashed.

load more comments (2 replies)
load more comments (6 replies)
[–] Matriks404 21 points 3 months ago (2 children)

Your Internet Banking Password should one special character (~!@#%^&*)

Great grammar on their part.

[–] WhiskyTangoFoxtrot 9 points 3 months ago

Yeah, they noticed their mistake too late, hence the expletive.

load more comments (1 replies)
[–] [email protected] 20 points 3 months ago
[–] [email protected] 16 points 3 months ago

Maybe you accidentally did a permutation instead of a combination.

[–] TheSealStartedIt 16 points 3 months ago* (last edited 3 months ago)

This was a new one for me:

this was a new one for me

Translation: Password strength: weak. Please don't use any special characters.

It was a generated 14 char password.. (╯°□°)╯︵ ┻━┻)

[–] FuglyDuck 12 points 3 months ago

My guess is they mean, one capital letter, one lower case letter, a number, and a special character

what's always amused me about these rules is that they exist because people are dumb. Technically, they lower the difficulty of the passwords slightly. ( for example, knowning that one character is a number reduces it to 10 options in stead of 10+26+26+whatever set of special characters)

anyhow. people should use password managers. just saying.

[–] [email protected] 12 points 3 months ago (2 children)

Noone should of aloud this code to go out the door. Atleast alot of other people people probably complained aswell, so your apart of a bigger group, incase you were worried.

spoilerAnd yes, this was painful to type.

[–] _stranger_ 18 points 3 months ago (1 children)
load more comments (1 replies)
[–] eclipse 18 points 3 months ago (1 children)

Your comment is painful to read.

load more comments (1 replies)
[–] [email protected] 11 points 3 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 10 points 3 months ago* (last edited 3 months ago)

Please tell me someone didn't buy software with 'atleast' spelled like that in there. Please, tell me someone tested the web app and had the brains God gave a douglas fir and knew that wasn't a word; that it was never a word; that the writer's spell check should have picked that up; that it's not been over-ruled by stupid so much that it just takes it.

[–] [email protected] 8 points 3 months ago (3 children)

Well now. When we've been enforcing password requirements at work, we've had to enforce a bizarre combination of "you must have a certain level of complexity", but also, "you must be slightly vague about what the requirements actually are, because otherwise it lets an attacker tune a dictionary attack against you". Which just strikes me as a way to piss off our users, but security team say it's a requirement, therefore, it's a requirement, no arguing.

"One" special character is crazy; I'd have guessed that was a catch-all for the other strange password requirements:

  • can't have the same character more than twice in a row
  • can't be one of the ten-thousand most popular passwords (which is mostly a big list of swears in russian)
  • all whitespace must be condensed into a single character before checking against the other rules

We've had customers' own security teams asking us if we can enforce "no right click" / "no autocomplete" to stop their users in-house doing such things; I've been trying to push back on that as a security misfeature, but you can't question the cult thinking.

load more comments (3 replies)
load more comments
view more: next ›