aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-08 18:23:30 +0200
committerDaniel Mueller <deso@posteo.net>2020-09-09 08:55:50 -0700
commit4a8c01adb5100fd0397aad239edc5e80d13aca13 (patch)
tree8bd215f32d2fee5b185efbcd36888c6fe44ffaea /CHANGELOG.md
parent16f6b3ba0c3535efd1b9288ea1980cdd281b6565 (diff)
downloadnitrocli-4a8c01adb5100fd0397aad239edc5e80d13aca13.tar.gz
nitrocli-4a8c01adb5100fd0397aad239edc5e80d13aca13.tar.bz2
Add --usb-path option to select device
This patch adds the --usb-path option as an additional way to filter the Nitrokey device to connect to. While the serial number is a better identifier in theory, the Nitrokey Storage devices do not send their serial number in the USB device descriptor. Having the --usb-path options allows users to select one of multiple Nitrokey Storage devices. While we could directly call the nitrokey::Manager::connect_path function with the specified path, we integrate the --usb-path option into the existing find_device function for consistent error messages and to avoid having to duplicate the --model and --serial-number checks.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 607ee3d..83fc8d9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,8 @@ Unreleased
options are set)
- Added `--serial-number` option that restricts the serial number of the
device to connect to
+ - Added `--usb-path` option that restricts the USB path of the device to
+ connect to
- Bumped `structopt` dependency to `0.3.17`