{"action":"closed","issue":{"url":"https://api.github.com/repos/romanz/trezor-agent/issues/165","repository_url":"https://api.github.com/repos/romanz/trezor-agent","labels_url":"https://api.github.com/repos/romanz/trezor-agent/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/romanz/trezor-agent/issues/165/comments","events_url":"https://api.github.com/repos/romanz/trezor-agent/issues/165/events","html_url":"https://github.com/romanz/trezor-agent/issues/165","id":273048678,"number":165,"title":"PIN entry fails after setup","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},"labels":[{"id":221247895,"url":"https://api.github.com/repos/romanz/trezor-agent/labels/bug","name":"bug","color":"fc2929","default":true},{"id":312315608,"url":"https://api.github.com/repos/romanz/trezor-agent/labels/GPG","name":"GPG","color":"0052cc","default":false},{"id":474040698,"url":"https://api.github.com/repos/romanz/trezor-agent/labels/installation","name":"installation","color":"d4c5f9","default":false}],"state":"closed","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":0,"created_at":"2017-11-10T20:23:49Z","updated_at":"2017-11-16T20:12:00Z","closed_at":"2017-11-16T20:12:00Z","author_association":"OWNER","body":"```\r\n$ killall trezor-gpg-agent\r\n$ trezor-gpg init \"Roman Zeyde <roman.zeyde@gmail.com>\" -v\r\nUse the numeric keypad to describe number positions. The layout is:\r\n    7 8 9\r\n    4 5 6\r\n    1 2 3\r\nPlease enter current PIN: \r\n\r\n2017-11-10 22:19:23,582 INFO         creating new nist256p1 GPG primary key for \"Roman Zeyde <roman.zeyde@gmail.com>\"                     [__init__.py:62]\r\n2017-11-10 22:19:23,582 INFO         please confirm GPG signature on Trezor for \"<gpg://Roman Zeyde <roman.zeyde@gmail.com>|nist256p1>\"... [client.py:35]\r\n2017-11-10 22:19:25,813 INFO         please confirm GPG signature on Trezor for \"<gpg://Roman Zeyde <roman.zeyde@gmail.com>|nist256p1>\"... [client.py:35]\r\ngpg: inserting ownertrust of 6\r\ngpg: checking the trustdb\r\ngpg: marginals needed: 3  completes needed: 1  trust model: PGP\r\ngpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u\r\n/home/roman/.gnupg/trezor/pubring.kbx\r\n-------------------------------------\r\nsec   nistp256/0A133CA3 2017-11-10 [SC]\r\nuid         [ultimate] Roman Zeyde <roman.zeyde@gmail.com>\r\nssb   nistp256/276C82DC 2017-11-10 [E]\r\n\r\n$ trezorctl clear_session\r\nSession cleared\r\n$ echo 123 | gpg2 --sign -a\r\ngpg: using \"Roman Zeyde <roman.zeyde@gmail.com>\" as default secret key for signing\r\ngpg: signing failed: End of file\r\n-----BEGIN PGP MESSAGE-----\r\nVersion: GnuPG v2\r\n\r\ngpg: signing failed: End of file\r\n$ killall trezor-gpg-agent\r\n$ echo 123 | gpg2 --sign -a\r\ngpg: using \"Roman Zeyde <roman.zeyde@gmail.com>\" as default secret key for signing\r\n-----BEGIN PGP MESSAGE-----\r\nVersion: GnuPG v2\r\n\r\nowGbwMvMwCV8zX3aRC5hm8WMpzmTGKLYOH8ZGnF1xLEwCHMxsLEygQQYuDgFYKqU\r\nyhj+Gfs8E9II3ZYXq7Nxl2d4fVK53TN5EQYRaQ3F2Wdnnz/ykuGf5t+2YF99E4UY\r\nMfG9Qp2egbJfyg0lpWyux5abLNRrU2YBAA==\r\n=c19V\r\n-----END PGP MESSAGE-----\r\n$ \r\n```\r\n`gpg-agent.log` contains:\r\n```\r\n2017-11-10 22:19:37,811 ERROR        PIN entry failed: b'Traceback (most recent call last):\\n  File \"<string>\", line 1, in <module>\\n  File \"/home/roman/.local/lib/python3.5/site-packages/pymsgbox/__init__.py\", line 118, in password\\n    return __fillablebox(text, title, default, mask=mask, root=root, timeout=timeout)\\n  File \"/home/roman/.local/lib/python3.5/site-packages/pymsgbox/__init__.py\", line 282, in __fillablebox\\n    boxRoot = tk.Tk()\\n  File \"/usr/lib/python3.5/tkinter/__init__.py\", line 1871, in __init__\\n    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)\\n_tkinter.TclError: no display name and no $DISPLAY environment variable\\n' [trezor.py:33]\r\n2017-11-10 22:19:37,811 ERROR        ping failed: Command '['/usr/bin/python3', '-c', 'import sys, pymsgbox; sys.stdout.write(pymsgbox.password(sys.stdin.read()))']' returned non-zero exit status 1 [trezor.py:92]\r\n```"}}
{"actor":{"display_login":"romanz"}}