Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fedora PyKCS11 library location search path #113

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions get_PYKCS11LIB.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def get_PYKCS11LIB():
LIBS = [
"/usr/local/lib/pkcs11-spy.so", # macOS or local build
"/usr/lib/x86_64-linux-gnu/pkcs11-spy.so", # Debian amd64
"/usr/lib64/pkcs11/pkcs11-spy.so", # Fedora Linux
]
else:
if sys.maxsize > 2 ** 32:
Expand All @@ -31,6 +32,7 @@ def get_PYKCS11LIB():
"/usr/lib/softhsm/libsofthsm.so", # Debian libsofthsm
"/usr/lib/libsofthsm.so", # Ubuntu 12.04 libsofthsm
"/usr/lib/x86_64-linux-gnu/softhsm/libsofthsm2.so", # Ubuntu 16.04 libsofthsm2
"/usr/lib64/pkcs11/libsofthsm2.so", # Fedora Linux
WINDOWS_SOFTHSM, # Windows
]

Expand Down
Loading