user name and passphrase dialogs accept non-ASCII characters

Bug #462634 reported by IRIE Shinsuke on 2009-10-28
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Dialogs which accept user names or passwords from the user should not allow anything else than ASCII for those fields. Currently it is possible to configure a virtual XKB layout in the X session and even enable a input method framework, like IBus, to enter arbitrary Unicode characters in these fields. This can leave the user stranded in several situations:
 * GDM does not have any input method framework enabled, the input method framework only starts within the X session, i.e. _after_ login.
 * remote logins when done from computers which don't have the necessary characters in the configured keyboard layout or the necessary input method available
 * shell logins on the console, in case X has crashed or so. By default the keyboard layout on the console cannot be switched unless you have logged into your session.
ASCII is the set of characters which always work on any keyboard by default.

This issue affects all programs which set user names and passwords and those where the user needs to type the password to unlock a service.

=== original bug report ===

Binary package hint: ibus

After upgrade to Ubuntu 9.10RC, I'm testing the IBus input method.

Then I found that IBus can be activated in the passphrase dialog such as gksudo and
screensaver, although passphrases can contain only alphabetical or numerical characters.
This behavior might make the beginners confused.

I think IBus should be disabled in such dialogs.

Arne Goetje (arnegoetje) wrote :

This is actually a more broader issue, I have changed the bug name and description accordingly.
I don't think the bug is actually in IBus, but in those programs which deal with user names and passphrases.

description: updated
summary: - IBus can be activated in passphrase dialog
+ user name and passphrase dialogs accept non-ASCII characters
affects: ibus (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Confirmed
IRIE Shinsuke (irie) wrote :

I confirmed SCIM also can be activated in gksudo dialogs and the multibyte characters can be input into the passphrase fields. However, when unlocking the screensaver, SCIM is disabled unlike IBus.

Are you still affected by this issue? Can you test in Lucid or Maverick? Thanks!

Changed in ubuntu:
status: Confirmed → Incomplete
IRIE Shinsuke (irie) wrote :

I can still input a non-ASCII password into gksu using IBus or SCIM in both Lucid and Maverick, though the language bars are intangible in Maverick.
And I can also use IBus in a dialog of Lucid's screensaver.

Changed in ubuntu:
status: Incomplete → Confirmed
Margarita Manterola (marga-9) wrote :

This bug is still present in 12.04 (precise).

Philipp Kern (pkern) wrote :

This needs to be assigned to one or multiple packages, not Ubuntu.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers