Comments (9)
openSUSE package maintainer here. I have somehow missed this dependency and am going to fix this. Thanks for looking into it!
from yubikey-manager-qt.
Glad that helped!
We don't maintain packages for OpenSUSE, so you'd have to bring that to the OpenSUSE packagers. The Debian package that we do maintain for yubikey-manager
(the library this GUI depends on) has libykpers as a dependency.
As for your issues with using your YubiKey as a security key on the web, Yubico Support should be able to help you with that. I'd suggest that the first thing to do is make sure that the YubiKey has the FIDO U2F and FIDO2 interfaces enabled. Or perhaps you may need another client library like libu2f-host or libfido2. Anyway, Support should be able to help you with that.
from yubikey-manager-qt.
Thanks for the report! Could you try running YubiKey Manager as ykman-gui --log-level DEBUG
and post the output here?
from yubikey-manager-qt.
Output of ykman-gui --log-level DEBUG
as root:
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
error: XDG_RUNTIME_DIR not set in the environment.
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted (core dumped)
from yubikey-manager-qt.
I guess I'm just missing some required plugin as per Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
?
from yubikey-manager-qt.
It looks like you're running it in a different environment than when you got the previous error - it doesn't even start up now, right? You shouldn't need to run it as root.
from yubikey-manager-qt.
That's a good point about the environment. Running as root, both with and without the --log-level DEBUG
flag fails as per my previous message and the GUI doesn't show up at all.
However, running as non-root, plugging the yubikey in and clicking Applications -> OTP shows up with the error in the title and the following the terminal:
Got library name: "/usr/lib64/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so"
Cannot convert: QVariant(std::nullptr_t, (nullptr))
2018-11-08T14:58:02+0200 INFO [ykman.logging_setup.setup:59] Initialized logging for ykman version: 1.0.1
2018-11-08T14:58:18+0200 DEBUG [ykman.descriptor.Descriptor.open_device:75] transports: 0x7, self.mode.transports: 0x7
2018-11-08T14:58:18+0200 DEBUG [ykman.descriptor.open_device:80] Opening driver for serial: None, type: YUBIKEY.YK4, mode: OTP+FIDO+CCID
2018-11-08T14:58:18+0200 DEBUG [ykman.descriptor.open_device:82] Attempt 1 of 10
2018-11-08T14:58:18+0200 DEBUG [ykman.descriptor.open_device:86] Found driver: <ykman.driver_ccid.CCIDDriver object at 0x7fa0fbc24358>, key_type: YUBIKEY.YK4, mode: OTP+FIDO+CCID
2018-11-08T14:58:18+0200 DEBUG [ykman.device.__init__:198] Read config from device...
2018-11-08T14:58:18+0200 DEBUG [ykman.driver_ccid.send_apdu:175] SEND: b'00a4040008a000000527471117'
2018-11-08T14:58:18+0200 DEBUG [ykman.driver_ccid.send_apdu:177] RECV: b'5669727475616c206d6772202d2046572076657273696f6e20352e312e319000'
2018-11-08T14:58:18+0200 DEBUG [ykman.driver_ccid.send_apdu:175] SEND: b'001d000000'
2018-11-08T14:58:18+0200 DEBUG [ykman.driver_ccid.send_apdu:177] RECV: b'2b0102023f0302023f02040089b95804010105030501010602000007010f0801000d02023f0e02022b0a01009000'
2018-11-08T14:58:18+0200 DEBUG [ykman.device.__init__:200] Success!
2018-11-08T14:58:18+0200 DEBUG [ykman.device.__init__:284] Identified YubiKey 5
2018-11-08T14:58:18+0200 DEBUG [ykman.driver_ccid.close:216] Close <ykman.driver_ccid.CCIDDriver object at 0x7fa0fbc24358>
2018-11-08T14:58:18+0200 DEBUG [ykman.driver_ccid.__del__:220] Destroy <ykman.driver_ccid.CCIDDriver object at 0x7fa0fbc24358>
2018-11-08T14:58:18+0200 DEBUG [ykman.driver_ccid.close:216] Close <ykman.driver_ccid.CCIDDriver object at 0x7fa0fbc24358>
2018-11-08T14:58:30+0200 DEBUG [ykman.descriptor.Descriptor.open_device:75] transports: 0x1, self.mode.transports: 0x7
2018-11-08T14:58:30+0200 DEBUG [ykman.descriptor.open_device:80] Opening driver for serial: None, type: YUBIKEY.YK4, mode: OTP+FIDO+CCID
2018-11-08T14:58:30+0200 DEBUG [ykman.descriptor.open_device:82] Attempt 1 of 10
2018-11-08T14:58:30+0200 ERROR [yubikey.slots_status:154] Failed to read slot status
Traceback (most recent call last):
File "qrc:///py/yubikey.py", line 145, in slots_status
with self._open_device(TRANSPORT.OTP) as dev:
File "qrc:///py/yubikey.py", line 52, in _open_device
return self._descriptor.open_device(transports=transports)
File "/usr/lib/python3.6/site-packages/ykman/descriptor.py", line 84, in open_device
for drv in _list_drivers(transports):
File "/usr/lib/python3.6/site-packages/ykman/descriptor.py", line 142, in _list_drivers
for dev in open_otp():
File "/usr/lib/python3.6/site-packages/ykman/driver_otp.py", line 213, in open_devices
if libversion < (1, 18):
TypeError: '<' not supported between instances of 'NoneType' and 'tuple'
Thanks for helping out btw! π
from yubikey-manager-qt.
Ah, it looks like libykpers is missing on your system. Do you have that library installed?
from yubikey-manager-qt.
Aha! Installing libykpers
makes that error go away. Thank you!. I also just saw #73 .
Might be worth adding libykpers
as a dependency to this package so it automatically gets installed with yubikey-manager-qt
? I'd offer a pull request but I have absolutely no clue on how to define dependencies. (Happy to learn though)
Unfortunately, this doesn't seem to fix the issues I'm having getting the key to simply work with as a security key for an online account. I've tried Google, Github and Facebook until now. All say something cryptic like "Something went wrong..".
Any suggestions on that? Maybe a recommended way to (re)install packages required for the Yubikey to work with my system?
Thanks again!
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.