{"action":"opened","issue":{"url":"https://api.github.com/repos/ThomasHabets/simple-tpm-pk11/issues/25","labels_url":"https://api.github.com/repos/ThomasHabets/simple-tpm-pk11/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/ThomasHabets/simple-tpm-pk11/issues/25/comments","events_url":"https://api.github.com/repos/ThomasHabets/simple-tpm-pk11/issues/25/events","html_url":"https://github.com/ThomasHabets/simple-tpm-pk11/issues/25","id":122050301,"number":25,"title":"Extracting public key fails","user":{"login":"Cavka","id":1324273,"avatar_url":"https://avatars.githubusercontent.com/u/1324273?v=3","gravatar_id":"","url":"https://api.github.com/users/Cavka","html_url":"https://github.com/Cavka","followers_url":"https://api.github.com/users/Cavka/followers","following_url":"https://api.github.com/users/Cavka/following{/other_user}","gists_url":"https://api.github.com/users/Cavka/gists{/gist_id}","starred_url":"https://api.github.com/users/Cavka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cavka/subscriptions","organizations_url":"https://api.github.com/users/Cavka/orgs","repos_url":"https://api.github.com/users/Cavka/repos","events_url":"https://api.github.com/users/Cavka/events{/privacy}","received_events_url":"https://api.github.com/users/Cavka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-14T14:12:32Z","updated_at":"2015-12-14T14:12:32Z","closed_at":null,"body":"Creating and signing works fine but when I try to extract the public key in SSH format I get:\r\n\r\n>~/.simple-tpm-pk11$ ssh-keygen -D libsimple-tpm-pk11.so\r\n>C_GetTokenInfo failed: 6\r\n>no keys\r\n>cannot read public key from pkcs11\r\n\r\nCan it be related to the fact that I have SRK password set? The log is empty and my config is:\r\n\r\n>~/.simple-tpm-pk11$ ls\r\n>config  key.log  ssh.key\r\n>~/.simple-tpm-pk11$ cat config \r\n>key ssh.key\r\n>log key.log"}}