self signing a py2exe windows executable
William Heath
wgheath at gmail.com
Mon Oct 6 20:59:53 EDT 2008
I don't know, how can I tell, sorry I am new to this.
-Tim
On Mon, Oct 6, 2008 at 5:57 PM, Roger Upole <rupole at hotmail.com> wrote:
>
> William Heath wrote:
> > Hi Roger,
> > I managed to get the dll and register it. I am now getting this error:
> >
> > Traceback (most recent call last):
> > File
> > "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
> > line 312, in RunScript
> > exec codeObject in __main__.__dict__
> > File "C:\Documents and Settings\blech\My
> > Documents\qb_bridge_client_easy\dist\sign_exe.py", line 4, in <module>
> > s.Sign(None)
> > File
> >
> "C:\Python25\lib\site-packages\win32com\gen_py\BD26B198-EE42-4725-9B23-AFA912434229x0x2x1.py",
> > line 2067, in Sign
> > return self._oleobj_.InvokeTypes(6, LCID, 1, (24, 0), ((9,
> > 49),),pISigner2
> > com_error: (-2147352567, 'Exception occurred.', (0, None, u'The
> > certificate
> > store does not contain any certificate.\r\n', None, 0, -2138570191),
> None)
> >
> > Line 4 is this:
> >
> > s.Sign(None)
> >
> > I don't think this can be none can it?
> >
> > -Tim
> >
> > P.S.
> >
> > Thanks for your help!
>
> If the signer is not specified, it should auto-select the appropriate
> certificate. Do you have a code signing certificate installed in
> the current user's certificate store ?
>
> Roger
>
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081006/d39f688e/attachment-0001.html>
More information about the Python-list
mailing list