Best practice prompting for password
GiBo
gibo at gentlemail.com
Fri Sep 7 09:06:57 EDT 2007
Hi,
what's the best practice to securely prompt user for password on console
in Python? IIRC some programs like SSH do a lot to ensure that the input
comes from TTY and is not redirected from somewhere and several other
checks. In the case of OpenSSH even the password prompt is always
displayed regardless if the output is redirected to a file or not.
Any pointers to best practice or code snippet of python password prompt?
Thanks
Gibo
More information about the Python-list
mailing list