{"action":"created","issue":{"url":"https://api.github.com/repos/romanz/trezor-agent/issues/157","repository_url":"https://api.github.com/repos/romanz/trezor-agent","labels_url":"https://api.github.com/repos/romanz/trezor-agent/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/romanz/trezor-agent/issues/157/comments","events_url":"https://api.github.com/repos/romanz/trezor-agent/issues/157/events","html_url":"https://github.com/romanz/trezor-agent/issues/157","id":267448630,"number":157,"title":"trezor-agent segfault","user":{"login":"galuszkak","id":759579,"avatar_url":"https://avatars0.githubusercontent.com/u/759579?v=4","gravatar_id":"","url":"https://api.github.com/users/galuszkak","html_url":"https://github.com/galuszkak","followers_url":"https://api.github.com/users/galuszkak/followers","following_url":"https://api.github.com/users/galuszkak/following{/other_user}","gists_url":"https://api.github.com/users/galuszkak/gists{/gist_id}","starred_url":"https://api.github.com/users/galuszkak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galuszkak/subscriptions","organizations_url":"https://api.github.com/users/galuszkak/orgs","repos_url":"https://api.github.com/users/galuszkak/repos","events_url":"https://api.github.com/users/galuszkak/events{/privacy}","received_events_url":"https://api.github.com/users/galuszkak/received_events","type":"User","site_admin":false},"labels":[{"id":312315404,"url":"https://api.github.com/repos/romanz/trezor-agent/labels/MacOS","name":"MacOS","color":"fbca04","default":false},{"id":221247895,"url":"https://api.github.com/repos/romanz/trezor-agent/labels/bug","name":"bug","color":"fc2929","default":true},{"id":221247898,"url":"https://api.github.com/repos/romanz/trezor-agent/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":{"login":"romanz","id":9900,"avatar_url":"https://avatars1.githubusercontent.com/u/9900?v=4","gravatar_id":"","url":"https://api.github.com/users/romanz","html_url":"https://github.com/romanz","followers_url":"https://api.github.com/users/romanz/followers","following_url":"https://api.github.com/users/romanz/following{/other_user}","gists_url":"https://api.github.com/users/romanz/gists{/gist_id}","starred_url":"https://api.github.com/users/romanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanz/subscriptions","organizations_url":"https://api.github.com/users/romanz/orgs","repos_url":"https://api.github.com/users/romanz/repos","events_url":"https://api.github.com/users/romanz/events{/privacy}","received_events_url":"https://api.github.com/users/romanz/received_events","type":"User","site_admin":false},"assignees":[{"login":"romanz","id":9900,"avatar_url":"https://avatars1.githubusercontent.com/u/9900?v=4","gravatar_id":"","url":"https://api.github.com/users/romanz","html_url":"https://github.com/romanz","followers_url":"https://api.github.com/users/romanz/followers","following_url":"https://api.github.com/users/romanz/following{/other_user}","gists_url":"https://api.github.com/users/romanz/gists{/gist_id}","starred_url":"https://api.github.com/users/romanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanz/subscriptions","organizations_url":"https://api.github.com/users/romanz/orgs","repos_url":"https://api.github.com/users/romanz/repos","events_url":"https://api.github.com/users/romanz/events{/privacy}","received_events_url":"https://api.github.com/users/romanz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":34,"created_at":"2017-10-22T09:08:56Z","updated_at":"2018-02-28T19:38:57Z","closed_at":null,"author_association":"NONE","body":"From time to time, after maybe 5-10 min of not using trezor (in that time it's working fine) until I have this issue/error:\r\n\r\n```\r\nkamil@Kamils-MacBook-Pro:~/Projects/myproject (feature/mybranch) % git fetch\r\nsign_and_send_pubkey: signing failed: communication with agent failed\r\n2017-10-22 13:06:04,746 WARNING      error: Unknown HID version                                                                           [server.py:63]\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.6/site-packages/libagent-0.9.5-py3.6.egg/libagent/server.py\", line 58, in handle_connection\r\n    reply = handler.handle(msg=msg)\r\n  File \"/usr/local/lib/python3.6/site-packages/libagent-0.9.5-py3.6.egg/libagent/ssh/protocol.py\", line 103, in handle\r\n    reply = method(buf=buf)\r\n  File \"/usr/local/lib/python3.6/site-packages/libagent-0.9.5-py3.6.egg/libagent/ssh/protocol.py\", line 144, in sign_message\r\n    signature = self.conn.sign(blob=blob, identity=key['identity'])\r\n  File \"/usr/local/lib/python3.6/site-packages/libagent-0.9.5-py3.6.egg/libagent/ssh/__init__.py\", line 186, in sign\r\n    return conn.sign_ssh_challenge(blob=blob, identity=identity)\r\n  File \"/usr/local/lib/python3.6/site-packages/libagent-0.9.5-py3.6.egg/libagent/ssh/client.py\", line 48, in sign_ssh_challenge\r\n    with self.device:\r\n  File \"/usr/local/lib/python3.6/site-packages/libagent-0.9.5-py3.6.egg/libagent/device/interface.py\", line 118, in __enter__\r\n    self.conn = self.connect()\r\n  File \"/usr/local/lib/python3.6/site-packages/libagent-0.9.5-py3.6.egg/libagent/device/trezor.py\", line 56, in connect\r\n    transport = self._defs.Transport(d)\r\n  File \"/usr/local/lib/python3.6/site-packages/trezorlib/transport_hid.py\", line 166, in HidTransport\r\n    return transport(device, *args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/trezorlib/transport_hid.py\", line 72, in __init__\r\n    super(_HidTransport, self).__init__(device, *args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/trezorlib/transport.py\", line 39, in __init__\r\n    self._open()\r\n  File \"/usr/local/lib/python3.6/site-packages/trezorlib/transport_hid.py\", line 100, in _open\r\n    raise ConnectionError(\"Unknown HID version\")\r\ntrezorlib.transport.ConnectionError: Unknown HID version\r\nPermission denied (publickey).\r\nfatal: Could not read from remote repository.\r\n\r\nPlease make sure you have the correct access rights\r\nand the repository exists.\r\nkamil@Kamils-MacBook-Pro:~/Projects/myproject (feature/mybranch) % git fetch\r\nsign_and_send_pubkey: signing failed: communication with agent failed\r\n[1]    68885 segmentation fault  trezor-agent kamil@example.com -s\r\n```"},"comment":{"url":"https://api.github.com/repos/romanz/trezor-agent/issues/comments/369357748","html_url":"https://github.com/romanz/trezor-agent/issues/157#issuecomment-369357748","issue_url":"https://api.github.com/repos/romanz/trezor-agent/issues/157","id":369357748,"user":{"login":"romanz","id":9900,"avatar_url":"https://avatars1.githubusercontent.com/u/9900?v=4","gravatar_id":"","url":"https://api.github.com/users/romanz","html_url":"https://github.com/romanz","followers_url":"https://api.github.com/users/romanz/followers","following_url":"https://api.github.com/users/romanz/following{/other_user}","gists_url":"https://api.github.com/users/romanz/gists{/gist_id}","starred_url":"https://api.github.com/users/romanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanz/subscriptions","organizations_url":"https://api.github.com/users/romanz/orgs","repos_url":"https://api.github.com/users/romanz/repos","events_url":"https://api.github.com/users/romanz/events{/privacy}","received_events_url":"https://api.github.com/users/romanz/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T19:38:57Z","updated_at":"2018-02-28T19:38:57Z","author_association":"OWNER","body":"Thanks for letting me know about Krypton :)\r\nWill try it out later this week."}}
{"actor":{"display_login":"romanz"}}