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
I'm under impression that nitropy fido2 update isn't supposed to be used to update Nitrokey series 3 keys and attempts to do so may lead to unexpected behaviors of the device. To be clear running this hasn't damaged my device in any noticeable way, but wouldn't it be good if pynitrokey warned users before they do that (by detecting device type and warning against it) to avoid any potential confusion?
The text was updated successfully, but these errors were encountered:
pjhfggij
changed the title
warn user before nitropy fido2 update ?
warn user before running nitropy fido2 update on nitrokey 3 devices?
Apr 26, 2024
Thanks for the report! Running nitropy fido2 update on a Nitrokey 3 should not do any damage, but indeed it would be better to fail early. There are some other fido2 subcommands that only work for the Nitrokey FIDO2 device and not for the Nitrokey 3, e. g. nitropy fido2 status. We plan to split the fido2 subcommand into one subcommand for general FIDO2 operations (i. e. working with the Nitrokey FIDO2 or Nitrokey 3), and one subcommand specifically for the Nitrokey FIDO2.
instead of mentioning something along device is not supported that would be easier for the user to reason about. Splitting fido2 into subcommands sounds like a good idea.
I'm under impression that
nitropy fido2 update
isn't supposed to be used to update Nitrokey series 3 keys and attempts to do so may lead to unexpected behaviors of the device. To be clear running this hasn't damaged my device in any noticeable way, but wouldn't it be good if pynitrokey warned users before they do that (by detecting device type and warning against it) to avoid any potential confusion?The text was updated successfully, but these errors were encountered: