Best practice prompting for password
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Fri Sep 7 20:42:40 EDT 2007
In message <mailman.219.1189171663.2658.python-list at python.org>, GiBo wrote:
> 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.
Does it? Why bother?
It's not where the password comes _from_ that you have to be careful about,
it's what you do with it after you get it.
More information about the Python-list
mailing list