Announcement

Collapse
No announcement yet.

Yuboco Yubikey 2FA MFA not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [CONFIGURATION] Yuboco Yubikey 2FA MFA not working

    After my horrid attempts to "upgrade" and finally get a computer working, now my Yubico Yubikey isn't working..
    I've searched within synaptic and it "appears to be installed"
    I can open the "Yubico Authenticator"
    I cannot FIND the key ?

    Reading around, Yubico says to install their PPA, but highly recommends your Linux update version... This is what I am using, the kUbubtu version. Yes or NO PPA ​

    <I cannot get this image to appear>

    Now I've tried to "reinstall" from Synaptic but that option is greyed out.

    Any suggestions please
    UPDATE
    Yubico says latest version is 7.1. Website reads version 6.
    My version is 5.1.?
    Last edited by CharlieDaves; Yesterday, 06:10 PM.

    #2
    $ sudo apt install yubi
    yubico-piv-tool yubikey-manager yubikey-personalization-gui yubiserver
    yubikey-agent yubikey-manager-qt yubikey-server-c
    yubikey-luks yubikey-personalization yubioath-desktop
    mm3@Mohad-Azarbar:~$ sudo apt install yubikey-manager
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    yubikey-manager is already the newest version (5.5.1~ppa1~jammy1).
    0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.

    Why is it reading "JAMMY" ?
    Last edited by CharlieDaves; Yesterday, 06:14 PM. Reason: text errors

    Comment


      #3
      Sometimes the name of a file doesn't really mean anything, if it fully works the creator may just 'copy' to files to Noble. But it really isn't common, and I am over-explaining again

      BUTT:
      I can assume that you upgraded from 22.04 to 24.04.
      This process disables all external sources, including PPAs. -- The upgrade tool tells you this. It does change the source to point to noble, but turns it off, if you will.

      So unless you re-enable it, you still have the jammy build.

      Since the jammy PPA package is newer than what is in Ubuntu Noble, it didn't 'upgrade'
      Disabling PPAs does not remove the relevant packages, so the Jammy package was still there.

      So re-enable the repo in the software-properties tool, or if it is easier, remove the software (won't touch your app's user settings) do an auto-remove, remove the PPA via the Software Sources tool, and then re-add the PPA and install the software.
      (You might not need to uninstall anything -- I am including that part in case simply re-enabling the PPA doesn't upgrade the package, and the way PPAs show up in the tool can be confusin)

      Originally posted by CharlieDaves View Post
      Reading around, Yubico says to install their PPA, but highly recommends your Linux update version... This is what I am using, the kUbubtu version. Yes or NO PPA ​
      The package name indicates you did add the PPA at some point.
      The stock Ubuntu version for yubikey-manager is 1.2.5, with file name 1.2.5-1build2
      You have the latest from the PPA, even their noble package in the PPA is 5.5.1


      Originally posted by CharlieDaves View Post
      Yubico says latest version is 7.1. Website reads version 6.
      Version of what? They have a number of different applications and different version levels.

      If you want 6.0 of the tool, you need to use their appimage or tarball, following their instructions.


      Now, the app not seeing your key probably is a bug on their end, though the only way to know for sure is to have the correct packaging for 5.5.1
      or try out the appimage, which is a standalone run-it-from-anywhere thing. Maybe 6.0 works?

      Comment


        #4
        Hmm. Just tried all this again with the 'key' plugged in the rear usb port...
        The key blinked upon plugging IN. It did not blink on keyboard USB. I am guessing the key is being seen by the system
        However
        yubico Authenticator still unable to find or see the key

        ​Claydoh - The package indicates you did add the PPA at some point.

        Yeah. more than likely. don't remember... But the PPA is listed in the software sources.

        SO
        Q- How do I remove the yubi-everything and the PPA, and restart and re-install from synaptic ? Please.
        Thanks
        Charles.
        PS. Read my bio

        Comment


          #5
          Now, the simplest and easiest way inmsho is the cli -- there is no GUI equivalent that does what ppa-purge will:
          • remove the ppa's source file
          • downgrade packages back to stock Ubuntu package versions

          But we will do it the 'hard' way

          Note I am on the road with shoddy mobile and worse wifi, and don't have a proper Kubuntu 24.04 install, nor any Yubikey packages installed. ​So I am using my KDE neon, which is still Ubuntu 24.04, same as Kubuntu. Synaptic and the Software Sources tool are 100% identical. Some things may look different.

          Open Synaptic and use the search tool to find yubikey packages. I don't know what the names are for all of them, but just searching for "yubi" will show the important ones

          Click image for larger version

Name:	Screenshot_20250224_044915.png
Views:	0
Size:	213.7 KB
ID:	685489 lClick image for larger version

Name:	Screenshot_20250224_044946.png
Views:	0
Size:	114.7 KB
ID:	685490


          Select any marked in green. Right click and select Mark for Removal

          Click image for larger version

Name:	Screenshot_20250224_045048.png
Views:	0
Size:	158.8 KB
ID:	685492

          Click the Apply button.



          Removing the main yubikey packages should also remove some or all of the related packages that don't have 'yubi' in the name.
          But you will want to autoremove anything that might be still present.


          Click image for larger version

Name:	Screenshot_20250224_050810.png
Views:	0
Size:	235.8 KB
ID:	685493


          Now, go to System Settings and open the Driver Manager.
          Once there, switch to the "Other Software" tab and delete the appropriate PPA -- which will be un-checked.

          Click image for larger version

Name:	Screenshot_20250224_051821.png
Views:	0
Size:	63.0 KB
ID:	685494

          Now, should be back to square 1. You can go back and follow yubikey's recommended instructions.

          if you decide to stick with the less-preferred PPA method you will still need to use the command line.
          Synaptic doesn't know about PPAs, as it is not an Ubuntu-specific tool. Debian doesn't use them for example, even though Ubuntu uses the same packaging system. So you can't use it to add a PPA.
          Now, one can copy and paste the relevant url for a PPA into the Software Sources tool , but I really am not sure if it still works (there was a recent change on the sources file format. This tool may not support it)
          But if you have to copypasta some text anyway, you might as well do it in the terminal and know it will be added correctly.
          Attached Files

          Comment

          Working...
          X