Bug 3371 - Allow asterisks to be displayed during password input
Summary: Allow asterisks to be displayed during password input
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 8.8p1
Hardware: Other Linux
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-10 04:47 AEDT by konsolebox
Modified: 2021-12-10 04:47 AEDT (History)
0 users

See Also:


Attachments
Patch (2.66 KB, patch)
2021-12-10 04:47 AEDT, konsolebox
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description konsolebox 2021-12-10 04:47:47 AEDT
Created attachment 3557 [details]
Patch

Sudo has a feature that allows it to be configured to display * on password input.  Perhaps this can also be done in SSH.

https://github.com/lbt/sudo/blob/master/src/tgetpass.c#L267

I created a small implementation on the portable version for this.  Please see attached patch file.  Original target version was 8.6p1 but it also works with 8.8p1.  It still needs configurability.