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-qt: yubikey doesn't detected with error #353582

Closed
MisileLab opened this issue Nov 4, 2024 · 5 comments · Fixed by #372205
Closed

yubikey-manager-qt: yubikey doesn't detected with error #353582

MisileLab opened this issue Nov 4, 2024 · 5 comments · Fixed by #372205
Labels
0.kind: bug Something is broken

Comments

@MisileLab
Copy link
Contributor

Describe the bug

Yubikey doesn't detected with error.

Steps To Reproduce

Steps to reproduce the behavior:

  1. insert yubikey
  2. run ykman-gui

Expected behavior

Yubikey should be detected.

Screenshots

image

Additional context

log

"PyOtherSide error: Traceback (most recent call last):\n\n  File \"qrc:///py/yubikey.py\", line 53, in <module>\n    from ykman.otp import (\n\nImportError: cannot import name '_PrepareUploadFailed' from 'ykman.otp' (/nix/store/cl63jh46vfk5cr6xrp172s44zvlbk69p-python3.12-yubikey-manager-5.5.1/lib/python3.12/site-packages/ykman/otp.py)\n"
qml: Cannot import module: yubikey (Traceback (most recent call last):

  File "qrc:///py/yubikey.py", line 53, in <module>
    from ykman.otp import (

ImportError: cannot import name '_PrepareUploadFailed' from 'ykman.otp' (/nix/store/cl63jh46vfk5cr6xrp172s44zvlbk69p-python3.12-yubikey-manager-5.5.1/lib/python3.12/site-packages/ykman/otp.py)
)
"PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
qml: Function not found: 'yubikey.init' (Traceback (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'yubikey' is not defined
)
"PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
qml: Function not found: 'yubikey.controller.refresh' (Traceback (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'yubikey' is not defined
)
qml: qrc:/qml/YubiKey.qml:208: TypeError: Cannot read property 'success' of undefined

Notify maintainers

@avdv

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.6, NixOS, 24.11 (Vicuna), 24.11.20241104.8a759c9`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.10`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/2fj8ibynfsmpbrrj3zvqhp84zx50gdfr-source`

Add a 👍 reaction to issues you find important.

@MisileLab MisileLab added the 0.kind: bug Something is broken label Nov 4, 2024
@avdv
Copy link
Member

avdv commented Nov 4, 2024

This seems to be related to #345391

From the yubikey-manager-qt github project:

This project is no longer under active development. We recommend Yubico Authenticator to configure a YubiKey.

@MisileLab
Copy link
Contributor Author

MisileLab commented Nov 4, 2024

This seems to be related to #345391

From the yubikey-manager-qt github project:

This project is no longer under active development. We recommend Yubico Authenticator to configure a YubiKey.

then can we drop package like #353156 (or gives warning to user)

@Frontear
Copy link
Member

Frontear commented Nov 4, 2024

Definitely good idea to mark as broken. If this hasnt been done in the next few hours I'll send a PR

@Pandapip1
Copy link
Contributor

Might be worth marking it as insecure instead. Users trust their yubikeys, and any software that interacts with them should be kept up-to-date. This has been deprecated by yubioath-flutter, and therefore shouldn't be used anymore.

@avdv
Copy link
Member

avdv commented Jan 14, 2025

Might be worth marking it as insecure instead. Users trust their yubikeys, and any software that interacts with them should be kept up-to-date. This has been deprecated by yubioath-flutter, and therefore shouldn't be used anymore.

Good call. Done in #372205

SuperSandro2000 pushed a commit to avdv/nixpkgs that referenced this issue Mar 23, 2025
Fixes NixOS#353582

The upload functionality was removed in an upstream dependency, so importing the
types failed and caused an error.

See Yubico/yubikey-manager-qt#364 (comment)
SuperSandro2000 pushed a commit to SuperSandro2000/nixpkgs that referenced this issue Mar 23, 2025
Fixes NixOS#353582

The upload functionality was removed in an upstream dependency, so importing the
types failed and caused an error.

See Yubico/yubikey-manager-qt#364 (comment)
andrew-field pushed a commit to andrew-field/alterware that referenced this issue Mar 23, 2025
Fixes NixOS#353582

The upload functionality was removed in an upstream dependency, so importing the
types failed and caused an error.

See Yubico/yubikey-manager-qt#364 (comment)
SuperSandro2000 pushed a commit to SuperSandro2000/nixpkgs that referenced this issue Mar 24, 2025
Fixes NixOS#353582

The upload functionality was removed in an upstream dependency, so importing the
types failed and caused an error.

See Yubico/yubikey-manager-qt#364 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
4 participants