New submission from Steven Vascellaro <stevois...@gmail.com>:

Support password masking in getpass.getpass()

Currently, getpass.getpass() hides all user input when entering a password. 
This can throw off non-Unix users who are used to passwords being masked with 
asterisks *. This has led some users to write their own libraries for this 
functionality.

Proposal:

- Add an optional argument to `getpass.getpass()` for a character to mask user 
input

Usage Example:

> import getpass
> password = getpass.getpass(mask='*')
Password: **********
> password = getpass.getpass()
Password:

----------
components: Library (Lib)
messages: 339671
nosy: stevoisiak
priority: normal
severity: normal
status: open
title: Support password masking in getpass.getpass()
type: enhancement
versions: Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36566>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to