mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-04-08 19:35:37 +02:00
There shouldn't be any "*" when entering a password or passphrase
There shouldn't be any "*" when entering a password or passphrase for better security. Linux/Unix openssh works the same way - without any "*". Great suggestion by Mark Hahnel in comments of Issue #5
This commit is contained in:
parent
de4ae13f76
commit
89452c8a2f
@ -362,7 +362,7 @@ read_passphrase(const char *prompt, int flags)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
_putch( (int) '*' ); // show a star in place of what is typed
|
//_putch( (int) '*' ); // show a star in place of what is typed
|
||||||
len++; // keep reading in the loop
|
len++; // keep reading in the loop
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user