{"action":"created","issue":{"url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1461","repository_url":"https://api.github.com/repos/OpenSC/OpenSC","labels_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1461/labels{/name}","comments_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1461/comments","events_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1461/events","html_url":"https://github.com/OpenSC/OpenSC/issues/1461","id":355237285,"node_id":"MDU6SXNzdWUzNTUyMzcyODU=","number":1461,"title":"Release 0.19.0-rc1 problems with opensc-pkcs11","user":{"login":"dengert","id":865329,"node_id":"MDQ6VXNlcjg2NTMyOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/865329?v=4","gravatar_id":"","url":"https://api.github.com/users/dengert","html_url":"https://github.com/dengert","followers_url":"https://api.github.com/users/dengert/followers","following_url":"https://api.github.com/users/dengert/following{/other_user}","gists_url":"https://api.github.com/users/dengert/gists{/gist_id}","starred_url":"https://api.github.com/users/dengert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dengert/subscriptions","organizations_url":"https://api.github.com/users/dengert/orgs","repos_url":"https://api.github.com/users/dengert/repos","events_url":"https://api.github.com/users/dengert/events{/privacy}","received_events_url":"https://api.github.com/users/dengert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-29T16:23:08Z","updated_at":"2018-08-30T01:09:44Z","closed_at":null,"author_association":"MEMBER","body":"### Problem Description\r\n0.19.0-rc1 opensc-pkcs11.dll fails. \r\n \r\nAttempting 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. \r\n\r\n It looks like some dependencies are missing in opensc-pkcs11.dll\r\n\r\n![opensc-pkcs11 dll-0 19 0-rc1-depends](https://user-images.githubusercontent.com/865329/44800034-064f7d80-ab7b-11e8-915a-09e1e08eceb9.PNG)\r\n\r\nThis appears to be the same problem as #1455 and may be related. \r\n\r\nRunning on Windows 10 Pro 64bit  with 1803 \r\n\r\n\r\n<!--\r\nPlease read about [reporting bugs](https://github.com/OpenSC/OpenSC/wiki/How-to-report-bugs-so-that-they-can-be-fixed) before opening an issue.\r\n-->\r\n\r\n### Proposed Resolution\r\n\r\n### Steps to reproduce\r\n\r\nC:\\Program Files (x86)\\OpenSC Project\\OpenSC\\tools>pkcs11-tool --test --login -p 123456  > \\tmp\\xxx.txt 2>&1\r\n### Logs\r\n\r\nIt appears the log is not flushed, so the problem does not show up.\r\n\r\n[xxx.txt](https://github.com/OpenSC/OpenSC/files/2332895/xxx.txt)\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OpenSC/OpenSC/issues/comments/417156829","html_url":"https://github.com/OpenSC/OpenSC/issues/1461#issuecomment-417156829","issue_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1461","id":417156829,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzE1NjgyOQ==","user":{"login":"dengert","id":865329,"node_id":"MDQ6VXNlcjg2NTMyOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/865329?v=4","gravatar_id":"","url":"https://api.github.com/users/dengert","html_url":"https://github.com/dengert","followers_url":"https://api.github.com/users/dengert/followers","following_url":"https://api.github.com/users/dengert/following{/other_user}","gists_url":"https://api.github.com/users/dengert/gists{/gist_id}","starred_url":"https://api.github.com/users/dengert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dengert/subscriptions","organizations_url":"https://api.github.com/users/dengert/orgs","repos_url":"https://api.github.com/users/dengert/repos","events_url":"https://api.github.com/users/dengert/events{/privacy}","received_events_url":"https://api.github.com/users/dengert/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T01:09:44Z","updated_at":"2018-08-30T01:09:44Z","author_association":"MEMBER","body":"After looking at `opensc.pdb` files and the event log, it looks like there is a problem at line Line 669 of inffas32.asm of the GZIP routines. The failures I see are all using 32 bit code and the cards that failed all have GZIP certificates. The card with uncompressed certificates work.\r\n\r\nhttps://github.com/madler/zlib/issues/200 appears to address this, and they have trun off using ASM in GZIP.\r\n\r\nWhat version of GZIP are we building on Windows?\r\n\r\nhttps://github.com/OpenSC/OpenSC/wiki/Compiling-on-Windows says to compile with:\r\n\r\n`nmake -f win32/Makefile.msc LOC=\"-DASMV -DASMINF\" OBJA=\"inffas32.obj match686.obj\" zlib.lib`\r\nCan we comple the 32 bit version at least without  `-DASMV -DASMINF`\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"dengert"}}