Bug 485087 - "Password:" label and "Remember password" checkbox even if prompt is not a password
Summary: "Password:" label and "Remember password" checkbox even if prompt is not a pa...
Status: REPORTED
Alias: None
Product: ksshaskpass
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.0.3
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-05 15:02 UTC by Jack
Modified: 2024-04-05 15:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
"Password:" label and "Remember password" checkbox when expecting a "yes/no/fingerprint" (117.24 KB, image/png)
2024-04-05 15:02 UTC, Jack
Details

Note You need to log in before you can comment on or make changes to this bug.
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.
```