Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YubiKey Manager feels unreponsive and doesn't disable UI elements on long running background tasks #331

Open
Mr-nUUb opened this issue Jan 17, 2023 · 2 comments

Comments

@Mr-nUUb
Copy link

Mr-nUUb commented Jan 17, 2023

  • YubiKey Manager version: 1.2.4
  • How was it installed?: pacman -Syu --needed yubikey-manager-qt
  • Operating system and version: Arch Linux Rolling (updated 16.01.2023)
  • YubiKey model and version: YubiKey 5C NFC, Firmware 5.4.3
  • Bug description summary: YubiKey Manager seems unresponsive after clicking buttons to configure YubiKey. Please update UI to show a spinner and a message like "Configuring, please wait...".

Steps to reproduce

  1. Open YubiKey Manager
  2. Select "Applications / OTP"
  3. Select a slot to configure
  4. Run through the assistant
  5. Click "Finish". Now the UI hangs for a several seconds.

  1. Open YubiKey Manager
  2. Select "Applications / OTP"
  3. Select a slot to configure
  4. Select "Static Password"
  5. Click "Generate". Now the UI hangs for a several seconds.

Expected result

At least UI elements should be disabled. I generated multiple passwords because I thought the click wasn't registered. The UI feels sluggish in general.

Actual results

The UI should respond immediately to user actions. If a long running task is performed in the background, UI elements should be disabled and an indicator should be shown.

Other info

[Anything else you would like to add?]

@fdennis
Copy link
Contributor

fdennis commented Mar 22, 2023

Hi,
We have released a newer version - 1.2.5. Feel free to try it out and please let us know if this is still an issue.

@JDThralls
Copy link

This is still an issue.

The GUI takes seemingly forever to load and set anything and while it does, it does not give you any feedback in its current state.

For the PIV settings, this even leads to PIN attempts being exhausted as sometimes the first click on applying settings does not actually do anything (but there is no response from the GUI, I just simultaneously check the current settings using the CLI), so the user tends to press the button to apply the settings multiple times, potentially queuing multiple commands, exhausting their PIN usages (as changing their PIN from an old PIN also exhausts the PIN usages when the old PIN is wrong).

I have tried it with both the AppImage and with the package in the pacman repositories.

Tested the same functionality on a MacBook Pro (Apple Silicon M3 Pro, using Rosetta to run the app) and it works fine there, with the same Yubikey (5C NFC, Firmware version 5.4.3).

The interesting part here might be that long-running background tasks only run for a long time in the GUI, the CLI reflects the changes immediately, thus (I would guess) it is likely an issue with the task processing in the GUI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants