bugzilla-daemon at mindrot.org
2020-Oct-27 09:05 UTC
[Bug 3225] New: usernames and passwords aren't encoded to system locale
https://bugzilla.mindrot.org/show_bug.cgi?id=3225 Bug ID: 3225 Summary: usernames and passwords aren't encoded to system locale Product: Portable OpenSSH Version: -current Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: Miscellaneous Assignee: unassigned-bugs at mindrot.org Reporter: ossman at cendio.se SSH uses UTF-8 on the wire for usernames and passwords, which means it can handle pretty much anything. However to make use of those sshd needs to pass them on to the system via NSS and PAM. Those APIs are unfortunately poorly specified when it comes to encoding, but are likely using the local system locale. Unfortunately OpenSSH doesn't do any conversion, so effectively only supporting systems with a UTF-8 locale. This bug is severely mitigated by the fact that most people stick to the ASCII subset for usernames and passwords, and that these days most systems have a UTF-8 locale. However this is not always the case so it would be nice if those users could also use OpenSSH. (the same bug is likely in the client when sending the data) -- You are receiving this mail because: You are watching the assignee of the bug.
Reasonably Related Threads
- [Bug 2959] New: Disabling just rsa-sha2-512 breaks public key authentication
- [Bug 2089] New: filter out bad host key algorithms
- [Bug 1579] New: long usernames get truncated and fail to log in
- [Bug 2104] New: Windows/win32/mingw support
- [Bug 2077] New: avoid duplicating ".ssh" in a butt-load of defines