-
Notifications
You must be signed in to change notification settings - Fork 712
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
Release 0.19.0-rc1 problems with opensc-pkcs11 #1461
Comments
Searching for In depends output "Error: Modules with different CPU types were found." |
This is required when compiling VS 2015 and higher |
pkcs11-tool from 64 bit works as expected. pkcs15-tool both 64 and 32 appear to work. (no pin needed). Depends of opensc.dll does not have the "Error: Modules with different CPU types were found." on either version. Depends for 64 bit opensc-pkcs11.dll does not have the "Error: Modules with different CPU types were found." I have a few events from 32 bit programs. Looks like some failure in opensc.dll
|
After looking at madler/zlib#200 appears to address this, and they have trun off using ASM in GZIP. What version of GZIP are we building on Windows? https://github.com/OpenSC/OpenSC/wiki/Compiling-on-Windows says to compile with:
|
The build script is available at https://github.com/OpenSC/OpenSC/blob/master/appveyor.yml. The problems reported by dependency walker are looking like false positives, see this post. Can you track down the actual problems of OpenSC with the faulting applications? |
Please try the builds in https://github.com/OpenSC/Nightly/tree/2018-08-30_2ae02e98 |
https://github.com/OpenSC/Nightly/tree/2018-08-30_2ae02e98 I was using: OpenSC-win32_vs14-Release.msi and OpenSC-win64_vs14-Release.msi The Travis build file OpenSC-0.19.0.exe in 2018-08-30_2ae02e98 uses different paths and I get a message box: "... libopensc-6.dll was not found..." I see some of the previous nightly builds are missing the AppVeyor build files too. |
Also looks like Appveyor caches C:\zlib (source) and caches "C:\zlib-${env:OPENSSL_PF}" (zlib.dll) so zlib may not be rebuilt even with the change.
|
read on, my dear! a change in appveyor.yml invalidates the cache. binaries are now available. |
both 32 and 64 bit now work with cards with gzipped certificates. tested using pkcs11-tool --test --login https://github.com/OpenSC/Nightly/blob/2018-08-30_2ae02e98/OpenSC-win64_vs14-Release.msi |
Problem Description
0.19.0-rc1 opensc-pkcs11.dll fails.
Attempting to use pkcs11-tool show that it gets started, as the card driver is able to read certificates off the card, but then the debug log just ends and command exits.
It looks like some dependencies are missing in opensc-pkcs11.dll
This appears to be the same problem as #1455 and may be related.
Running on Windows 10 Pro 64bit with 1803
Proposed Resolution
Steps to reproduce
C:\Program Files (x86)\OpenSC Project\OpenSC\tools>pkcs11-tool --test --login -p 123456 > \tmp\xxx.txt 2>&1
Logs
It appears the log is not flushed, so the problem does not show up.
xxx.txt
The text was updated successfully, but these errors were encountered: