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

Allow gpg to run factory-reset when the state is corrupted #102

Closed
sosthene-nitrokey opened this issue Jan 3, 2023 · 0 comments
Closed

Comments

@sosthene-nitrokey
Copy link
Collaborator

It is possible to factory reset the smartcard with the right commands (opensc-tool -s 00:A4:04:00:06:D2:76:00:01:24:01:00 -s 00:E6:00:00 -s 00:44:00:00) even when the state is corrupted.

However, it is not possible to do so with GPG, because GPG tries to run GET DATA on some DOs and doesn't accept faiiure.
We should have some form of placeholder data to allow factory resets with gpg.

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