12-17-2009 11:06 AM
I have some COD files that I have developed using the Widget toolkit for Visual Studio. These cod files need signed before I can use them on a device.
When I open the signature Tool from within Eclipse (3.4.0) every COD file from the current workspace is shown in the list. If I hit the 'Add' button and select the COD file I want to sign from another location the COD file isn't being listed with all of the other files.
I tried running the Signature Tool from the command line and the same thing happens, I hit Add, select the COD file and then nothing happens. If I specify the COD file on the command line then I get an error saying that the Signature Tool can't find any COD files.
The only exception to this was today, just before I went for lunch. When I clicked Add and selected the COD file it appeared in the list and I could sign it as expected but every other time I've tried it doesn't work.
Any suggestions as to what is happening or any other approaches I can take?
12-17-2009 11:34 AM
You can run the Signature Tool from Visual Studio without the need for Eclipse. Run "java -jar SignatureTool.jar -help" to see the usage. You'll be best served if you copy/move the sigtool.db and sigtool.csk from JDE's bin directory into the directory where you'll be running the Signature Tool from.
12-18-2009 04:15 AM - edited 12-18-2009 04:16 AM
1. Make sure that SignatureTool.jar, sigtool.csk and sigtool.db are in the working directory where your COD file is located.
2. java -jar SignatureTool.jar -a -C -p <key password here> <your COD file(s)>
03-16-2010 11:55 AM
Just for the benefit of anyone else that finds this while looking for help with the signature tool like I have been. This same user posted on StackOverflow and said
The issue was that the generated .csl and .cso file was not present in the same directory so the signature tool wasn't aware of which API's needed signed.