Open nmoinvaz opened 10 years ago
Optionally you could have it automatically dump to a file which can be useful for build purposes.
char appid_filename[320];
strncpy(appid_filename, output_filename, 320);
strncat(appid_filename, ".appid", 320);
FILE *appidfile = fopen(appid_filename,"wb");
if (appidfile) {
fwrite(appid, 1, SHA256_DIGEST_LENGTH, appidfile);
fclose(appidfile);
}
That's a good idea, I will see slate it for the next release (maybe a few weeks, I'm in the process of moving)
I've tagged this for v0.3 (projected release date of 27MAR14)
It would be great if the tool could also print out the extension's app id. Here is some code that I have scratched together real quick to do just that.
Then in main function after you convert the RSA PublicKey to DER format