Red Hat Bugzilla – Bug 1011850
Weak password message looks weird when clicking “Done” once: “You have provided a weak password: None. Press done to use anyway”
Last modified: 2013-10-03 21:54:56 EDT
Created attachment 802662 [details]
When installing Fedora 20 Alpha (release), when the installation
is running, one can add a user (and/or set the root password).
When entering a weak password and clicking “Done” once, one sees
“You have provided a weak password: None. Press done to use anyway”
The “None.” looks quite weird to me.
Looking at the python code:
user.py line 546:
if pwstrength < 2:
# If Done has been clicked twice, waive the check
if self._waivePasswordClicks > 1:
elif self._waivePasswordClicks == 1:
return _("You have provided a weak password: %s. "
" Press Done again to use anyway.") % self._pwq_error
error = _("The password you have provided is weak")
error += ": %s. " % self._pwq_error
error += ". "
error += _("You will have to press Done twice to confirm it.")
it seems that self._pwq_error is “None”, which probably means that there was
no error. But displaying that Python value “None” to the user seems useless and
anaconda-20.21-1.fc20 has been submitted as an update for Fedora 20.
Package anaconda-20.21-1.fc20, pykickstart-1.99.41-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-20.21-1.fc20 pykickstart-1.99.41-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
anaconda-20.21-1.fc20, pykickstart-1.99.41-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.