[python-win32] win32api.pyd will be block by smart app control in win11
Antoine FERRON
antoine.ferron at bitlogik.fr
Fri Apr 14 09:10:45 EDT 2023
Probably you can code sign the pyd with your certificate (valid from Microsoft chain). This looks like the cause is the pyd has no signature, once signed (as a DLL) it should work. That's the same way you sign the exe (if you do so, and I'm advise to do so).
_____________________________________
Antoine FERRON
Président — BitLogiK
bitlogik.fr (https://bitlogik.fr) — PGP Key ID#22F95B31 (https://keys.openpgp.org/search?q=antoine.ferron%40bitlogik.fr)
On Apr 14 2023, at 11:03 am, Liu Gin <web4zn at hotmail.com> wrote:
>
> I pack my python code into exe, and run in win11 with Smart App Control on.
> is there anyone meet this problem?
> how can I fix or pass it?
>
> Best Regards
> Leen
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> https://mail.python.org/mailman/listinfo/python-win32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-win32/attachments/20230414/70b1a62b/attachment.html>
More information about the python-win32
mailing list