Closed KingCZE closed 9 months ago
Doesn't C:/Windows/SysWOW64 include 32-bit libraries/DLLs? Clearly they cannot be loaded in 64-bit application (python)
Message is misleading: Win32 aplications means any windows applications :-D
It does, Windows are misleading. System32 are 64-bit libraries, SysWOW64 are 32-bit libraries. All good here. Sorry for the confusion.
Hi, using pyHanko version 0.21.0, with prebuilt python-pkcs11. I compiled python-pkcs11 in Python 3.11 64-bit, yet it does not support 64-bit dll drivers.
The Czech eID (as shown above) fortunately has a 32bit version of the PKCS#11 driver (which works fine), but the problem is that some qualified and commercial certificate issuers (e.g. Komerční banka and their C:\Windows\SysWOW64\mopkcs11.dll) do not even have 32bit versions of their PKCS#11 drivers anymore.
I installed it with python 3.11 on conda from conda-forge that provides 64-bit packages and 64-bit Python. (I was unable to install it with python 3.12 that was as default on my machine)
I am fairly confident that I built everything with 64-bit python:
This is clearly not an issue on pyHanko, but on python-pkcs11.