this post was submitted on 26 Sep 2024
549 points (99.3% liked)

Technology

60123 readers
5102 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
 

Here is the text of the NIST sp800-63b Digital Identity Guidelines.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] portifornia 1 points 3 months ago (1 children)

I'm with you, despite seeing lemmings downvote the heck out of your comment ๐Ÿ˜ข

The reason, and specifically for whitespace at the beginning or end of a password, is that a lot of users copy-paste their passwords into the form, and for various reasons, whitespace can get pasted in, causing an invalid match. No bueno.

Source: I'm a web developer who has seen this enough times that we had to implement a whitespace-trim validation for both setting & entering passwords.

[โ€“] orclev 7 points 3 months ago

Trimming whitespace from the start and end of a password is fine but you absolutely should not remove whitespace from the middle of a password.