diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-25 20:33:57 +0100 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2021-01-10 17:37:56 -0800 |
commit | 6ce6dc4f3db67c3f6b6148b1fb03644e91900291 (patch) | |
tree | 6e3b2901c8cd27e43d0d85943de81b307be82f74 /doc/config.example.toml | |
parent | 6f029e744abc0f6d4cfe756d7e6b771be1be3999 (diff) | |
download | nitrocli-6ce6dc4f3db67c3f6b6148b1fb03644e91900291.tar.gz nitrocli-6ce6dc4f3db67c3f6b6148b1fb03644e91900291.tar.bz2 |
Add --serial-number option
This patch adds the --serial-number option that allows the user to
filter the attached Nitrokey devices by serial number. As the Nitrokey
Storage does not include its serial number in the USB device descriptor
and as we don't want to connect to it just to query the serial number,
this option only works for Nitrokey Storage devices.
Diffstat (limited to 'doc/config.example.toml')
-rw-r--r-- | doc/config.example.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/config.example.toml b/doc/config.example.toml index a427749..eefdfa0 100644 --- a/doc/config.example.toml +++ b/doc/config.example.toml @@ -4,6 +4,9 @@ # The model to connect to (string, "pro" or "storage", default: not set). model = "pro" +# The serial number of the device to connect to (list of strings, default: +# empty). +serial_numbers = ["0xf00baa", "deadbeef"] # Do not cache secrets (boolean, default: false). no_cache = true # The log level (integer, default: 0). |