LudovicRousseau / PyKCS11

PKCS#11 Wrapper for Python
GNU General Public License v2.0
96 stars 35 forks source link

Support pre-built versions for Windows #84

Closed danizen closed 3 years ago

danizen commented 3 years ago

Your system information

Please describe your issue in as much detail as possible:

Describe what you expected should happen.

My down stream users should be able to install "nlmfedcred" which depends on PyKCS11 without having Visual C++ Community installed.

Describe what did happen.

I tried it, and then built a version of PyKCS11. I then put this in my local Artifactory so my users could get it. However, my solution for federated login to AWS via PIV is now so good that NIH central wants to take a look at it. If you can build some version of PyKCS11 with Visual Studio 14.0, and then upload to PyPI, that would be so great!

Steps for reproducing this issue:

LudovicRousseau commented 3 years ago

Maybe have a look at https://ci.appveyor.com/project/LudovicRousseau/pykcs11

The versions for Python 3.6 x86_64 are at https://ci.appveyor.com/project/LudovicRousseau/pykcs11/build/job/66p9ix2h79b2l4bl/artifacts

Do you need something else?

danizen commented 3 years ago

I think it has been awhile since I built PyKCS11. I forgot that I needed to install swig. I've now built-it successfully with version 1.5.10, and verified my code still works.

Also, checking on the PyPI server, I don't see a built version of PyKCS11 - I think I had better double check who got this and how they got it.

danizen commented 3 years ago

I'll leave this open for your comments, but consider this low priority for now anyway.

LudovicRousseau commented 3 years ago

There are pre-build installers for Windows on https://pypi.org/project/PyKCS11/#files But no version for Python 3.6. This is an old version of Python.