Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1655888 - Yubikey-desktop should user newer yubikey-manager
Summary: Yubikey-desktop should user newer yubikey-manager
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yubioath-desktop
Version: rawhide
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: ---
Assignee: Gerald Cox
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1667536 (view as bug list)
Depends On: 1662693
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-04 08:17 UTC by Gregory Orciuch
Modified: 2019-02-21 14:46 UTC (History)
6 users (show)

Fixed In Version: yubioath-desktop-4.3.5-3.gitd1187b6.fc28 yubioath-desktop-4.3.5-3.gitd1187b6.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-18 02:13:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Restored missing FILES directory from 1.0.0 tarball (deleted)
2018-12-22 20:46 UTC, Gerald Cox
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/Yubico yubioath-desktop issues 318 0 None None None 2020-02-07 07:42:05 UTC

Description Gregory Orciuch 2018-12-04 08:17:08 UTC
Description of problem:
On F29 stable the yubikey-desktop does not connect with the device, that is due because of using to old yubikey manager package.
An error shown in logs is like:
"PID does not match. Want: PID.YK4_OTP_U2F_CCID, got: PID.YK4_OTP_CCID"

The bug is logged on yubioath-desktop where guys there suggest to post in on Fedora bugs too.
Link to their bug :https://github.com/Yubico/yubioath-desktop/issues/318 


Version-Release number of selected component (if applicable):
Yubico Authenticator version: 4.3.3 (yubioath-desktop-4.3.3-2.fc29.x86_64)
Operating system and version: Fedora 29
YubiKey model and version: yubikey 4

How reproducible:
Just try to use yubikey 4 with yubioath-desktop on F29

Steps to Reproduce:
1. Insert key to usb
2. Open YubiOath-Desktop
3. YubiOath-Desktop will  never connect to the device.

Actual results:
Errors in logs: PID does not match. Want: PID.YK4_OTP_U2F_CCID, got: PID.YK4_OTP_CCID

Expected results:
Should just use the device of yubikey4


Additional info:
Essence of the bugfix is the comment there on github
: "I would suggest filing a bug with the packaging directly. My recommendation would be to package yubioath-desktop 4.3.4 together with yubikey-manager 1.0.1. That is the combination we currently have in the Ubuntu PPA"

Comment 1 Gerald Cox 2018-12-22 02:58:21 UTC
Problem is also occurring with Yubikey 5 NFC.  Needs to get fixed since this is affecting all new Yubikeys.

Comment 2 Gerald Cox 2018-12-22 04:50:18 UTC
You also need to add a REQUIRES to yubikey-manager for python3-fido2

Comment 3 Gerald Cox 2018-12-22 20:46:57 UTC
Created attachment 1516274 [details]
Restored missing FILES directory from 1.0.0 tarball

See:
https://github.com/Yubico/yubikey-manager/issues/159

Comment 4 Gerald Cox 2018-12-22 20:54:33 UTC
There is an error in the 1.0.1 yubikey manager tarball, you can either rebuild manually or use the attachment.

I've rebuilt and tested 4.3.4 yubioath-manager.  I've noticed a few things in the spec file.  Correct me
if I'm wrong but you don't need to include yubikey-manager or qt-solutions.  yubikey-manager is a separate rpm and
qt-solutions isn't needed.  I removed both and restructured to use the released version and all is working fine.
In fact, now the correct release is displaying.  Previously, it did not.

Here are the changes:

%global debug_package %{nil}

Name:           yubioath-desktop
Version:        4.3.4
Release:        1%{?dist}
Summary:        Yubikey tool for generating OATH event-based HOTP and time-based TOTP codes

License:        BSD
URL:            https://github.com/Yubico/yubioath-desktop
Source0:        https://github.com/Yubico/%{name}/archive/%{name}-%{version}.tar.gz

BuildRequires:          qt5-qtbase-devel qt5-qtdeclarative-devel qt5-qtsvg-devel gcc-c++ python2 python-unversioned-command desktop-file-utils

Requires:               pyotherside qt5-qtdeclarative qt5-qtquickcontrols pcsc-lite-ccid yubikey-manager
Requires:               python3-fido2
Requires(post):         desktop-file-utils
Requires(postun):       desktop-file-utils

%description
The Yubico Authenticator is a graphical desktop tool and CLI for generating
Open AuTHentication (OATH) event-based HOTP and time-based TOTP one-time
password codes, with the help of a YubiKey that protects the shared secrets.

%prep
%autosetup -n %{name}

%build
qmake-qt5
%make_build

%install
%make_install INSTALL_ROOT=%{buildroot}

# desktop file
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{_builddir}/%{buildsubdir}/resources/yubioath-desktop.desktop

# icons
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
cp %{_builddir}/%{buildsubdir}/resources/icons/yubioath.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps

%files
%license COPYING
%doc NEWS README
%{_bindir}/*
%{_datadir}/icons/hicolor/128x128/apps/*
%{_datadir}/applications/*

Comment 5 Gerald Cox 2018-12-23 17:55:34 UTC
I'll also volunteer to be a co-maintainer on the above packages.  Thanks!

Comment 6 Gerald Cox 2019-01-03 11:44:56 UTC
Python3 fixes done by @ignatenkobrain (Thanks much!)

Sync'd with release code for 4.3.5 yubioath-manager.

Comment 7 Fedora Update System 2019-01-09 14:41:33 UTC
yubikey-manager-2.0.0-3.gite17b3de.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-97a3cd5943

Comment 8 Fedora Update System 2019-01-09 14:42:10 UTC
yubikey-manager-2.0.0-3.gite17b3de.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-06cc6bf13e

Comment 9 Fedora Update System 2019-01-09 14:42:44 UTC
yubioath-desktop-4.3.5-3.gitd1187b6.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e092df3ac0

Comment 10 Fedora Update System 2019-01-09 14:43:13 UTC
yubioath-desktop-4.3.5-3.gitd1187b6.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-81120ce3e7

Comment 11 Fedora Update System 2019-01-11 04:16:34 UTC
yubikey-manager-2.0.0-3.gite17b3de.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-97a3cd5943

Comment 12 Fedora Update System 2019-01-11 04:16:35 UTC
yubioath-desktop-4.3.5-3.gitd1187b6.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e092df3ac0

Comment 13 Fedora Update System 2019-01-11 05:42:35 UTC
yubikey-manager-2.0.0-3.gite17b3de.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-06cc6bf13e

Comment 14 Fedora Update System 2019-01-11 05:42:37 UTC
yubioath-desktop-4.3.5-3.gitd1187b6.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-81120ce3e7

Comment 15 Fedora Update System 2019-01-18 02:13:21 UTC
yubikey-manager-2.0.0-3.gite17b3de.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2019-01-19 01:54:48 UTC
yubikey-manager-2.0.0-3.gite17b3de.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2019-01-19 01:54:49 UTC
yubioath-desktop-4.3.5-3.gitd1187b6.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2019-01-19 02:25:52 UTC
yubioath-desktop-4.3.5-3.gitd1187b6.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 Gerald Cox 2019-02-21 14:46:42 UTC
*** Bug 1667536 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.