Bug 135966 - Password entry from a locked screen takes Escape key as input
Summary: Password entry from a locked screen takes Escape key as input
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xscreensaver
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-15 22:25 UTC by Dave Malcolm
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-08-31 21:51:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Ignore unprintable characters (697 bytes, patch)
2005-08-31 21:47 UTC, Ray Strode [halfline]
no flags Details | Diff

Description Dave Malcolm 2004-10-15 22:25:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041002
Firefox/0.10.1

Description of problem:
When I've locked the screen, I typically press the Escape key to stop
the screensaver, and trigger the password entry/unlock screen dialog.



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. lock the screen
2. watch the screensaver 
3. press escape
    

Actual Results:  An asterisk is added to the password entry field; it
appears that the escape character has been typed as the first
character of my password

Expected Results:  Can the escape key ever be a valid password
character?  I don't believe so. I'd like to use it to simply get rid
of the screensaver and get to the unlock screen dialog.

Additional info:

Comment 1 Dave Malcolm 2004-10-15 22:33:24 UTC
The tab key also generate an asterisk when typed in this dialog;
should it?

Comment 2 Jamie Zawinski 2005-02-28 04:07:48 UTC
It's unclear to me what characters can be used in passwords.
What characters does the "passwd" program accept?  I think it
depends on what your stty settings are...

Does Gnome have a GUI for changing your password?
If so, what characters does it accept?

Comment 3 Dave Malcolm 2005-02-28 18:40:15 UTC
What characters does gdm accept?  It looks like it's using a regular GTKEntry
widget to me, so it appears that we're already restricting passwords to those
strings typable here.  (can I type random unicode characters into the entry field?)

Comment 4 Ray Strode [halfline] 2005-02-28 19:57:45 UTC
The only illegal characters a unix password can have are newline and nul.  Note
most gui programs are going to strip out random escape sequences, tabs, etc, and
different console programs are going to interpret those types of characters
differently, so users who do put funky characters in their passwords probably
already have broken systems.  I think it's pretty safe to assume unprintable
characters are off limits (except space).

Comment 5 Ray Strode [halfline] 2005-08-31 21:45:25 UTC
This should be fixed in tomorrow's rawhide

Comment 6 Ray Strode [halfline] 2005-08-31 21:47:28 UTC
Created attachment 118321 [details]
Ignore unprintable characters

Hi Jamie,

Above is the patch I commited to rawhide.


Note You need to log in before you can comment on or make changes to this bug.