self signing a py2exe windows executable

Roger Upole rupole at hotmail.com
Sat Oct 4 15:30:48 EDT 2008


William Heath wrote:
> Hi All,
> I thought I sent an email to the list regarding a need I have to self sign
> a
> py2exe windows executable.  Does anyone know how to do that?
>
> -Tim
>

You can use capicom to sign an executable (or even a .pyd):

import win32com.client
s=win32com.client.Dispatch('capicom.signedcode')
s.FileName='yourexecutable.exe'
s.Sign(None)
s.Timestamp('http://timestamp.verisign.com/scripts/timstamp.dll')

     Roger







More information about the Python-list mailing list