Call Signtool using python

enda man emannion at
Tue Mar 2 12:34:16 CET 2010


I want to call the Windows signtool to sign a binary from a python

Here is my script:
os.chdir('./Install/activex/cab')["signtool", "sign", "/v", "/f", "webph.pfx", "/t",
"", "WebPh.exe" ])

But I am getting this error:
SignTool Error: The specified PFX password is not correct.

Number of files successfully Signed: 0
Number of warnings: 0
Number of errors: 1
Finished building plugin installer
scons: done building targets.

This python script is called as part of a scons build, which is also
python code.

Anyone seen this before or can pass on any ideas.

More information about the Python-list mailing list