Menu

Yubico-key not recognized in Ubuntu 20.04

Help
Seppo
2020-07-08
2020-12-05
  • Seppo

    Seppo - 2020-07-08

    Hi!

    I have used Passwordsafe successfully many years in various Ubuntu LTS
    versions, and now in 20.04 it does not recognize my Yubico key.

    Last success was in 18.04 with Passwordsafe V1.7.

    I have tried in Ubuntu 20.04

    - 1.8.02 (standard package offered from Canonical)

    - 1.010 from Sourceforge

    - 1.011 from Sourceforge

    without success.

    Yubico key button does not appear. Known bug?

    Regards,

    Seppo

     
  • Rony Shapiro

    Rony Shapiro - 2020-07-09
    • Does lsusb show the YubiKey device?
    • Can you access it with the YubiKey Manager?
     
  • Seppo

    Seppo - 2020-08-17

    Hi Rony!

    You responded quickly, but I was away on a COVID retreat on my summer cottage away from my linux laptop.

    Answers to your questions:
    -Yes, lshub shows yubikey
    Bus 003 Device 002: ID 1050:0010 Yubico.com Yubikey (v1 or v2)

    • Yubikey Manager installed it and it lists OPT as enabled a
    • command ykman info gives:

      Device type: YubiKey Standard
      Serial number: 1618084
      Firmware version: 2.3.1
      Enabled USB interfaces: OTP

      Applications
      OTP Enabled
      FIDO U2F Not available
      OpenPGP Not available
      PIV Not available
      OATH Not available
      FIDO2 Not available

    What next?
    regards,
    Seppo

     
  • Seppo

    Seppo - 2020-08-17

    Hi,

    I removed PWSAFE, rebooted laptop, reinstalled PWSAFE (1.8.02 BETA) from Ubuntu Software.

    I started PWSAFE, installed Yubikey. No Yubikey button.

    I now checked logs, and saw that PWSAFE had reported numerous lines like:

    Negative content height -5 (allocation 1, extents 3x3) while allocating gadget (node button, owner GtkButton).

    PWSAFE window can be extended only horisontally, cannot add the height of the window...

    Don't know what to try next,
    Regards,
    Seppo

     
  • Seppo

    Seppo - 2020-08-17

    OK,

    I found it!

    I started to get a feeling, that after all it had nothing to do with the Yubikey.

    I logged out, changed screenhandling from Wayland to X11, and PWSAFE window appeared normally. Earlier I had been doing some testing with different applications and their compatibility, and had forgot the position which I had toggled the session window management.

    At least I have now way forward, and can upgrade the rest of my household linuxes to 20.04 without the mission critical application called Password Safe.

    Thank you for this critical app!

    Have a nice day!

    Regards,
    Seppo

     
  • ThaCrip

    ThaCrip - 2020-12-05

    I am not sure about Ubuntu, but I do know that on Linux Mint to use a YubiKey in general in your web browser I had to use the following link to get it working as it does not work by default... https://www.yubico.com/authentication-standards/fido-u2f/#toggle-id-9

    once I did that, the standard/basic blue YubiKey works (NOTE: the standard YubiKey won't work on Password Safe) through web browsers to login to Google account etc.

     

Log in to post a comment.