[Pkg-auth-maintainers] Bug#842194: [yubikey-personalization-gui] 'Unknown error occurred' reported - insufficient permissions

OmegaPhil OmegaPhil at startmail.com
Wed Oct 26 19:40:17 UTC 2016


Package: yubikey-personalization-gui
Version: 3.1.24-1
Severity: normal

I inserted my YubiKey, started up the GUI, after a short delay 'Unknown
error occurred' was reported at the top-right. This is a useless error
for a user, so I dug about - it turns out that the program DOES know
what is wrong - YubiKeyFinder::diagnostics is emitted with the text 'USB
Error: Access denied (insufficient permissions)' - the supposed 'Unknown
error' is coming from mainwindow.cpp:MainWindow::keyFound, line 549,
returning the value of OTHER_ERROR (only 2 error situations are handled
here).

The user needs to be given a real error in some sort of accessible
place, there appears to be no output to stdout or stderr, or commandline
flags to change this etc.

Why is accessing the key suddenly a permissions issue? I have confirmed
it is detected and I can change the configuration when sudo'd. I have
confirmed this is also a problem in a Debian Testing VM with sysvinit
(this machine is Devuan Testing).

The last time I needed to change the edit the key would've been ~1 month
ago, and it appears the package has updated since (haven't downgraded to
test).


--- System information. ---
Architecture: amd64
Kernel:       Linux 4.7.0-1-amd64

Devuan Release: stretch/sid
  990 testing         10.1.0.3   500 quodlibet-unstable lazka.github.io
--- Package information. ---
Depends                   (Version) | Installed
===================================-+-================
libc6                     (>= 2.14) | libgcc1                  (>=
1:3.0) | libgl1-mesa-glx                     |  OR libgl1
          | libqt5core5a        (>= 5.6.0~beta) | libqt5gui5
  (>= 5.0.2) | libqt5widgets5           (>= 5.0.2) | libstdc++6
         (>= 5) | libykpers-1-1           (>= 1.14.0) | libyubikey0
          (>= 1.5) |

Recommends                     (Version) | Installed
========================================-+-===========
qt5-image-formats-plugins                | 5.6.1-2+b1


Package's Suggests field is empty.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-auth-maintainers/attachments/20161026/e6500b55/attachment.sig>


More information about the Pkg-auth-maintainers mailing list