Crate yubikey [] [src]

Reexports

pub use config::Config;

Modules

config

Structs

Aes128Block
Aes128Key

A secret key for AES128 / OTP challenge-response.

Context

A libusb context.

Hmac
HmacKey

A secret key for HMAC.

Otp

Result of a challenge-response in OTP mode. The caller must check that (use_counter, session_counter) (in alphabetical order) is strictly larger than the last values seen.

Version
YubiKey

A YubiKey device.

YubiKeyHandle

A handle to an open YubiKey.

Enums

Command
Error
Slot

Slot (1 or 2).

Functions

get_yubikeys

Get the vector of all YubiKeys in the libusb context.