{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/jlouis/curve_tun/pulls/4","id":33165006,"html_url":"https://github.com/jlouis/curve_tun/pull/4","diff_url":"https://github.com/jlouis/curve_tun/pull/4.diff","patch_url":"https://github.com/jlouis/curve_tun/pull/4.patch","issue_url":"https://api.github.com/repos/jlouis/curve_tun/issues/4","number":4,"state":"closed","locked":false,"title":"Removed resetting of counter after successful handshake","user":{"login":"jstampe","id":3536988,"avatar_url":"https://avatars.githubusercontent.com/u/3536988?v=3","gravatar_id":"","url":"https://api.github.com/users/jstampe","html_url":"https://github.com/jstampe","followers_url":"https://api.github.com/users/jstampe/followers","following_url":"https://api.github.com/users/jstampe/following{/other_user}","gists_url":"https://api.github.com/users/jstampe/gists{/gist_id}","starred_url":"https://api.github.com/users/jstampe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstampe/subscriptions","organizations_url":"https://api.github.com/users/jstampe/orgs","repos_url":"https://api.github.com/users/jstampe/repos","events_url":"https://api.github.com/users/jstampe/events{/privacy}","received_events_url":"https://api.github.com/users/jstampe/received_events","type":"User","site_admin":false},"body":"This changes the short time nonces (usages of st_nonce) to use the `c`/`rn` counters, i.e. Hello always has nonce=0, vouch/cookie always 1, and thus messages start from n=2.  Thus, every time a short time nonce is used, it is simply incremented by 1, and likewise this is validated on the remote end.\r\n\r\nMake's curve_tun work with @krestenkrab's C implementation.","created_at":"2015-04-13T13:49:39Z","updated_at":"2015-04-13T14:02:49Z","closed_at":"2015-04-13T14:02:49Z","merged_at":"2015-04-13T14:02:49Z","merge_commit_sha":"80197d79f0ea6dcdc28803a06e4a29551b1af1c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jlouis/curve_tun/pulls/4/commits","review_comments_url":"https://api.github.com/repos/jlouis/curve_tun/pulls/4/comments","review_comment_url":"https://api.github.com/repos/jlouis/curve_tun/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jlouis/curve_tun/issues/4/comments","statuses_url":"https://api.github.com/repos/jlouis/curve_tun/statuses/9f0a8953cd1e5b95128d92f5cf1567a2d2c02afd","head":{"label":"jstampe:nonce","ref":"nonce","sha":"9f0a8953cd1e5b95128d92f5cf1567a2d2c02afd","user":{"login":"jstampe","id":3536988,"avatar_url":"https://avatars.githubusercontent.com/u/3536988?v=3","gravatar_id":"","url":"https://api.github.com/users/jstampe","html_url":"https://github.com/jstampe","followers_url":"https://api.github.com/users/jstampe/followers","following_url":"https://api.github.com/users/jstampe/following{/other_user}","gists_url":"https://api.github.com/users/jstampe/gists{/gist_id}","starred_url":"https://api.github.com/users/jstampe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstampe/subscriptions","organizations_url":"https://api.github.com/users/jstampe/orgs","repos_url":"https://api.github.com/users/jstampe/repos","events_url":"https://api.github.com/users/jstampe/events{/privacy}","received_events_url":"https://api.github.com/users/jstampe/received_events","type":"User","site_admin":false},"repo":{"id":33870347,"name":"curve_tun","full_name":"jstampe/curve_tun","owner":{"login":"jstampe","id":3536988,"avatar_url":"https://avatars.githubusercontent.com/u/3536988?v=3","gravatar_id":"","url":"https://api.github.com/users/jstampe","html_url":"https://github.com/jstampe","followers_url":"https://api.github.com/users/jstampe/followers","following_url":"https://api.github.com/users/jstampe/following{/other_user}","gists_url":"https://api.github.com/users/jstampe/gists{/gist_id}","starred_url":"https://api.github.com/users/jstampe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstampe/subscriptions","organizations_url":"https://api.github.com/users/jstampe/orgs","repos_url":"https://api.github.com/users/jstampe/repos","events_url":"https://api.github.com/users/jstampe/events{/privacy}","received_events_url":"https://api.github.com/users/jstampe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jstampe/curve_tun","description":"TCP tunnels secured by Curve25519","fork":true,"url":"https://api.github.com/repos/jstampe/curve_tun","forks_url":"https://api.github.com/repos/jstampe/curve_tun/forks","keys_url":"https://api.github.com/repos/jstampe/curve_tun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jstampe/curve_tun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jstampe/curve_tun/teams","hooks_url":"https://api.github.com/repos/jstampe/curve_tun/hooks","issue_events_url":"https://api.github.com/repos/jstampe/curve_tun/issues/events{/number}","events_url":"https://api.github.com/repos/jstampe/curve_tun/events","assignees_url":"https://api.github.com/repos/jstampe/curve_tun/assignees{/user}","branches_url":"https://api.github.com/repos/jstampe/curve_tun/branches{/branch}","tags_url":"https://api.github.com/repos/jstampe/curve_tun/tags","blobs_url":"https://api.github.com/repos/jstampe/curve_tun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jstampe/curve_tun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jstampe/curve_tun/git/refs{/sha}","trees_url":"https://api.github.com/repos/jstampe/curve_tun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jstampe/curve_tun/statuses/{sha}","languages_url":"https://api.github.com/repos/jstampe/curve_tun/languages","stargazers_url":"https://api.github.com/repos/jstampe/curve_tun/stargazers","contributors_url":"https://api.github.com/repos/jstampe/curve_tun/contributors","subscribers_url":"https://api.github.com/repos/jstampe/curve_tun/subscribers","subscription_url":"https://api.github.com/repos/jstampe/curve_tun/subscription","commits_url":"https://api.github.com/repos/jstampe/curve_tun/commits{/sha}","git_commits_url":"https://api.github.com/repos/jstampe/curve_tun/git/commits{/sha}","comments_url":"https://api.github.com/repos/jstampe/curve_tun/comments{/number}","issue_comment_url":"https://api.github.com/repos/jstampe/curve_tun/issues/comments{/number}","contents_url":"https://api.github.com/repos/jstampe/curve_tun/contents/{+path}","compare_url":"https://api.github.com/repos/jstampe/curve_tun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jstampe/curve_tun/merges","archive_url":"https://api.github.com/repos/jstampe/curve_tun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jstampe/curve_tun/downloads","issues_url":"https://api.github.com/repos/jstampe/curve_tun/issues{/number}","pulls_url":"https://api.github.com/repos/jstampe/curve_tun/pulls{/number}","milestones_url":"https://api.github.com/repos/jstampe/curve_tun/milestones{/number}","notifications_url":"https://api.github.com/repos/jstampe/curve_tun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jstampe/curve_tun/labels{/name}","releases_url":"https://api.github.com/repos/jstampe/curve_tun/releases{/id}","created_at":"2015-04-13T13:32:44Z","updated_at":"2015-04-13T13:32:44Z","pushed_at":"2015-04-13T14:02:45Z","git_url":"git://github.com/jstampe/curve_tun.git","ssh_url":"git@github.com:jstampe/curve_tun.git","clone_url":"https://github.com/jstampe/curve_tun.git","svn_url":"https://github.com/jstampe/curve_tun","homepage":null,"size":145,"stargazers_count":0,"watchers_count":0,"language":"Erlang","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jlouis:master","ref":"master","sha":"1f8cc780f1d7da3c0a5118b1503ed2e05a647b7a","user":{"login":"jlouis","id":5663,"avatar_url":"https://avatars.githubusercontent.com/u/5663?v=3","gravatar_id":"","url":"https://api.github.com/users/jlouis","html_url":"https://github.com/jlouis","followers_url":"https://api.github.com/users/jlouis/followers","following_url":"https://api.github.com/users/jlouis/following{/other_user}","gists_url":"https://api.github.com/users/jlouis/gists{/gist_id}","starred_url":"https://api.github.com/users/jlouis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlouis/subscriptions","organizations_url":"https://api.github.com/users/jlouis/orgs","repos_url":"https://api.github.com/users/jlouis/repos","events_url":"https://api.github.com/users/jlouis/events{/privacy}","received_events_url":"https://api.github.com/users/jlouis/received_events","type":"User","site_admin":false},"repo":{"id":27550105,"name":"curve_tun","full_name":"jlouis/curve_tun","owner":{"login":"jlouis","id":5663,"avatar_url":"https://avatars.githubusercontent.com/u/5663?v=3","gravatar_id":"","url":"https://api.github.com/users/jlouis","html_url":"https://github.com/jlouis","followers_url":"https://api.github.com/users/jlouis/followers","following_url":"https://api.github.com/users/jlouis/following{/other_user}","gists_url":"https://api.github.com/users/jlouis/gists{/gist_id}","starred_url":"https://api.github.com/users/jlouis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlouis/subscriptions","organizations_url":"https://api.github.com/users/jlouis/orgs","repos_url":"https://api.github.com/users/jlouis/repos","events_url":"https://api.github.com/users/jlouis/events{/privacy}","received_events_url":"https://api.github.com/users/jlouis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlouis/curve_tun","description":"TCP tunnels secured by Curve25519","fork":false,"url":"https://api.github.com/repos/jlouis/curve_tun","forks_url":"https://api.github.com/repos/jlouis/curve_tun/forks","keys_url":"https://api.github.com/repos/jlouis/curve_tun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlouis/curve_tun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlouis/curve_tun/teams","hooks_url":"https://api.github.com/repos/jlouis/curve_tun/hooks","issue_events_url":"https://api.github.com/repos/jlouis/curve_tun/issues/events{/number}","events_url":"https://api.github.com/repos/jlouis/curve_tun/events","assignees_url":"https://api.github.com/repos/jlouis/curve_tun/assignees{/user}","branches_url":"https://api.github.com/repos/jlouis/curve_tun/branches{/branch}","tags_url":"https://api.github.com/repos/jlouis/curve_tun/tags","blobs_url":"https://api.github.com/repos/jlouis/curve_tun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlouis/curve_tun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlouis/curve_tun/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlouis/curve_tun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlouis/curve_tun/statuses/{sha}","languages_url":"https://api.github.com/repos/jlouis/curve_tun/languages","stargazers_url":"https://api.github.com/repos/jlouis/curve_tun/stargazers","contributors_url":"https://api.github.com/repos/jlouis/curve_tun/contributors","subscribers_url":"https://api.github.com/repos/jlouis/curve_tun/subscribers","subscription_url":"https://api.github.com/repos/jlouis/curve_tun/subscription","commits_url":"https://api.github.com/repos/jlouis/curve_tun/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlouis/curve_tun/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlouis/curve_tun/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlouis/curve_tun/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlouis/curve_tun/contents/{+path}","compare_url":"https://api.github.com/repos/jlouis/curve_tun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlouis/curve_tun/merges","archive_url":"https://api.github.com/repos/jlouis/curve_tun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlouis/curve_tun/downloads","issues_url":"https://api.github.com/repos/jlouis/curve_tun/issues{/number}","pulls_url":"https://api.github.com/repos/jlouis/curve_tun/pulls{/number}","milestones_url":"https://api.github.com/repos/jlouis/curve_tun/milestones{/number}","notifications_url":"https://api.github.com/repos/jlouis/curve_tun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlouis/curve_tun/labels{/name}","releases_url":"https://api.github.com/repos/jlouis/curve_tun/releases{/id}","created_at":"2014-12-04T16:49:47Z","updated_at":"2015-03-19T13:22:56Z","pushed_at":"2015-04-13T14:02:49Z","git_url":"git://github.com/jlouis/curve_tun.git","ssh_url":"git@github.com:jlouis/curve_tun.git","clone_url":"https://github.com/jlouis/curve_tun.git","svn_url":"https://github.com/jlouis/curve_tun","homepage":null,"size":324,"stargazers_count":5,"watchers_count":5,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jlouis/curve_tun/pulls/4"},"html":{"href":"https://github.com/jlouis/curve_tun/pull/4"},"issue":{"href":"https://api.github.com/repos/jlouis/curve_tun/issues/4"},"comments":{"href":"https://api.github.com/repos/jlouis/curve_tun/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/jlouis/curve_tun/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/jlouis/curve_tun/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jlouis/curve_tun/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/jlouis/curve_tun/statuses/9f0a8953cd1e5b95128d92f5cf1567a2d2c02afd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jlouis","id":5663,"avatar_url":"https://avatars.githubusercontent.com/u/5663?v=3","gravatar_id":"","url":"https://api.github.com/users/jlouis","html_url":"https://github.com/jlouis","followers_url":"https://api.github.com/users/jlouis/followers","following_url":"https://api.github.com/users/jlouis/following{/other_user}","gists_url":"https://api.github.com/users/jlouis/gists{/gist_id}","starred_url":"https://api.github.com/users/jlouis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlouis/subscriptions","organizations_url":"https://api.github.com/users/jlouis/orgs","repos_url":"https://api.github.com/users/jlouis/repos","events_url":"https://api.github.com/users/jlouis/events{/privacy}","received_events_url":"https://api.github.com/users/jlouis/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":1}}