diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-14 20:01:28 +0100 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-01-14 20:01:28 +0100 |
commit | 1a4c617a2b52998c792b5149b9ba3ed0bcabced8 (patch) | |
tree | 1327c4569a224092165a93e120a2137761ce18cf /nitrokey-sys/libnitrokey-v3.5/libnitrokey | |
parent | a60b03f58437e358b24a96a4e6b2a2c11d277e6b (diff) | |
download | nitrocli-1a4c617a2b52998c792b5149b9ba3ed0bcabced8.tar.gz nitrocli-1a4c617a2b52998c792b5149b9ba3ed0bcabced8.tar.bz2 |
Implement list command
This patch implements the list command that lists all attached Nitrokey
devices. Currently the Nitrokey Storage does not report its serial
number during HID enumeration, see [0]. So if we detect a Nitrokey
Storage device, we connect to it and use the get_serial_number function
to query its serial number. This can be disabled using the --no-connect
option.
Note that even the get_serial_number function reports a wrong serial
number for the Nitrokey Storage, see [1].
[0] https://github.com/Nitrokey/nitrokey-storage-firmware/issues/88
[1] https://github.com/Nitrokey/nitrokey-storage-firmware/issues/76
Diffstat (limited to 'nitrokey-sys/libnitrokey-v3.5/libnitrokey')
0 files changed, 0 insertions, 0 deletions