Bug 491972

Summary: When ksshaskpass asks for username, the field is marked as password
Product: [Applications] ksshaskpass Reporter: leon.halic
Component: generalAssignee: Jeremy Whiting <jpwhiting>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dolgener, mk.mateng
Priority: NOR    
Version First Reported In: 6.1.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description leon.halic 2024-08-21 08:38:47 UTC
SUMMARY

When ksshaskpass is requested a username it pops up a input field marked as "password"  with "Remember the password" checkbox. Once the username is typed into this field, it again requests the password (now correctly). The problem with this is a user not paying complete attention (like myself) will type in a password into username field which shows the typed string in plain text which is a security issue. Additionally, the login will fail as you typed you password as you username.

This is a duplicate of a bug id=356632 which was resolved 2 years ago as "NOT A BUG". This is certainly a bug, or if this was intended behaviour then its a bad decision. Anyhow, it should be fixed.


STEPS TO REPRODUCE
1. Clean up your github.com ksshaskpass usernames and password 
2. Git push in some project on GitHub or GitLab

OBSERVED RESULT
When prompted for a username, the field is marked as password.

EXPECTED RESULT
When prompted for a username, the field is marked as username.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.3-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 dolgener 2025-09-25 12:18:23 UTC
ksshaskpass first wants to asks for the username and then for the password, but both text fields are labeled “Password:”. This is not only confusing, but also causes users to enter their password, which is then clearly visible.
It should therefore be worthwhile to repair it, especially since it should not require much effort.
Comment 2 dolgener 2025-09-25 12:24:54 UTC
(In reply to dolgener from comment #1) This is still true for:
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Actually, that's "not a bug", just a typo. But a fateful one.
Just a the label text would need to be changed. Small cause, big effect - both ways ,-)
Comment 3 michaelk83 2025-10-30 09:10:43 UTC

*** This bug has been marked as a duplicate of bug 343562 ***