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

Stop process if master_key_* is missing from prod.keys #167

Open
msdos opened this issue Jan 26, 2024 · 0 comments
Open

Stop process if master_key_* is missing from prod.keys #167

msdos opened this issue Jan 26, 2024 · 0 comments

Comments

@msdos
Copy link

msdos commented Jan 26, 2024

Suppose you're with prod.keys extracted with a 16.x.x firmware (or older) and you're trying to convert a 17.x.x nsp.

Although an error message is shown:

master_key_10 missing from <user_path>/prod.keys! This will lead to corrupted output.

Instead of aborting the process it continues giving error tracebacks. IMHO if a master key is not found, it should show the message above but aborting the process with a sys.exit(1).

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