Bug 485087

Summary: "Password:" label and "Remember password" checkbox even if prompt is not a password
Product: [Applications] ksshaskpass Reporter: Jack <alphajack>
Component: generalAssignee: Jeremy Whiting <jpwhiting>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 6.0.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: "Password:" label and "Remember password" checkbox when expecting a "yes/no/fingerprint"

Description Jack 2024-04-05 15:02:24 UTC
Created attachment 168180 [details]
"Password:" label and "Remember password" checkbox when expecting a "yes/no/fingerprint"

Hi all, I don't know if this is a bug or intended behavior, but when I connected to Github's SSH server I was prompted via ksshaskpassword if I trusted their host key (yes/no/fingerprint).

The issue is that ksshaskpass has a "Password:" label, the output is obfuscated, and there is a "Remember password" checkbox.

The result is that my "yes" turns into a "***".

Not  a big deal, but I found it puzzling for a second.
Luckily the prompt was telling what options would be accepted.

Terminal log:

```
Cloning into 'repo'...
ksshaskpass: Unable to parse phrase "The authenticity of host 'github.com (140.82.121.3)' can't be established.\nED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.\nThis key is not known by any other names.\nAre you sure you want to continue connecting (yes/no/[fingerprint])? "
# accidently enters ssh key password, displayed as "********"
ksshaskpass: Unable to parse phrase "Please type 'yes', 'no' or the fingerprint: "
# enters "yes", displayed as "***"
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
```