{"action":"created","issue":{"url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1118","repository_url":"https://api.github.com/repos/OpenSC/OpenSC","labels_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1118/labels{/name}","comments_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1118/comments","events_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1118/events","html_url":"https://github.com/OpenSC/OpenSC/issues/1118","id":247386918,"number":1118,"title":"CKR_GENERAL_ERROR when try to authentcate website","user":{"login":"vosskaem","id":3128484,"avatar_url":"https://avatars1.githubusercontent.com/u/3128484?v=4","gravatar_id":"","url":"https://api.github.com/users/vosskaem","html_url":"https://github.com/vosskaem","followers_url":"https://api.github.com/users/vosskaem/followers","following_url":"https://api.github.com/users/vosskaem/following{/other_user}","gists_url":"https://api.github.com/users/vosskaem/gists{/gist_id}","starred_url":"https://api.github.com/users/vosskaem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vosskaem/subscriptions","organizations_url":"https://api.github.com/users/vosskaem/orgs","repos_url":"https://api.github.com/users/vosskaem/repos","events_url":"https://api.github.com/users/vosskaem/events{/privacy}","received_events_url":"https://api.github.com/users/vosskaem/received_events","type":"User","site_admin":false},"labels":[{"id":140752699,"url":"https://api.github.com/repos/OpenSC/OpenSC/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":551861122,"url":"https://api.github.com/repos/OpenSC/OpenSC/labels/Input%20needed","name":"Input needed","color":"AAAAAA","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2017-08-02T13:22:04Z","updated_at":"2017-08-07T16:11:27Z","closed_at":null,"body":"### Problem Description\r\n\r\nTrying to login into a website and authenticate with corporate id card which works under Windows with cardos.\r\n\r\nUsing OpenSC-0.16.0-321-g3d187d9, rev: 3d187d9, commit-time: 2017-08-02 11:23:43 +0200\r\n$ opensc-tool -n\r\nUsing reader with a card: OMNIKEY AG CardMan 3121 00 00\r\nCardOS M4\r\n\r\n\r\n### Steps to reproduce\r\n\r\npkcs11-tool --module /usr/local/lib/opensc-pkcs11.so -t -l\r\n\r\n### Logs\r\n\r\n(...)\r\n0x7fa965a12700 14:49:07.724 [opensc-pkcs11] reader-pcsc.c:662:pcsc_unlock: called\r\n0x7fa965a12700 14:49:07.733 [opensc-pkcs11] framework-pkcs15.c:1472:pkcs15_release_token: pkcs15_release_token() not implemented\r\n0x7fa965a12700 14:49:07.733 [opensc-pkcs11] slot.c:474:slot_token_removed: slot_token_removed(0x1)\r\n0x7fa965a12700 14:49:07.733 [opensc-pkcs11] pkcs11-session.c:140:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x1) 0\r\n0x7fa965a12700 14:49:07.734 [opensc-pkcs11] slot.c:474:slot_token_removed: slot_token_removed(0x2)\r\n0x7fa965a12700 14:49:07.734 [opensc-pkcs11] pkcs11-session.c:140:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x2) 0\r\n0x7fa965a12700 14:49:07.734 [opensc-pkcs11] slot.c:474:slot_token_removed: slot_token_removed(0x3)\r\n0x7fa965a12700 14:49:07.734 [opensc-pkcs11] pkcs11-session.c:140:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x3) 0\r\n0x7fa965a12700 14:49:07.734 [opensc-pkcs11] pkcs15.c:1273:sc_pkcs15_unbind: called\r\n0x7fa965a12700 14:49:07.734 [opensc-pkcs11] pkcs15-pin.c:826:sc_pkcs15_pincache_clear: called\r\n0x7fa965a12700 14:49:07.734 [opensc-pkcs11] misc.c:61:sc_to_cryptoki_error_common: libopensc return value: 0 (Success)\r\n0x7fa965a12700 14:49:07.734 [opensc-pkcs11] card.c:346:sc_disconnect_card: called\r\n0x7fa965a12700 14:49:07.758 [opensc-pkcs11] reader-pcsc.c:597:pcsc_disconnect: OMNIKEY AG CardMan 3121 00 00:SCardDisconnect returned: 0x00000000\r\n0x7fa965a12700 14:49:07.758 [opensc-pkcs11] card.c:368:sc_disconnect_card: returning with: 0 (Success)\r\n0x7fa965a12700 14:49:07.758 [opensc-pkcs11] ctx.c:870:sc_release_context: called\r\n0x7fa965a12700 14:49:07.758 [opensc-pkcs11] reader-pcsc.c:896:pcsc_finish: called\r\nerror: PKCS11 function C_SignFinal failed: rv = CKR_GENERAL_ERROR (0x5)\r\nAborting.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OpenSC/OpenSC/issues/comments/320708006","html_url":"https://github.com/OpenSC/OpenSC/issues/1118#issuecomment-320708006","issue_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1118","id":320708006,"user":{"login":"vosskaem","id":3128484,"avatar_url":"https://avatars1.githubusercontent.com/u/3128484?v=4","gravatar_id":"","url":"https://api.github.com/users/vosskaem","html_url":"https://github.com/vosskaem","followers_url":"https://api.github.com/users/vosskaem/followers","following_url":"https://api.github.com/users/vosskaem/following{/other_user}","gists_url":"https://api.github.com/users/vosskaem/gists{/gist_id}","starred_url":"https://api.github.com/users/vosskaem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vosskaem/subscriptions","organizations_url":"https://api.github.com/users/vosskaem/orgs","repos_url":"https://api.github.com/users/vosskaem/repos","events_url":"https://api.github.com/users/vosskaem/events{/privacy}","received_events_url":"https://api.github.com/users/vosskaem/received_events","type":"User","site_admin":false},"created_at":"2017-08-07T16:11:27Z","updated_at":"2017-08-07T16:11:27Z","body":"Can you please revert that in upstream too?\r\nHow can I get that running quick?"}}
{"actor":{"display_login":"vosskaem"}}