With app-crypt/yubikey-manager-5.0.0 installed, yubioath-desktop-5.1.0-r2 does not recognize the YubiKey device even if it is plugged. With app-crypt/yubikey-4.0.8, it works as expected. So yubioath-desktop-5.1.0-r2 should depend on `<app-crypt/yubikey-manager-5.0.0`. This already seems to be reported to upstream but it won't be fixed, so the dependency version will only matter. > We don't really intend to make Yubico Authenticator 5 compatible with ykman 5, as our efforts are on getting Yubico Authenticator 6 done. > > --- https://github.com/Yubico/yubikey-manager/issues/523#issuecomment-1285985218 Reproducible: Always Steps to Reproduce: 1. Install app-crypt/yubikey-manager-5.0.0 and app-crypt/yubioath-desktop-5.1.0-r2. 2. Run yubioath-desktop command. Actual Results: Qt reports the error, and does not recognize the YubiKey device after it is plugged. Expected Results: yubioath-desktop recognize the YubiKey device when it is plugged. The console log from yubioath-desktop command with yubikey-manager-5.0.0, i.e. when NOT working as expected: ``` $ yubioath-desktop Got library name: "/usr/lib64/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so" qrc:/qml/main.qml:305:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 7. Use 'sequences: [ <key> ]' to bind to all of them. qrc:/qml/main.qml:297:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 9. Use 'sequences: [ <key> ]' to bind to all of them. QSystemTrayIcon::setVisible: No Icon set Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations. Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations. "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" 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) ) "PyOtherSide error: Traceback (most recent call last):\n\n File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n" 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 ) "PyOtherSide error: Traceback (most recent call last):\n\n File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n" 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 ) "PyOtherSide error: Traceback (most recent call last):\n\n File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n" 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 ) qml: TypeError: Cannot read property 'success' of undefined undefined qml: TypeError: Cannot read property 'winNonAdmin' of undefined undefined ``` The console log from yubioath-desktop command with yubikey-manager-4.0.8, i.e. when working as expected: ``` $ yubioath-desktop Got library name: "/usr/lib64/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so" qrc:/qml/main.qml:305:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 7. Use 'sequences: [ <key> ]' to bind to all of them. qrc:/qml/main.qml:297:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 9. Use 'sequences: [ <key> ]' to bind to all of them. QSystemTrayIcon::setVisible: No Icon set Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations. Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations. ``` emerge --info: ``` Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/amd64/17.1/systemd, gcc-12, glibc-2.36-r5, 6.0.8-gentoo x86_64) ================================================================= System uname: Linux-6.0.8-gentoo-x86_64-AMD_Ryzen_9_7950X_16-Core_Processor-with-glibc2.36 KiB Mem: 32001128 total, 23062428 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 13 Nov 2022 02:16:51 +0000 Head commit of repository gentoo: 18f2b9ece1d274afc02ba2c409d47b0d5462f012 Head commit of repository gentoo-zh: c13a4dbe35ac75439d002c39cdb7da03f039c5c9 Timestamp of repository guru: Thu, 10 Nov 2022 20:06:16 +0000 Head commit of repository guru: ef4091d2d47016cb377f1a6a01d63281eec9ca85 Timestamp of repository haskell: Wed, 09 Nov 2022 00:01:57 +0000 Head commit of repository haskell: 3b4fec74d81f94bf3e99b9c094e280038842b65a Head commit of repository lo48576: 59eb59852fbc384a25590a16afb69592887c19b4 sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.39 p5) 2.39.0 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-lang/perl: 5.36.0-r1::gentoo dev-lang/python: 3.10.8_p3::gentoo, 3.11.0_p2::gentoo dev-lang/rust: 1.65.0::gentoo dev-util/cmake: 3.24.3::gentoo dev-util/meson: 0.64.0::gentoo sys-apps/baselayout: 2.9::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 252.1::gentoo sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r4::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.39-r4::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 14.0.6-r1::gentoo, 15.0.4::gentoo sys-devel/gcc: 11.3.1_p20221007::gentoo, 12.2.1_p20221008::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/lld: 14.0.6-r1::gentoo sys-devel/llvm: 14.0.6-r2::gentoo, 15.0.4::gentoo sys-devel/make: 4.4::gentoo sys-kernel/linux-headers: 6.0::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r5::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git sync-user: portage priority: -1000 eclass-overrides: lo48576 sync-git-verify-commit-signature: true gentoo-zh location: /var/db/repos/gentoo-zh sync-type: git sync-uri: https://github.com/microcai/gentoo-zh.git masters: gentoo priority: -100 eclass-overrides: lo48576 guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo eclass-overrides: lo48576 haskell location: /var/db/repos/haskell sync-type: git sync-uri: https://github.com/gentoo-mirror/haskell.git masters: gentoo eclass-overrides: lo48576 lo48576 location: /var/db/repos/lo48576 sync-type: git sync-uri: https://github.com/lo48576/lo48576-portage-overlay.git masters: gentoo priority: 100 eclass-overrides: lo48576 Installed sets: @fav/fonts, @packages/ansible, @packages/pipewire, @purpose/yubikey, @purpose/zeroconf, @system/core, @system/filesystem, @system/gentoo-utils, @system/xorg-basic-utils ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-march=native -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS=" https://ftp.iij.ad.jp/pub/linux/gentoo https://ftp.riken.jp/Linux/gentoo https://ftp.jaist.ac.jp/pub/Linux/Gentoo http://ftp.iij.ad.jp/pub/linux/gentoo http://ftp.riken.jp/Linux/gentoo http://ftp.jaist.ac.jp/pub/Linux/Gentoo " INSTALL_MASK=" /usr/bin/netaddr" LANG="ja_JP.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j32" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/zsh" USE="X aac acl acpi alsa amd64 apparmor avif bluetooth bluray bzip2 cairo cdr cjk cli crypt css curl dbus dri dvd dvdr egl exif ffmpeg flac fontconfig fortran gdbm gmp gnome-keyring gtk iconv icu inotify ipv6 jpeg jpeg2k lame libglvnd libnotify libtirpc linguas_en linguas_ja luajit lzma m17n-lib matroska mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp opus pam pcre pipewire png policykit pulseaudio readline screencast seccomp split-usr sqlite ssl startup-notification systemd taglib test-rust theora threads tiff tls truetype udev udisks unicode upower usb vaapi vorbis vulkan wavpack wayland wifi xattr xft xinerama zeroconf zlib zsh-completion zstd" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en ja" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby31" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ```
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7d974a6f8c7d904bcf39fbe3f88273098086e86 commit a7d974a6f8c7d904bcf39fbe3f88273098086e86 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2022-11-14 09:21:10 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2022-11-14 11:05:51 +0000 app-crypt/yubioath-desktop: block >=app-crypt/yubikey-manager-5.0.0 Does not and will not work on this major branch, see https://github.com/Yubico/yubikey-manager/issues/523#issuecomment-1285985218 Closes: https://bugs.gentoo.org/881159 Signed-off-by: Marek Szuba <marecki@gentoo.org> ...oath-desktop-5.1.0-r2.ebuild => yubioath-desktop-5.1.0-r3.ebuild} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)