Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 85358 - Traceback if password of user being created contains non-ASCII characters
Traceback if password of user being created contains non-ASCII characters
Product: Red Hat Public Beta
Classification: Retired
Component: firstboot (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Brent Fox
Depends On:
  Show dependency treegraph
Reported: 2003-02-28 10:59 EST by Miloslav Trmac
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-28 15:15:30 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch fixing both tracebacks (801 bytes, patch)
2003-02-28 11:02 EST, Miloslav Trmac
no flags Details | Diff

  None (edit)
Description Miloslav Trmac 2003-02-28 10:59:22 EST
Description of problem:

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

Steps to Reproduce:
Insert non-ascii character to the password boxes when creating new user

Actual results:
(typed by hand, sorry about typos)
Traceback (most recent call last)
File "/usr/share/firstboot/firstbootWindow.py", line 317, in nextClicked
  result = module.apply (self.notebook)
File "/usr/share/firstboot/modules/create_user.py", line 127, in apply
  if not self.isPasswordOK(passwrd, self.passwordEntry)
File "/usr/share/firstboot/modules/create_user.py", line 224, in isPasswordOk
  if i not i in strings.ascii_letters and i not in string.digits and i not in
strings.punctuation and i not in whitespace
NameError: global name "whitespace" not defined

Fixing this leads to another traceback
(same part omitted)
File "/usr/share/firstboot/modules/create_user.py", line 225, in isPasswordOk
NameError: global name "tag" not defined
Comment 1 Miloslav Trmac 2003-02-28 11:02:41 EST
Created attachment 90426 [details]
Patch fixing both tracebacks

(Note: I've not been able to test this patch now, so please double-check.)
Comment 2 Brent Fox 2003-02-28 15:15:30 EST
I had fixed the first part a few weeks back.  I just committed the second part
to cvs.  Thanks for your report.  Should be fixed in firstboot-1.0.5-12.

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