[issue32884] Adding the ability for getpass to print asterisks when passowrd is typed

2019-06-09 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +remi.lapeyre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32884] Adding the ability for getpass to print asterisks when passowrd is typed

2019-06-05 Thread Steven D'Aprano
Steven D'Aprano added the comment: See also #36566. (Thanks Cheryl.) I think the usability improvement for this far outweigh the decrease in security. The days where somebody looking over your shoulder watching you type your password was the major threat are long gone. Hiding the length of

[issue32884] Adding the ability for getpass to print asterisks when passowrd is typed

2019-04-09 Thread Steven Vascellaro
Steven Vascellaro added the comment: @matanya.stroh: Don't forget to erase the asterisks if the user hits backspace. ``` def win_getpass(prompt='Password: ', stream=None, show_asterisks=False): """Prompt for password with echo off, using Windows getch().""" if sys.stdin is not

[issue32884] Adding the ability for getpass to print asterisks when passowrd is typed

2018-02-24 Thread R. David Murray
R. David Murray added the comment: getpass is emulating the unix password prompt behavior. I'm not sure if the complication is worth it, especially since not echoing asterisks is, as you observe, fractionally more secure. So I guess I'm about -.5 on this feature.

[issue32884] Adding the ability for getpass to print asterisks when passowrd is typed

2018-02-21 Thread Matanya Stroh
Matanya Stroh added the comment: for getpass.win_getpass() it can simply be done by adding this line msvcrt.putch("*"). So the code will look like: def win_getpass(prompt='Password: ', stream=None): """Prompt for password with echo off, using Windows getch()."""

[issue32884] Adding the ability for getpass to print asterisks when passowrd is typed

2018-02-20 Thread Matanya Stroh
New submission from Matanya Stroh : I saw some questions about it in stackoverflow (links below), and also find it very useful to have the ability to print asterisks. Some users, find it disturbing when they don't have any indication that password is typed, and it will