Comments (10)
Hello,
1.2.5 has just been released and is compatible with ykman 5.0.1.
from yubikey-manager-qt.
While it doesn't solve the actual problem, creating a python virtual environment, installing yubikey-manager 4 and starting ykman-gui inside that environment, works for now:
python -m venv .venv
source .venv/bin/activate
pip install yubikey-manager==4.0.9
For now I use the following script inside the venv to start ykman-gui:
#!/usr/bin/bash
source .venv/bin/activate
ykman-gui
deactivate
from yubikey-manager-qt.
Looking at https://github.com/archlinux/svntogit-community/commits/packages/yubikey-manager/trunk, Arch Linux downgraded the yubikey-manager package back to 4.0.9. This should fix the problem for Arch based distros for now.
from yubikey-manager-qt.
#320 occurs from misconfiguration of the Python environment, this issue occurs because of the incompatibility with the newly released ykman 5.
from yubikey-manager-qt.
The ykman CLI project uses semantic versioning, and the major number increase from 4 to 5 signals backwards incompatible changes. yubikey-manager-qt requires ykman 4.x. and any packaging of the yubikey-manager-qt needs to ensure this.
from yubikey-manager-qt.
Any idea when this will be upgraded for ykman 5. This will be another blocker for Fedora.
from yubikey-manager-qt.
Hi, I can confirm that on Arch the Qt apps are broken.
My relevant logs are:
Oct 29 18:18:08 archpc yubioath-desktop[5437]: "PyOtherSide error: Traceback (most recent call last):\n\n File \"qrc:///py/yubikey.py\", line 23, in <module>\n from ykman.device import scan_devices, list_all_devices, connect_to_device, get_name, read_info\n\nImportError: cannot import name 'connect_to_device' from 'ykman.device' (/usr/lib/python3.10/site-packages/ykman/device.py)\n"
Oct 29 18:18:08 archpc yubioath-desktop[5437]: Unhandled PyOtherSide error: Cannot import module: yubikey (Traceback (most recent call last):
File "qrc:///py/yubikey.py", line 23, in <module>
from ykman.device import scan_devices, list_all_devices, connect_to_device, get_name, read_info
ImportError: cannot import name 'connect_to_device' from 'ykman.device' (/usr/lib/python3.10/site-packages/ykman/device.py)
)
Oct 29 18:18:08 archpc yubioath-desktop[5437]: "PyOtherSide error: Traceback (most recent call last):\n\n File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
Oct 29 18:18:08 archpc yubioath-desktop[5437]: Unhandled PyOtherSide error: Function not found: 'yubikey.init' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'yubikey' is not defined
)
Oct 29 18:18:08 archpc yubioath-desktop[5437]: "PyOtherSide error: Traceback (most recent call last):\n\n File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
Oct 29 18:18:08 archpc yubioath-desktop[5437]: Unhandled PyOtherSide error: Function not found: 'yubikey.controller.check_descriptors' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'yubikey' is not defined
)
Oct 29 18:18:08 archpc yubioath-desktop[5437]: qml: TypeError: Cannot read property 'success' of undefined undefined
Oct 29 18:18:08 archpc yubioath-desktop[5437]: "PyOtherSide error: Traceback (most recent call last):\n\n File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
Oct 29 18:18:08 archpc yubioath-desktop[5437]: Unhandled PyOtherSide error: Function not found: 'yubikey.controller.is_win_non_admin' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'yubikey' is not defined
)
This breaks yubikey-manager as well. It seems like the core problem is that the correct Python module can not be imported: Unhandled PyOtherSide error: Cannot import module: yubikey
My relevant package versions are:
yubico-c 1.13-6
yubico-c-client 2.15-5
yubico-pam 2.27-2
yubikey-full-disk-encryption r150.2c5fdf3-1
yubikey-manager 5.0.0-1
yubikey-manager-qt 1.2.4-1
yubikey-personalization 1.20.0-3
yubikey-personalization-gui 3.1.25-2
python 3.10.8-2
from yubikey-manager-qt.
Seems to be the same thing as #320 .
from yubikey-manager-qt.
Any idea when this will be upgraded for ykman 5. This will be another blocker for Fedora.
Unfortunately I don't have a date for that, nothing scheduled right now. If I were to make a guess I'd say sometime in Q1 of next year, but don't hold me to that!
from yubikey-manager-qt.
This issue should be closed as far as I understand.
from yubikey-manager-qt.
Related Issues (20)
- Any status on new version to be compatible with yubikey-manager 5.0? HOT 3
- Cannot run ykman cli under another user context HOT 2
- ykman piv import keys not importing HOT 2
- Unknown error: APDU error: SW = 0x6f00 HOT 1
- Malformed certificates in version 1.2.5 HOT 2
- missing Symbol: Py_AddObject
- Applications>PIV tab throws `qml: Unmapped error: null __enter__` if pcscd service not running. HOT 5
- Canβt access Manager PIV Application on MacOS intel but on Apple Silicon always returns unable to connect HOT 3
- [Linux] Yubikey manager doesn't detect Yubikey
- 1
- Still no Apple Silicon support?? (M1/M2 ARM) HOT 1
- [Feature Request] Export Certificate Public Key to OpenSSH AuthorizedKeys Format
- Country name must be a 2 character country code HOT 2
- Invalid password or PKCS12 data
- "ERROR: Unable to list devices for connection" and "PC/SC" warning in ykman HOT 3
- Static Password, impossible symbol notice
- The GUI application does not work when built from release tarball with python 3.12 HOT 14
- Distribute the macOS .app directly
- OpenSSL dependency need bump - contains active vulnrability. HOT 1
- cli can find Yubikey but not GUI HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yubikey-manager-qt.