Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factory Reset of Different Apps not Working #540

Open
anotherbridge opened this issue May 14, 2024 · 0 comments
Open

Factory Reset of Different Apps not Working #540

anotherbridge opened this issue May 14, 2024 · 0 comments

Comments

@anotherbridge
Copy link
Contributor

Description

When running the help of the subcommand nitropy nk3 factory-reset-app the following is returned:

Command line tool to interact with Nitrokey devices 0.4.47
Usage: nitropy nk3 factory-reset-app [OPTIONS]
                                     {fido|opcard|secrets|piv|webcrypt}

  Factory reset all functionality of an application

Options:
  -h, --help  Show this message and exit.

This suggests that it is possible to reset the following apps:

  • fido
  • opcard
  • secret
  • piv
  • webcrypt

Yet, when running nitropy nk3 factory-reset-app <app>, the following is returned for all apps except of the opcard app:

Command line tool to interact with Nitrokey devices 0.4.47
Please touch the device to confirm the operation
Critical error:
Failed to factory reset the device: The application does not support factory reset through nitropy

Expected Behavior

According to the help I would expect the apps to be reset.

Additional Information

  • nitropy nk3 status:
Command line tool to interact with Nitrokey devices 0.4.47
UUID:               <uuid>
Firmware version:   v1.7.0
Init status:        ok
Free blocks (int):  60
Free blocks (ext):  478
Variant:            LPC55
  • Operating systems:
    • Windows 11
    • macOS Sonoma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant