ykman.hid.linux

Attributes

USB_GET_REPORT

USB_SET_REPORT

HIDIOCGRAWINFO

HIDIOCGRDESCSIZE

HIDIOCGRDESC

Classes

HidrawConnection

A connection to a YubiKey

Functions

get_info(dev)

get_descriptor(dev)

get_usage(dev)

list_devices()

Module Contents

ykman.hid.linux.USB_GET_REPORT = 3221833735
ykman.hid.linux.USB_SET_REPORT = 3221833734
ykman.hid.linux.HIDIOCGRAWINFO = 2148026371
ykman.hid.linux.HIDIOCGRDESCSIZE = 2147764225
ykman.hid.linux.HIDIOCGRDESC = 2416199682
class ykman.hid.linux.HidrawConnection(path)[source]

Bases: yubikit.core.otp.OtpConnection

A connection to a YubiKey

handle
close()[source]

Close the device, releasing any held resources.

receive()[source]

Reads an 8 byte feature report

send(data)[source]

Writes an 8 byte feature report

ykman.hid.linux.get_info(dev)[source]
ykman.hid.linux.get_descriptor(dev)[source]
ykman.hid.linux.get_usage(dev)[source]
ykman.hid.linux.list_devices()[source]