Function ctaphid::list[][src]

pub fn list() -> Result<Devices, Error>
Expand description

Lists all available CTAPHID devices.

Note that this function currently only detects Nitrokey FIDO2 and Nitrokey 3 devices as reading the usage pages that identify CTAPHID devices currently does not work reliably using hidapi. If you want to connect to other CTAPHID devices, manually identify the corresponding hidapi::DeviceInfo and use Device::connect to connect to the device.