{"action":"created","issue":{"url":"https://api.github.com/repos/Yubico/yubico-piv-tool/issues/44","labels_url":"https://api.github.com/repos/Yubico/yubico-piv-tool/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/Yubico/yubico-piv-tool/issues/44/comments","events_url":"https://api.github.com/repos/Yubico/yubico-piv-tool/issues/44/events","html_url":"https://github.com/Yubico/yubico-piv-tool/issues/44","id":120037399,"number":44,"title":"Key-pair generation doesn't work via PKCS11 library","user":{"login":"denisenkom","id":2815692,"avatar_url":"https://avatars.githubusercontent.com/u/2815692?v=3","gravatar_id":"","url":"https://api.github.com/users/denisenkom","html_url":"https://github.com/denisenkom","followers_url":"https://api.github.com/users/denisenkom/followers","following_url":"https://api.github.com/users/denisenkom/following{/other_user}","gists_url":"https://api.github.com/users/denisenkom/gists{/gist_id}","starred_url":"https://api.github.com/users/denisenkom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisenkom/subscriptions","organizations_url":"https://api.github.com/users/denisenkom/orgs","repos_url":"https://api.github.com/users/denisenkom/repos","events_url":"https://api.github.com/users/denisenkom/events{/privacy}","received_events_url":"https://api.github.com/users/denisenkom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-02T21:15:35Z","updated_at":"2015-12-03T20:32:02Z","closed_at":null,"body":"This command fails:\r\n```\r\npkcs11-tool --module libykcs11.dylib -k --key-type rsa:2048 --usage-sign --usage-decrypt --login --id 01\r\n```\r\nOutput:\r\n```\r\nUsing slot 0 with a present token (0x0)\r\nLogging in to \"YubiKey PIV\".\r\nPlease enter User PIN: \r\nerror: PKCS11 function C_GenerateKeyPair failed: rv = CKR_DEVICE_ERROR (0x30)\r\n\r\nAborting.\r\n```"},"comment":{"url":"https://api.github.com/repos/Yubico/yubico-piv-tool/issues/comments/161774124","html_url":"https://github.com/Yubico/yubico-piv-tool/issues/44#issuecomment-161774124","issue_url":"https://api.github.com/repos/Yubico/yubico-piv-tool/issues/44","id":161774124,"user":{"login":"denisenkom","id":2815692,"avatar_url":"https://avatars.githubusercontent.com/u/2815692?v=3","gravatar_id":"","url":"https://api.github.com/users/denisenkom","html_url":"https://github.com/denisenkom","followers_url":"https://api.github.com/users/denisenkom/followers","following_url":"https://api.github.com/users/denisenkom/following{/other_user}","gists_url":"https://api.github.com/users/denisenkom/gists{/gist_id}","starred_url":"https://api.github.com/users/denisenkom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisenkom/subscriptions","organizations_url":"https://api.github.com/users/denisenkom/orgs","repos_url":"https://api.github.com/users/denisenkom/repos","events_url":"https://api.github.com/users/denisenkom/events{/privacy}","received_events_url":"https://api.github.com/users/denisenkom/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T20:32:02Z","updated_at":"2015-12-03T20:32:02Z","body":"Thanks for the clarification"}}