{"action":"created","comment":{"url":"https://api.github.com/repos/keybase/gregor/pulls/comments/60508942","id":60508942,"diff_hunk":"@@ -0,0 +1,89 @@\n+package main\n+\n+import (\n+\t\"crypto/tls\"\n+\t\"flag\"\n+\t\"fmt\"\n+\t\"log\"\n+\t\"time\"\n+\n+\tkeybase1 \"github.com/keybase/client/go/protocol\"\n+\trpc \"github.com/keybase/go-framed-msgpack-rpc\"\n+\t\"github.com/keybase/gregor/protocol/gregor1\"\n+\t\"golang.org/x/net/context\"\n+)\n+\n+var (\n+\ttok, addr string\n+)\n+\n+func init() {\n+\tflag.StringVar(&tok, \"auth-tok\", \"\", \"Authenitcation token\")\n+\tflag.StringVar(&addr, \"remote\", \"\", \"Remote address to test\")\n+}\n+\n+func main() {\n+\tflag.Parse()\n+\tconn, err := tls.Dial(\"tcp\", addr, &tls.Config{InsecureSkipVerify: true})","path":"test/gregorcli/main.go","position":27,"original_position":27,"commit_id":"e49430807c070d3b64917749b8b23a178aeb0296","original_commit_id":"e49430807c070d3b64917749b8b23a178aeb0296","user":{"login":"maxtaco","id":866815,"avatar_url":"https://avatars.githubusercontent.com/u/866815?v=3","gravatar_id":"","url":"https://api.github.com/users/maxtaco","html_url":"https://github.com/maxtaco","followers_url":"https://api.github.com/users/maxtaco/followers","following_url":"https://api.github.com/users/maxtaco/following{/other_user}","gists_url":"https://api.github.com/users/maxtaco/gists{/gist_id}","starred_url":"https://api.github.com/users/maxtaco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxtaco/subscriptions","organizations_url":"https://api.github.com/users/maxtaco/orgs","repos_url":"https://api.github.com/users/maxtaco/repos","events_url":"https://api.github.com/users/maxtaco/events{/privacy}","received_events_url":"https://api.github.com/users/maxtaco/received_events","type":"User","site_admin":false},"body":"Any more data?  What does the data look like?  What's the error message on authd?","created_at":"2016-04-21T00:11:20Z","updated_at":"2016-04-21T00:11:20Z","html_url":"https://github.com/keybase/gregor/pull/41#discussion_r60508942","pull_request_url":"https://api.github.com/repos/keybase/gregor/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/keybase/gregor/pulls/comments/60508942"},"html":{"href":"https://github.com/keybase/gregor/pull/41#discussion_r60508942"},"pull_request":{"href":"https://api.github.com/repos/keybase/gregor/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/keybase/gregor/pulls/41","id":67264671,"html_url":"https://github.com/keybase/gregor/pull/41","diff_url":"https://github.com/keybase/gregor/pull/41.diff","patch_url":"https://github.com/keybase/gregor/pull/41.patch","issue_url":"https://api.github.com/repos/keybase/gregor/issues/41","number":41,"state":"open","locked":false,"title":"[WIP] Gregord Test CLI","user":{"login":"jacobhaven","id":95305,"avatar_url":"https://avatars.githubusercontent.com/u/95305?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobhaven","html_url":"https://github.com/jacobhaven","followers_url":"https://api.github.com/users/jacobhaven/followers","following_url":"https://api.github.com/users/jacobhaven/following{/other_user}","gists_url":"https://api.github.com/users/jacobhaven/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobhaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobhaven/subscriptions","organizations_url":"https://api.github.com/users/jacobhaven/orgs","repos_url":"https://api.github.com/users/jacobhaven/repos","events_url":"https://api.github.com/users/jacobhaven/events{/privacy}","received_events_url":"https://api.github.com/users/jacobhaven/received_events","type":"User","site_admin":false},"body":"r? @maxtaco @patrickxb","created_at":"2016-04-20T21:51:52Z","updated_at":"2016-04-21T00:11:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e6a3f8e4d3909936a8d8952dc9bd83acd673e39","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/keybase/gregor/pulls/41/commits","review_comments_url":"https://api.github.com/repos/keybase/gregor/pulls/41/comments","review_comment_url":"https://api.github.com/repos/keybase/gregor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/keybase/gregor/issues/41/comments","statuses_url":"https://api.github.com/repos/keybase/gregor/statuses/e49430807c070d3b64917749b8b23a178aeb0296","head":{"label":"keybase:jacob/CORE-2936","ref":"jacob/CORE-2936","sha":"e49430807c070d3b64917749b8b23a178aeb0296","user":{"login":"keybase","id":5400834,"avatar_url":"https://avatars.githubusercontent.com/u/5400834?v=3","gravatar_id":"","url":"https://api.github.com/users/keybase","html_url":"https://github.com/keybase","followers_url":"https://api.github.com/users/keybase/followers","following_url":"https://api.github.com/users/keybase/following{/other_user}","gists_url":"https://api.github.com/users/keybase/gists{/gist_id}","starred_url":"https://api.github.com/users/keybase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keybase/subscriptions","organizations_url":"https://api.github.com/users/keybase/orgs","repos_url":"https://api.github.com/users/keybase/repos","events_url":"https://api.github.com/users/keybase/events{/privacy}","received_events_url":"https://api.github.com/users/keybase/received_events","type":"Organization","site_admin":false},"repo":{"id":53508286,"name":"gregor","full_name":"keybase/gregor","owner":{"login":"keybase","id":5400834,"avatar_url":"https://avatars.githubusercontent.com/u/5400834?v=3","gravatar_id":"","url":"https://api.github.com/users/keybase","html_url":"https://github.com/keybase","followers_url":"https://api.github.com/users/keybase/followers","following_url":"https://api.github.com/users/keybase/following{/other_user}","gists_url":"https://api.github.com/users/keybase/gists{/gist_id}","starred_url":"https://api.github.com/users/keybase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keybase/subscriptions","organizations_url":"https://api.github.com/users/keybase/orgs","repos_url":"https://api.github.com/users/keybase/repos","events_url":"https://api.github.com/users/keybase/events{/privacy}","received_events_url":"https://api.github.com/users/keybase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keybase/gregor","description":"A simple state-sync service for UX notifications","fork":false,"url":"https://api.github.com/repos/keybase/gregor","forks_url":"https://api.github.com/repos/keybase/gregor/forks","keys_url":"https://api.github.com/repos/keybase/gregor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keybase/gregor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keybase/gregor/teams","hooks_url":"https://api.github.com/repos/keybase/gregor/hooks","issue_events_url":"https://api.github.com/repos/keybase/gregor/issues/events{/number}","events_url":"https://api.github.com/repos/keybase/gregor/events","assignees_url":"https://api.github.com/repos/keybase/gregor/assignees{/user}","branches_url":"https://api.github.com/repos/keybase/gregor/branches{/branch}","tags_url":"https://api.github.com/repos/keybase/gregor/tags","blobs_url":"https://api.github.com/repos/keybase/gregor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keybase/gregor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keybase/gregor/git/refs{/sha}","trees_url":"https://api.github.com/repos/keybase/gregor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keybase/gregor/statuses/{sha}","languages_url":"https://api.github.com/repos/keybase/gregor/languages","stargazers_url":"https://api.github.com/repos/keybase/gregor/stargazers","contributors_url":"https://api.github.com/repos/keybase/gregor/contributors","subscribers_url":"https://api.github.com/repos/keybase/gregor/subscribers","subscription_url":"https://api.github.com/repos/keybase/gregor/subscription","commits_url":"https://api.github.com/repos/keybase/gregor/commits{/sha}","git_commits_url":"https://api.github.com/repos/keybase/gregor/git/commits{/sha}","comments_url":"https://api.github.com/repos/keybase/gregor/comments{/number}","issue_comment_url":"https://api.github.com/repos/keybase/gregor/issues/comments{/number}","contents_url":"https://api.github.com/repos/keybase/gregor/contents/{+path}","compare_url":"https://api.github.com/repos/keybase/gregor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keybase/gregor/merges","archive_url":"https://api.github.com/repos/keybase/gregor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keybase/gregor/downloads","issues_url":"https://api.github.com/repos/keybase/gregor/issues{/number}","pulls_url":"https://api.github.com/repos/keybase/gregor/pulls{/number}","milestones_url":"https://api.github.com/repos/keybase/gregor/milestones{/number}","notifications_url":"https://api.github.com/repos/keybase/gregor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keybase/gregor/labels{/name}","releases_url":"https://api.github.com/repos/keybase/gregor/releases{/id}","deployments_url":"https://api.github.com/repos/keybase/gregor/deployments","created_at":"2016-03-09T15:23:03Z","updated_at":"2016-04-05T21:33:00Z","pushed_at":"2016-04-20T21:59:51Z","git_url":"git://github.com/keybase/gregor.git","ssh_url":"git@github.com:keybase/gregor.git","clone_url":"https://github.com/keybase/gregor.git","svn_url":"https://github.com/keybase/gregor","homepage":null,"size":6779,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"keybase:master","ref":"master","sha":"f2576161d2ea9c9a75611b1afb0509bf283b4ce2","user":{"login":"keybase","id":5400834,"avatar_url":"https://avatars.githubusercontent.com/u/5400834?v=3","gravatar_id":"","url":"https://api.github.com/users/keybase","html_url":"https://github.com/keybase","followers_url":"https://api.github.com/users/keybase/followers","following_url":"https://api.github.com/users/keybase/following{/other_user}","gists_url":"https://api.github.com/users/keybase/gists{/gist_id}","starred_url":"https://api.github.com/users/keybase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keybase/subscriptions","organizations_url":"https://api.github.com/users/keybase/orgs","repos_url":"https://api.github.com/users/keybase/repos","events_url":"https://api.github.com/users/keybase/events{/privacy}","received_events_url":"https://api.github.com/users/keybase/received_events","type":"Organization","site_admin":false},"repo":{"id":53508286,"name":"gregor","full_name":"keybase/gregor","owner":{"login":"keybase","id":5400834,"avatar_url":"https://avatars.githubusercontent.com/u/5400834?v=3","gravatar_id":"","url":"https://api.github.com/users/keybase","html_url":"https://github.com/keybase","followers_url":"https://api.github.com/users/keybase/followers","following_url":"https://api.github.com/users/keybase/following{/other_user}","gists_url":"https://api.github.com/users/keybase/gists{/gist_id}","starred_url":"https://api.github.com/users/keybase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keybase/subscriptions","organizations_url":"https://api.github.com/users/keybase/orgs","repos_url":"https://api.github.com/users/keybase/repos","events_url":"https://api.github.com/users/keybase/events{/privacy}","received_events_url":"https://api.github.com/users/keybase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keybase/gregor","description":"A simple state-sync service for UX notifications","fork":false,"url":"https://api.github.com/repos/keybase/gregor","forks_url":"https://api.github.com/repos/keybase/gregor/forks","keys_url":"https://api.github.com/repos/keybase/gregor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keybase/gregor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keybase/gregor/teams","hooks_url":"https://api.github.com/repos/keybase/gregor/hooks","issue_events_url":"https://api.github.com/repos/keybase/gregor/issues/events{/number}","events_url":"https://api.github.com/repos/keybase/gregor/events","assignees_url":"https://api.github.com/repos/keybase/gregor/assignees{/user}","branches_url":"https://api.github.com/repos/keybase/gregor/branches{/branch}","tags_url":"https://api.github.com/repos/keybase/gregor/tags","blobs_url":"https://api.github.com/repos/keybase/gregor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keybase/gregor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keybase/gregor/git/refs{/sha}","trees_url":"https://api.github.com/repos/keybase/gregor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keybase/gregor/statuses/{sha}","languages_url":"https://api.github.com/repos/keybase/gregor/languages","stargazers_url":"https://api.github.com/repos/keybase/gregor/stargazers","contributors_url":"https://api.github.com/repos/keybase/gregor/contributors","subscribers_url":"https://api.github.com/repos/keybase/gregor/subscribers","subscription_url":"https://api.github.com/repos/keybase/gregor/subscription","commits_url":"https://api.github.com/repos/keybase/gregor/commits{/sha}","git_commits_url":"https://api.github.com/repos/keybase/gregor/git/commits{/sha}","comments_url":"https://api.github.com/repos/keybase/gregor/comments{/number}","issue_comment_url":"https://api.github.com/repos/keybase/gregor/issues/comments{/number}","contents_url":"https://api.github.com/repos/keybase/gregor/contents/{+path}","compare_url":"https://api.github.com/repos/keybase/gregor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keybase/gregor/merges","archive_url":"https://api.github.com/repos/keybase/gregor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keybase/gregor/downloads","issues_url":"https://api.github.com/repos/keybase/gregor/issues{/number}","pulls_url":"https://api.github.com/repos/keybase/gregor/pulls{/number}","milestones_url":"https://api.github.com/repos/keybase/gregor/milestones{/number}","notifications_url":"https://api.github.com/repos/keybase/gregor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keybase/gregor/labels{/name}","releases_url":"https://api.github.com/repos/keybase/gregor/releases{/id}","deployments_url":"https://api.github.com/repos/keybase/gregor/deployments","created_at":"2016-03-09T15:23:03Z","updated_at":"2016-04-05T21:33:00Z","pushed_at":"2016-04-20T21:59:51Z","git_url":"git://github.com/keybase/gregor.git","ssh_url":"git@github.com:keybase/gregor.git","clone_url":"https://github.com/keybase/gregor.git","svn_url":"https://github.com/keybase/gregor","homepage":null,"size":6779,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keybase/gregor/pulls/41"},"html":{"href":"https://github.com/keybase/gregor/pull/41"},"issue":{"href":"https://api.github.com/repos/keybase/gregor/issues/41"},"comments":{"href":"https://api.github.com/repos/keybase/gregor/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/keybase/gregor/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/keybase/gregor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/keybase/gregor/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/keybase/gregor/statuses/e49430807c070d3b64917749b8b23a178aeb0296"}}}}