[Jds-team] [OpenIndiana Distribution - Bug #1048] (Feedback) getpass.getpass python function doesn't hide input

illumos project 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
https://www.illumos.org/issues/1048

Author: Tim Sarbin
Status: Feedback
Priority: Normal
Assignee: OI JDS
Category: Desktop (JDS)
Target version: oi_151_stable
Difficulty: Medium
Tags: python


The following code should print "Password: "  on the command line, then get user text input without displaying it on the screen.

<pre>
import getpass
passStr = getpass.getpass("Password: ")
</pre>

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 mailing list