Check for pynitrokey updates before update firmware of pro, storage, start, fido2
This PR adds a version check of the pynitrokey tool, which is executed before every firmware update.
Users will be warned about updates with older pynitrokey versions.
Changes
Call the api.github.com on update commands to check for the latest pynitrokey version
Checklist
Make sure to run make check and make fix before creating a PR, otherwise the CI will fail.
You are using an outdated version (0.4.30) of pynitrokey.
Latest pynitrokey version is 0.4.38
Updating with an outdated version is discouraged.
Do you still want to continue? [y/N]:
Check for pynitrokey updates before update firmware of pro, storage, start, fido2
This PR adds a version check of the pynitrokey tool, which is executed before every firmware update. Users will be warned about updates with older pynitrokey versions.
Changes
Checklist
Make sure to run
make check
andmake fix
before creating a PR, otherwise the CI will fail.Test Environment and Execution
Relevant Output Example
Fixes #198