You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nitropy nk3 update
Command line tool to interact with Nitrokey devices 0.6.0
Critical error:
Multiple NK3 devices found -- use the --path option to select one
This line is not very informative, because nitropy nk3 list
nitropy nk3 list
Command line tool to interact with Nitrokey devices 0.6.0
:: 'NK3' keys
/dev/hidraw0: Nitrokey 3 YYYY
/dev/hidraw1: Nitrokey 3 ZZZZ
will show all, but the path option fails on the update command.
nitropy nk3 update --help
Command line tool to interact with Nitrokey devices 0.6.0
Usage: nitropy nk3 update [OPTIONS] [IMAGE]
So the "path" will be the first option. But it will fails with:
nitropy nk3 update --path /dev/hidraw1
Command line tool to interact with Nitrokey devices 0.6.0
Usage: nitropy nk3 update [OPTIONS] [IMAGE]
Try 'nitropy nk3 update -h' for help.
Error: No such option: --path
The text was updated successfully, but these errors were encountered:
I understand that this can be very confusing. AFAIK this is a limitation of the CLI framework we use because the --path option is defined for all Nitrokey 3 commands. I don’t know a way to make nitropy nk3 update --path /dev/hidraw1 work without manually duplicating the option for all commands. But at least we could update the error message with an example invocation that shows the correct call.
All call of nitropy nk3 update fails with:
This line is not very informative, because nitropy nk3 list
will show all, but the path option fails on the update command.
So the "path" will be the first option. But it will fails with:
The text was updated successfully, but these errors were encountered: