I am trying to use Visual Studio 2012 Express to sign my appx file for a windows store app, but get the following error:
SignTool Error: The specified algorithm cannot be used or is invalid
I am running the process through the STORE->Create App Packages menu, so I don't have direct access to the parameters for SignTool.
At first I thought it was because it was using a self-signed certificate from one of our other developers, so I changed to use our real certificate and still have the same problem.
Any ideas what could cause this and how to fix it?
EDIT: Suspected that the issue was that our normal certificate didn't support SHA-256, so I created a new test certificate in Visual Studio, but got the same result.
EDIT2: Verified that the hash algorithm in my appx package is SHA256, tried to run SignTool manually with the following command:
SignTool sign /a /f My_TemporaryKey.pfx /fd SHA256 /v /debug MyAppPackage.appx
Same error, no helpful information in the console messages.