[Bug 263916] security/py-yubikey-manager: Many subcommands fail due to lack of HID support

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 May 2022 10:53:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263916

            Bug ID: 263916
           Summary: security/py-yubikey-manager: Many subcommands fail due
                    to lack of HID support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: egypcio@FreeBSD.org
          Reporter: grembo@FreeBSD.org
          Assignee: egypcio@FreeBSD.org
             Flags: maintainer-feedback?(egypcio@FreeBSD.org)

Yubikey-manager 4 moved away from using libykpersonalize and uses HID to
program yubikeys instead. There is currently no FreeBSD support for HID in the
package, which means that OTP (and other) subcommands fail:

  WARNING: No OTP HID backend available. OTP protocols will not function.
  Error: No YubiKey found with the given interface(s)

There are various possible solutions:

  1. Implement and upstream HID support for FreeBSD - I tried, but didn't
succeed (there seems to be ongoing work to support hidraw, but we're not there
yet)
  2. Re-import python code that makes use of libykpersonalize (probably over a
patch in the port)
  3. Document that this simply won't work and people should use ykpersonalize
instead

-- 
You are receiving this mail because:
You are the assignee for the bug.