ykman.hid.base

Attributes

YUBICO_VID

USAGE_FIDO

USAGE_OTP

Classes

OtpYubiKeyDevice

YubiKey USB HID OTP device

Module Contents

ykman.hid.base.YUBICO_VID = 4176
ykman.hid.base.USAGE_FIDO = (61904, 1)
ykman.hid.base.USAGE_OTP = (1, 6)
class ykman.hid.base.OtpYubiKeyDevice(path, pid, connection_cls)[source]

Bases: ykman.base.YkmanDevice

YubiKey USB HID OTP device

path
supports_connection(connection_type)[source]

Check if a YubiKeyDevice supports a specific Connection type

open_connection(connection_type)[source]

Opens a connection to the YubiKey