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

Add --only-aes-key option to reset command #149

Closed
wants to merge 3 commits into from

Conversation

robinkrahl
Copy link
Collaborator

This patch adds an --only-aes-key option to the reset command to only
build a new AES key without performing a full factory reset.

Fixes #69.


Unfortunately, I can’t get the new unit test to work. I get a Wrong Password error for the reset call. But if I manually execute the command, it’s working fine. Can you confirm this problem? Do you see the reason for the error?

This patch adds an --only-aes-key option to the reset command to only
build a new AES key without performing a full factory reset.

Fixes d-e-s-o#69.
@robinkrahl
Copy link
Collaborator Author

Nevermind, applying the same workaround as for the regular password reset helped.

@d-e-s-o
Copy link
Owner

d-e-s-o commented Apr 15, 2021

Thanks for the pull request, Robin! I'll take a closer look at this and your other work later this week. Running a bit thing right now.

@d-e-s-o
Copy link
Owner

d-e-s-o commented Apr 17, 2021

Great work! Merged this one, too, but I am a bit confused by your usage of "admin PIN" in the test. I think you meant user PIN and changed it, but perhaps I am missing something.

@robinkrahl
Copy link
Collaborator Author

You’re totally right. I started out using the admin PIN before I realized that we need the user PIN to enable the PWS and then forgot to fix the comment. Thanks!

@d-e-s-o d-e-s-o closed this Apr 17, 2021
@robinkrahl robinkrahl deleted the build-aes-key branch April 21, 2021 07:52
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

Successfully merging this pull request may close these issues.

Support factory reset
2 participants