Bug 2143324

Summary: Please modify requires for yubikey-manager and python3-yubikey-manager to < 5.0.0
Product: [Fedora] Fedora Reporter: Gerald Cox <gbcox>
Component: yubikey-manager-qtAssignee: Jakub Jelen <jjelen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: jjelen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: yubikey-manager-qt-1.2.4-6.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-01 01:30:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gerald Cox 2022-11-16 15:54:43 UTC
Description of problem:
The new yubikey-manager 5.0 is not compatible with the current release of yubikey-manager-qt or the new yubioath-authenticator (flutter based).  


Version-Release number of selected component (if applicable):
yubikey-manager-qt-1.2.4-5.fc37.x86_64

Please change requires for python3-yubikey-manager and yubikey-manager to < 5.

This will prevent current users for upgrading to the new yubikey-manager packages and breaking their install of yubikey-manager-qt.

There is currently no schedule to upgrade yubikey-manager-qt to make it compatible.

Regarding yubioath-authenticator, since it is a flutter based application, and flutter isn't even in the Fedora repo it's going to take time to get that upgraded also (if ever).

Comment 1 Gerald Cox 2022-11-16 16:34:00 UTC
Clarification:
The new yubikey-manager 5.0 is not compatible with the current release of yubikey-manager-qt or the yubioath-authenticator prior to version 6.0.0 - the 6.0.0 version is the new flutter based application.

Comment 2 Jakub Jelen 2022-11-18 10:01:04 UTC
Lets hope the yubico will fix this in the new release soon. Adding an explicit requires when we have already new package built in distribution can be only temporary solution.

Is the following change solve the issue?

diff --git a/yubikey-manager-qt.spec b/yubikey-manager-qt.spec
index 53ea7c9..8abbf4d 100644
--- a/yubikey-manager-qt.spec
+++ b/yubikey-manager-qt.spec
@@ -21,7 +21,7 @@ BuildRequires: qt5-qtquickcontrols qt5-qtgraphicaleffects pyotherside
 BuildRequires: desktop-file-utils
 Requires:      pyotherside 
 Requires:      qt5-qtquickcontrols
-Requires:      python3-yubikey-manager
+Requires:      python3-yubikey-manager < 5
 
 %description
 Cross-platform application for configuring any YubiKey over all USB interfaces.

build looks like goes through ok, but I dont have any rawhide machine to try.

Comment 3 Gerald Cox 2022-11-18 11:14:10 UTC
That looks good, build for both F37 and rawhide and I'll test and let you know how it goes.  I've already pushed the update
for yubioath-authenticator and it prevents you from upgrading to yubikey-manager 5.0

Comment 4 Jakub Jelen 2022-11-21 15:24:43 UTC
Building in rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=94394999

Comment 5 Gerald Cox 2022-11-22 11:34:59 UTC
Hi Jakub,

I tested on rawhide and F37 and the change works fine.  
Remember, this needs to be also pushed to F37 to fix
semantic versioning so folks won't inadvertently 
upgrade to yubikey-manager 5.0

I noticed that yubikey-manager-qt is still displaying
the "W" default wayland icon.  It's an easy fix and
I'll report it to upstream so they can incorporate 
whenever they get around to doing an update.

Thanks again for your quick attention to this.

Comment 6 Fedora Update System 2022-11-22 14:52:25 UTC
FEDORA-2022-1b3a056fde has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-1b3a056fde

Comment 7 Jakub Jelen 2022-11-22 14:54:41 UTC
Done also the F37. Thanks for reminder.

Comment 8 Fedora Update System 2022-11-23 03:17:05 UTC
FEDORA-2022-1b3a056fde has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-1b3a056fde`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-1b3a056fde

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2022-12-01 01:30:14 UTC
FEDORA-2022-1b3a056fde has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.