From 4d25d79f18cd2c5627c46727b425c745c78cf942 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sun, 6 Sep 2020 23:44:18 +0200 Subject: Fail if multiple matching devices are attached Previously, we just applied our filter (if any) to all attached Nitrokey devices and selected the first match when connection to a Nitrokey device. This may lead to unexpected behavior if multiple devices are attached. This patch changes the find_device function to return an error if multiple matching devices are found. --- doc/nitrocli.1.pdf | Bin 40791 -> 40972 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'doc/nitrocli.1.pdf') diff --git a/doc/nitrocli.1.pdf b/doc/nitrocli.1.pdf index 0646c84..015f379 100644 Binary files a/doc/nitrocli.1.pdf and b/doc/nitrocli.1.pdf differ -- cgit v1.2.1