Bug 1002426 - Password input for both the root password and when creating a user in anaconda is *very* slow
Summary: Password input for both the root password and when creating a user in anacond...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cracklib
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-29 07:47 UTC by Mike FABIAN
Modified: 2013-09-02 14:23 UTC (History)
13 users (show)

Fixed In Version: cracklib-2.9.0-4.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-29 14:02:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
password-input-extremely-slow.ogv (4.45 MB, video/ogg)
2013-08-29 07:47 UTC, Mike FABIAN
no flags Details

Description Mike FABIAN 2013-08-29 07:47:39 UTC
Created attachment 791629 [details]
password-input-extremely-slow.ogv

Fedora 20 Alpha TC2 netinstall in qemu:

    ionice -c 3 qemu-kvm -enable-kvm -m 2048M -smp 4 -drive file=./Fedora-20-Alpha-TC2-x86_64-netinst.iso.qcow2,index=0,media=disk,cache=unsafe -localtime -serial file:/tmp/qemu-Fedora-20-Alpha-TC2-x86_64-netinst.iso.qcow2-output.log -name Fedora-20-Alpha-TC2-x86_64-netinst.iso.qcow2 -cdrom /local/mfabian/iso/Fedora-20-Alpha-TC2/Fedora-20-Alpha-TC2-x86_64-netinst.iso -boot c -spice port=6000,disable-ticketing -vga cirrus -display vnc=:4 -net nic -net user,hostname=Fedora-20-Alpha-TC2-x86_64-netinst.iso.qcow2,hostfwd=tcp::5556-:22 -monitor stdio -usb

I selected “Japanese” on the first screen, accepted all other defaults
and started the installation.

While the installation was running, I used two buttons above the progress
bar to enter a root password and to create a user.

Both for entering the root password and the user password, typing is 
*extremely* slow.

When I create the user, I can type fast in the fields for the full
user name and the account name.

But typing some stuff into the password field is very slow.

It is especially easy to notice when typing a long password fast,
deleting it, and typing it again.

See the attached video.

The long pauses in the video, where nothing seems to happen,
are when I am waiting that the keys I have already typed 
occur in the password entry field.

You can see that when I deleted everything in the top one of the 2 password
fields again and type 

   testing

it stops at

   ••••i

and after a *very* long pause, the “ng” characters finally appear as well.

After that I quickly try to type some more characters, again they
appear only after a long wait.

Comment 1 David Shea 2013-08-29 13:59:32 UTC
The delay is due to the cracklib package changing to compressed dictionaries  and libpwquality decompressing it on each check() call.


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