{"action":"opened","issue":{"url":"https://api.github.com/repos/OpenSC/OpenSC/issues/397","labels_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/397/comments","events_url":"https://api.github.com/repos/OpenSC/OpenSC/issues/397/events","html_url":"https://github.com/OpenSC/OpenSC/issues/397","id":63401914,"number":397,"title":"Enhancement: add \"allowed_readers\" parameter to OpenSC PKCS11 module","user":{"login":"anstein","id":4296406,"avatar_url":"https://avatars.githubusercontent.com/u/4296406?v=3","gravatar_id":"","url":"https://api.github.com/users/anstein","html_url":"https://github.com/anstein","followers_url":"https://api.github.com/users/anstein/followers","following_url":"https://api.github.com/users/anstein/following{/other_user}","gists_url":"https://api.github.com/users/anstein/gists{/gist_id}","starred_url":"https://api.github.com/users/anstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anstein/subscriptions","organizations_url":"https://api.github.com/users/anstein/orgs","repos_url":"https://api.github.com/users/anstein/repos","events_url":"https://api.github.com/users/anstein/events{/privacy}","received_events_url":"https://api.github.com/users/anstein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-21T13:04:01Z","updated_at":"2015-03-21T13:04:01Z","closed_at":null,"body":"Unfortunately \"ignored_readers\" can't be used in the following case:\r\n\r\n\"reader-name\"                           <=== to be ignored\r\n\"reader-name (serial)\"           <=== to be used\r\n\r\nUsing an \"allowed_readers\" parameter neatly fixes this.\r\n\r\nPatch for opensc-0.14.0:\r\nhttps://gist.github.com/anstein/eb1ed5f0f91ddd5f051c"}}