{"action":"closed","issue":{"url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1268","repository_url":"https://api.github.com/repos/OpenSC/OpenSC","labels_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1268/labels{/name}","comments_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1268/comments","events_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/1268/events","html_url":"https://github.com/OpenSC/OpenSC/issues/1268","id":298084300,"number":1268,"title":"PKCS11-Spy - how to log and can it help me with the error CKR_ATTRIBUTE_TYPE_INVALID?","user":{"login":"victorqedu","id":18734426,"avatar_url":"https://avatars0.githubusercontent.com/u/18734426?v=4","gravatar_id":"","url":"https://api.github.com/users/victorqedu","html_url":"https://github.com/victorqedu","followers_url":"https://api.github.com/users/victorqedu/followers","following_url":"https://api.github.com/users/victorqedu/following{/other_user}","gists_url":"https://api.github.com/users/victorqedu/gists{/gist_id}","starred_url":"https://api.github.com/users/victorqedu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorqedu/subscriptions","organizations_url":"https://api.github.com/users/victorqedu/orgs","repos_url":"https://api.github.com/users/victorqedu/repos","events_url":"https://api.github.com/users/victorqedu/events{/privacy}","received_events_url":"https://api.github.com/users/victorqedu/received_events","type":"User","site_admin":false},"labels":[{"id":140753840,"url":"https://api.github.com/repos/OpenSC/OpenSC/labels/Support","name":"Support","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-18T13:20:30Z","updated_at":"2018-04-12T10:10:15Z","closed_at":"2018-04-12T10:10:15Z","author_association":"NONE","body":"Hello, I'm not sure I write in the right place.\r\n\r\nI have a JAVA app and I use many models of PKCS11 tokens. This week I found a model that gives me the error CKR_ATTRIBUTE_TYPE_INVALID when I execute \"keystorePkcs11.getKey(alias, pass);\". This token works well with other pograms made in other programming languages.\r\n\r\nI read that this means that JAVA is requesting a property that is not present in the object returned.\r\nCan OpenSC help me find this property / diagnose this issue?\r\n\r\nI tried to use PKCS11-Spy but nothing  gets logged in the file configured in the windows registry.\r\nI configured: HKLM\\Software\\OpenSC Project\\PKCS11-Spy\\Module with th DLL I use to  acces the token.\r\nFile %TEMP%\\pkcs11-spy.log is not created. How can I activate PKCS11-Spy?\r\n\r\nThank you,\r\nVictor S.\r\n\r\n"}}
{"actor":{"display_login":"frankmorgner"}}