this post was submitted on 24 Jun 2023
435 points (98.9% liked)

Linux

48683 readers
454 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] twitterfluechtling@lemmy.pathoris.de 3 points 2 years ago (1 children)

By which component is the password truncated on account-creation? Imo, the web UI shouldn't do that without at least warning the user. Such long passwords might be a corner-case, but if the UI changes the password in any way before submitting it to the server, I think the user should see a big fat red notification. What if an account was created using a different client? The user wouldn't be able to log in using the web-ui because the web-ui refuses to send the unmodified password?

If the password is truncated server-side during account creation, the server should do the same during login, the UI or client wouldn't even have to know about it.

[–] chaorace@lemmy.sdf.org 1 points 2 years ago

I agree that it's stupid and needs to be changed.

In any case, this is a lemmy UI thing, though the backend isn't helping when it reports a generic bad password error instead of notifying the client that the provided password was technically impossible:

  • Issue regarding the ui silently truncating the password: lemmy-ui/#1120
  • Issue regarding the backend error issue: lemmy/#3284