security/py-yubikey-manager: Update to 4.0.0 Changes can be viewed here: https://developers.yubico.com/yubikey-manager/Release_Notes.html
Details
- Reviewers
tcberner - Commits
- rP569154: security/py-yubikey-manager: Update to 4.0.0
portlint: looks fine.
poudriere: (testport, 122Samd64, good)
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 37957 Build 34846: arc lint + arc unit
Event Timeline
This update doesn't actually work, though it does build:
$ ykman
Traceback (most recent call last):
File "/usr/local/bin/ykman", line 11, in <module> load_entry_point('yubikey-manager==4.0.0', 'console_scripts', 'ykman')() File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point return ep.load() File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2443, in load return self.resolve() File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2449, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/local/lib/python3.7/site-packages/ykman/__init__.py", line 29, in <module> from .device import ( # noqa File "/usr/local/lib/python3.7/site-packages/ykman/device.py", line 52, in <module> from .hid import list_otp_devices, list_ctap_devices File "/usr/local/lib/python3.7/site-packages/ykman/hid/__init__.py", line 46, in <module> raise Exception("Unsupported platform")
Exception: Unsupported platform
I've filed a bug at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254580, but the change should really be backed out until the port is patched to work on FreeBSD, since it is completely broken across the board right now.
I commented on the bug. I didn't know py-yubikey-manager actually provided it's own client. It is a direct dependency of yubikey-manager-qt which did work last I tested it. So if this is rolled back, then that one must be rolled back as well.
Nope, that's broken too in the same way:
$ ykman-gui
Got library name: "/usr/local/lib/qt5/qml/io/thp/pyotherside/libpyothersideplug in.so"
"PyOtherSide error: Traceback (most recent call last):\n\n File \"qrc:///py/yub ikey.py\", line 16, in <module>\n import ykman.logging_setup\n\n File \"/usr /local/lib/python3.7/site-packages/ykman/__init.py\", line 29, in <module>\n from .device import ( # noqa\n\n File \"/usr/local/lib/python3.7/site-packag es/ykman/device.py\", line 52, in <module>\n from .hid import list_otp_device s, list_ctap_devices\n\n File \"/usr/local/lib/python3.7/site-packages/ykman/hi d/init__.py\", line 46, in <module>\n raise Exception(\"Unsupported platfor m\")\n\nException: Unsupported platform\n"
qml: Cannot import module: yubikey (Traceback (most recent call last):
File "qrc:///py/yubikey.py", line 16, in <module> import ykman.logging_setup File "/usr/local/lib/python3.7/site-packages/ykman/__init__.py", line 29, in < module> from .device import ( # noqa File "/usr/local/lib/python3.7/site-packages/ykman/device.py", line 52, in <mo dule> from .hid import list_otp_devices, list_ctap_devices File "/usr/local/lib/python3.7/site-packages/ykman/hid/__init__.py", line 46, in <module> raise Exception("Unsupported platform")
Exception: Unsupported platform
)
"PyOtherSide error: Traceback (most recent call last):\n\n File \"<string>\", l ine 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
qml: Function not found: 'yubikey.init' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'yubikey' is not defined