Port details on branch 2022Q2 |
- py-yubikey-manager Python library and command line tool for configuring a YubiKey
- 5.2.0 security =1 5.2.0Version of this port present on the latest quarterly branch.
- Maintainer: egypcio@FreeBSD.org
- Port Added: 2018-03-13 13:13:43
- Last Update: 2023-09-29 14:19:56
- Commit Hash: 3754fc5
- People watching this port, also watch:: py39-pycparser, rubygem-optimist, rubygem-hitimes, ladspa, python
- Also Listed In: python
- License: BSD2CLAUSE
- WWW:
- https://developers.yubico.com/yubikey-manager/
- Description:
- Python library and command line tool for configuring any YubiKey over all USB
transports.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}yubikey-manager>0:security/py-yubikey-manager@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/security/py-yubikey-manager/ && make install clean
- To add the package, run one of these commands:
- pkg install security/py-yubikey-manager
- pkg install py39-yubikey-manager
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-yubikey-manager listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-yubikey-manager
- Package flavors (<flavor>: <package>)
- py39: py39-yubikey-manager
- distinfo:
- TIMESTAMP = 1693744660
SHA256 (yubikey_manager-5.2.0.tar.gz) = 45e0f09e3cee2375b6f930dd5d89c1d3a7ca5d5cccb599b16a12f8f7d989fd36
SIZE (yubikey_manager-5.2.0.tar.gz) = 184873
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-click>0 : devel/py-click@py39
- py39-fido2>0 : security/py-fido2@py39
- py39-keyring>=0 : security/py-keyring@py39
- py39-openssl>0 : security/py-openssl@py39
- py39-pyscard>0 : security/py-pyscard@py39
- py39-pyusb>0 : devel/py-pyusb@py39
- RSA_SecurID_getpasswd : devel/libccid
- pcsc-spy : devel/pcsc-lite
- u2f-host : security/libu2f-host
- ykpersonalize : security/ykpers
- py39-cryptography>=41.0.3_1,1 : security/py-cryptography@py39
- python3.9 : lang/python39
- py39-poetry-core>=1.0.0 : devel/py-poetry-core@py39
- py39-cryptography>=41.0.3_1,1 : security/py-cryptography@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- py39-makefun>0 : devel/py-makefun@py39
- py39-pytest>0 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-click>0 : devel/py-click@py39
- py39-fido2>0 : security/py-fido2@py39
- py39-keyring>=0 : security/py-keyring@py39
- py39-openssl>0 : security/py-openssl@py39
- py39-pyscard>0 : security/py-pyscard@py39
- py39-pyusb>0 : devel/py-pyusb@py39
- RSA_SecurID_getpasswd : devel/libccid
- pcsc-spy : devel/pcsc-lite
- u2f-host : security/libu2f-host
- ykpersonalize : security/ykpers
- py39-cryptography>=41.0.3_1,1 : security/py-cryptography@py39
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- security/yubikey-manager-qt
- for Run
-
- security/yubikey-manager-qt
- security/yubioath-desktop
Configuration Options:
- No options to configure
- Options name:
- security_py-yubikey-manager
- USES:
- dos2unix python
- pkg-message:
- For install:
- In order to use `ykman otp` commands, you need to make sure the uhid(4)
driver attaches to the USB device:
# usbconfig -d ugenX.Y add_quirk UQ_KBD_IGNORE
# usbconfig -d ugenX.Y reset
The correct device to operate on (ugenX.Y) can be determined using
`usbconfig list`.
When using FreeBSD 13 or higher, you can switch to the more modern
hidraw(4) driver. This allows YubiKey Manager to access OTP HID in a
non-exclusive way, so that the key will still function as a USB keyboard:
# sysrc kld_list+="hidraw hkbd"
# cat >>/boot/loader.conf<<EOF
hw.usb.usbhid.enable="1"
hw.usb.quirk.0="0x1050 0x0010 0 0xffff UQ_KBD_IGNORE" # YKS_OTP
hw.usb.quirk.1="0x1050 0x0110 0 0xffff UQ_KBD_IGNORE" # NEO_OTP
hw.usb.quirk.2="0x1050 0x0111 0 0xffff UQ_KBD_IGNORE" # NEO_OTP_CCID
hw.usb.quirk.3="0x1050 0x0114 0 0xffff UQ_KBD_IGNORE" # NEO_OTP_FIDO
hw.usb.quirk.4="0x1050 0x0116 0 0xffff UQ_KBD_IGNORE" # NEO_OTP_FIDO_CCID
hw.usb.quirk.5="0x1050 0x0401 0 0xffff UQ_KBD_IGNORE" # YK4_OTP
hw.usb.quirk.6="0x1050 0x0403 0 0xffff UQ_KBD_IGNORE" # YK4_OTP_FIDO
hw.usb.quirk.7="0x1050 0x0405 0 0xffff UQ_KBD_IGNORE" # YK4_OTP_CCID
hw.usb.quirk.8="0x1050 0x0407 0 0xffff UQ_KBD_IGNORE" # YK4_OTP_FIDO_CCID
hw.usb.quirk.9="0x1050 0x0410 0 0xffff UQ_KBD_IGNORE" # YKP_OTP_FIDO
EOF
# reboot
- Master Sites:
|