1Conan / tsschecker

a powerful tool to check tss signing status of various devices and firmwares
GNU Lesser General Public License v3.0
60 stars 15 forks source link

Add erase-install parameter and a few updates #18

Closed DanTheMann15 closed 1 year ago

DanTheMann15 commented 1 year ago

Adds the ability to explicitly set the InstallType to Erase using either "-E" or "--erase-install"

the reason i made this parameter was because i found it incredibly annoying not being able to save erase-only tickets when saving blobs for DFU Nonce collisions, i didn't need or want the updateInstall and noNonce sections so removing them from my saved DFU blobs took awhile.

so this option will be extremely useful.

I also made a few touchups, such as updating the libauthinstall version string, updating the readme (especially around nonces), and making sure the help table matches-up with whats printed in the app itself.

i also adjusted the versioning, it now works like this: "TSSCHECKER_VERSION_MAJOR"."TSSCHECKER_VERSION_COUNT"."TSSCHECKER_VERSION_PATCH"-"TSSCHECKER_VERSION_SHA"-"TSSCHECKER_BUILD_TYPE"

TSSCHECKER_VERSION_MAJOR, TSSCHECKER_VERSION_PATCH and TSSCHECKER_BUILD_TYPE are defined in all.h as for TSSCHECKER_VERSION_COUNT and TSSCHECKER_VERSION_SHA they work the same as they did before.

so a release build would look like this: tsschecker version: 0.414.0-0bc6174c3c2f77a0de525b71e7d8ec0987f07aa1-RELEASE and a debug build like this: tsschecker version: 0.414.0-Build: Dec 13 2022 14:11:21-DEBUG

should make the versioning more flexible.