[Jds-team] [OpenIndiana Distribution - Bug #1048] (Feedback) getpass.getpass python function doesn't hide input
devnull at illumos.org
Wed Sep 21 03:16:13 UTC 2011
Issue #1048 has been updated by Albert Lee.
Category changed from SFW (Solaris Freeware) to Desktop (JDS)
Status changed from Resolved to Feedback
Assignee changed from Ken Mays to OI JDS
% Done changed from 100 to 80
Ken Mays wrote:
> Tim - please use the runtime/python-32 package in our SFE repo for serious Python development.
That is utterly wrong.
However, I cannot reproduce this problem in oi_151a, using gnome-terminal with TERM=xterm or TERM=xterm-color and tmux with TERM=screen. This could have been resolved in a terminfo update. Please test this on oi_151a.
Bug #1048: getpass.getpass python function doesn't hide input
Author: Tim Sarbin
Assignee: OI JDS
Category: Desktop (JDS)
Target version: oi_151_stable
The following code should print "Password: " on the command line, then get user text input without displaying it on the screen.
passStr = getpass.getpass("Password: ")
It does hide input initially, but on pressing Enter, it then writes the entire password to the screen. (Expected output is nothing at all).
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account
More information about the Jds-team