Comments (6)
MSYS2 is indeed not supported. I would gladly merge a pull request correcting this issue.
from libp11.
Hello
I made current libp11-master version, that has autoconf and automake patches necessary for mingw, but it is not possible to compile included examples, because mingw does not support termios.h, so my patches may hurt linux builds. You can probably correct it using if !win32 condition, that I used to prevent error shown in previous post. In src\Makefile.am
install-exec-hook:
if !WIN32
cd '$(DESTDIR)$(enginesdir)' && $(LN_S) -f pkcs11$(SHARED_EXT) libpkcs11$(SHARED_EXT)
endif
But I think that it should be done by someone that knows autoconf better than me.
My version has my "unhack" enabled to allow it to function correctly with curl and openssl s_client.
#122 (comment)
atfork.c was modified like this:
#ifdef __WIN32__
# include <winsock2.h>
#else
# include <sys/socket.h>
#endif
Anyway, you have libp11.dll and pkcs11.dll conveniently compiled in src.libs
It works fine with my libcurl based app and it is all I care about.
libp11-master.zip
from libp11.
IMO the best solution would be to fix examples to be mingw friendly - without terminal I/O interface.
from libp11.
I agree. Please submit a pull request.
from libp11.
Submitted
#125
IMO the correct solution to this bug is to copy pkcs11.dll (or pkcs11.so) to the engine folder before creating the symbolic link:
install-exec-hook:
cp -pR -f .libs/pkcs11$(SHARED_EXT) $(DESTDIR)$(enginesdir)/pkcs11$(SHARED_EXT) \
&& cd '$(DESTDIR)$(enginesdir)' && $(LN_S) -f pkcs11$(SHARED_EXT) libpkcs11$(SHARED_EXT)
from libp11.
#125 was merged.
from libp11.
Related Issues (20)
- PKCS11_store_certificate generates CKR_ATTRIBUTE_TYPE_INVALID error HOT 8
- Segmentation Fault in pkcs11_get_session when signing with proCertum card HOT 2
- User not logged in after logging in HOT 8
- Private key received via ENGINE_load_private_key from pkcs11.so ENGINE not freeβd by EVP_PKEY_free
- OpenSSL Update CKM_RSA_PKCS_PSS/CKM_RSA_X_509 HOT 2
- Cryptoki - CKR_ARGUMENTS_BAD connecting MQTT with pkcs11 using ATECC608B
- libp11 hangs/deadlocks in p11_slot.c:pkcs11_get_session()
- Softhsm2 blames pcks11.so for heap corruption segfault
- Library cleanup issues with OpenSSL - libp11 - yubihsm_pkcs11.so chain
- Loading `libpkcs11.so` from program with statically compiled OpenSSL? HOT 11
- Softhsm and PKCS11 OpenSSL engine not working HOT 6
- Max PKCS#11 id URI length of 100 characters? HOT 9
- PIN asked twice, and no way to pass it from outside
- segmentation violation getting RSA key on F40 HOT 2
- sbsign crashes in pkcs11.so while signing an (EFI) image
- Is force_login supposed to prompt user to re-enter their PIN?
- How to get libpkcs11.so on Embedded ARM Linux?
- How to build libp11 in ARM aarch64 HOT 1
- How to generate ECC keypair by p11? HOT 12
- PKCS11_get_private_key() api not compactible with different version of libcryptoauth
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libp11.