When ksshaskpass is invoked for the first time for given hostname it asks for username but shows a password field and "Remember password" checkbox. After inserting some text clicking OK it asks for password for previously inserted username. This is very misleading. I've inserted password in the first dialog, checked "Remember password" and then was surprised by the second password dialog and on top of that was unable to change username for given hostname due to checked "Remember password" checkbox (another issue fixed by going to KWalletManager 15.08 and remove given username). Reproducible: Always Steps to Reproduce: 1. Clean up your github.com ksshaskpass usernames and password in kwalletmanager 2. Git push in some project hosted on github Actual Results: Username query dialog opens with password field Expected Results: Username query dialog opens but should contain regular text field for username and maybe also password field and remember password checkbox. I have Plasma 5.5.0, KF 5.16, KDE Applications 15.08.03, Qt 5.5.1
Created attachment 96050 [details] ksshaskpass username query dialog with password field
The same happens to me. I'm on plasma 5.6.3, on openSUSE Tumbleweed.
This is still happening with ksshaskpass-5.10.5-1.fc27.x86_64
It is not possible. The ssh application calls the password UI helper ksshaskpass twice, once for the username, once for the password. You would need to use a GUI ssh application to be able to fix it.
Christoph, why would this not be possible to fix? Certainly you must agree that prompting for a password and using a password input field is not the correct way to handle a request for a username. Why can't the input type be changed based on if a username or password is being prompted for?
The windows says "Password", so I enter my password ... then the next window shows my password in plain text. For me this is a bug.