"Enter password" prompt should not print stars, or erase them on enter

Bug #653438 reported by Clint Byrum
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Andrew Hutchings
Fix Released
Andrew Hutchings

Bug Description

[clint@xen ~]$ drizzledump -p 3306 -h -u root --all-databases --password --destination-type=database --destination-host= --destination-port=3307 --verbose
Enter password: ******
-- Connecting to using protocol MySQL...

You now know that my password is 6 characters long.

The best solution (but least user friendly) is to not print anything.

If you must print stars, you can print a whole bunch after pressing enter up to a standard length. This way in a raw dump from the terminal, you always get the same number of *'s.

The least desirable solution would be to erase them. This would do nothing to obscure it if somebody has a terminal output scrape (such as one might get from running the program 'script').

Related branches

Changed in drizzle:
assignee: nobody → Andrew Hutchings (linuxjedi)
importance: Undecided → Medium
milestone: none → 2010-10-11
status: New → Triaged
Changed in drizzle:
milestone: 2010-10-11 → 2010-10-25
Changed in drizzle:
status: Triaged → Fix Committed
Changed in drizzle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers