Some CLI commands (e.g. adding OAuth2 TOTP entry) result in errors being thrown when installed version of dev-python/click is >= 8.0. This is most likely an upstream issue with newer versions of dev-python/click. ----------------- Versions Affected ----------------- =app-crypt/yubikey-manager-3.1.2 =app-crypt/yubikey-manager-4.0.0 ---------- Workaround ---------- Adding ">=dev-python/click-8.0" to "/etc/portage/package.mask" and downgrading to "=dev-python/click-7.1.2-r1" ----------------- Possible Solution ----------------- Update EBUILD dependency from "dev-python/click" to "<dev-python/click-8.0.0". However, this may lead to dependency conflicts with other packages if dev-python/click is not slotted. Reproducible: Always Steps to Reproduce: =app-crypt/yubikey-manager-3.1.2: 1. ykman oath add TestEntry =app-crypt/yubikey-manager-4.0.0: 1. ykman oath accounts add TestEntry Actual Results: =app-crypt/yubikey-manager-3.1.2: AttributeError: 'OATH_TYPE' object has no attribute 'upper' =app-crypt/yubikey-manager-4.0.0: AttributeError: 'OATH_TYPE' object has no attribute 'casefold' Expected Results: No output, TOTP entry successfully added to YubiKey Issue occurs on amd64, not tested on other platforms.
Created attachment 719412 [details] emerge --info
Created attachment 719415 [details] Output of =app-crypt/yubikey-manager-3.1.2
Created attachment 719418 [details] Output of =app-crypt/yubikey-manager-4.0.0
Should be fixed in 4.0.3, I've added 4.0.5 in commit 0d5d0d8bb02f98e5bd55a69b4a80e2a29b303e0f.