{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/vincenthz/cryptonite/pulls/1","id":99317488,"html_url":"https://github.com/vincenthz/cryptonite/pull/1","diff_url":"https://github.com/vincenthz/cryptonite/pull/1.diff","patch_url":"https://github.com/vincenthz/cryptonite/pull/1.patch","issue_url":"https://api.github.com/repos/vincenthz/cryptonite/issues/1","number":1,"state":"open","locked":false,"title":"Fix generated primes being too large","user":{"login":"colatkinson","id":6528368,"avatar_url":"https://avatars.githubusercontent.com/u/6528368?v=3","gravatar_id":"","url":"https://api.github.com/users/colatkinson","html_url":"https://github.com/colatkinson","followers_url":"https://api.github.com/users/colatkinson/followers","following_url":"https://api.github.com/users/colatkinson/following{/other_user}","gists_url":"https://api.github.com/users/colatkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/colatkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colatkinson/subscriptions","organizations_url":"https://api.github.com/users/colatkinson/orgs","repos_url":"https://api.github.com/users/colatkinson/repos","events_url":"https://api.github.com/users/colatkinson/events{/privacy}","received_events_url":"https://api.github.com/users/colatkinson/received_events","type":"User","site_admin":false},"body":"Simple fix for #124, simply by testing if the prime is too big and recurring if so.\r\n\r\nAlso changes prime generation to search from [2^(n-1), 2^n) instead of [2^(n-1) + 2^(n-2), 2^n] by setting only the top bit, as is the general standard (see e.g. [OpenSSL](https://github.com/openssl/openssl/blob/master/crypto/bn/bn_prime.c#L101)).","created_at":"2016-12-25T07:51:42Z","updated_at":"2016-12-25T07:51:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vincenthz/cryptonite/pulls/1/commits","review_comments_url":"https://api.github.com/repos/vincenthz/cryptonite/pulls/1/comments","review_comment_url":"https://api.github.com/repos/vincenthz/cryptonite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vincenthz/cryptonite/issues/1/comments","statuses_url":"https://api.github.com/repos/vincenthz/cryptonite/statuses/4d997f66bdb8fff249eebdbb7e66d6477aa04350","head":{"label":"colatkinson:fix_prime_size","ref":"fix_prime_size","sha":"4d997f66bdb8fff249eebdbb7e66d6477aa04350","user":{"login":"colatkinson","id":6528368,"avatar_url":"https://avatars.githubusercontent.com/u/6528368?v=3","gravatar_id":"","url":"https://api.github.com/users/colatkinson","html_url":"https://github.com/colatkinson","followers_url":"https://api.github.com/users/colatkinson/followers","following_url":"https://api.github.com/users/colatkinson/following{/other_user}","gists_url":"https://api.github.com/users/colatkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/colatkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colatkinson/subscriptions","organizations_url":"https://api.github.com/users/colatkinson/orgs","repos_url":"https://api.github.com/users/colatkinson/repos","events_url":"https://api.github.com/users/colatkinson/events{/privacy}","received_events_url":"https://api.github.com/users/colatkinson/received_events","type":"User","site_admin":false},"repo":{"id":77250895,"name":"cryptonite","full_name":"colatkinson/cryptonite","owner":{"login":"colatkinson","id":6528368,"avatar_url":"https://avatars.githubusercontent.com/u/6528368?v=3","gravatar_id":"","url":"https://api.github.com/users/colatkinson","html_url":"https://github.com/colatkinson","followers_url":"https://api.github.com/users/colatkinson/followers","following_url":"https://api.github.com/users/colatkinson/following{/other_user}","gists_url":"https://api.github.com/users/colatkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/colatkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colatkinson/subscriptions","organizations_url":"https://api.github.com/users/colatkinson/orgs","repos_url":"https://api.github.com/users/colatkinson/repos","events_url":"https://api.github.com/users/colatkinson/events{/privacy}","received_events_url":"https://api.github.com/users/colatkinson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/colatkinson/cryptonite","description":"lowlevel set of cryptographic primitives for haskell","fork":true,"url":"https://api.github.com/repos/colatkinson/cryptonite","forks_url":"https://api.github.com/repos/colatkinson/cryptonite/forks","keys_url":"https://api.github.com/repos/colatkinson/cryptonite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/colatkinson/cryptonite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/colatkinson/cryptonite/teams","hooks_url":"https://api.github.com/repos/colatkinson/cryptonite/hooks","issue_events_url":"https://api.github.com/repos/colatkinson/cryptonite/issues/events{/number}","events_url":"https://api.github.com/repos/colatkinson/cryptonite/events","assignees_url":"https://api.github.com/repos/colatkinson/cryptonite/assignees{/user}","branches_url":"https://api.github.com/repos/colatkinson/cryptonite/branches{/branch}","tags_url":"https://api.github.com/repos/colatkinson/cryptonite/tags","blobs_url":"https://api.github.com/repos/colatkinson/cryptonite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/colatkinson/cryptonite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/colatkinson/cryptonite/git/refs{/sha}","trees_url":"https://api.github.com/repos/colatkinson/cryptonite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/colatkinson/cryptonite/statuses/{sha}","languages_url":"https://api.github.com/repos/colatkinson/cryptonite/languages","stargazers_url":"https://api.github.com/repos/colatkinson/cryptonite/stargazers","contributors_url":"https://api.github.com/repos/colatkinson/cryptonite/contributors","subscribers_url":"https://api.github.com/repos/colatkinson/cryptonite/subscribers","subscription_url":"https://api.github.com/repos/colatkinson/cryptonite/subscription","commits_url":"https://api.github.com/repos/colatkinson/cryptonite/commits{/sha}","git_commits_url":"https://api.github.com/repos/colatkinson/cryptonite/git/commits{/sha}","comments_url":"https://api.github.com/repos/colatkinson/cryptonite/comments{/number}","issue_comment_url":"https://api.github.com/repos/colatkinson/cryptonite/issues/comments{/number}","contents_url":"https://api.github.com/repos/colatkinson/cryptonite/contents/{+path}","compare_url":"https://api.github.com/repos/colatkinson/cryptonite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/colatkinson/cryptonite/merges","archive_url":"https://api.github.com/repos/colatkinson/cryptonite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/colatkinson/cryptonite/downloads","issues_url":"https://api.github.com/repos/colatkinson/cryptonite/issues{/number}","pulls_url":"https://api.github.com/repos/colatkinson/cryptonite/pulls{/number}","milestones_url":"https://api.github.com/repos/colatkinson/cryptonite/milestones{/number}","notifications_url":"https://api.github.com/repos/colatkinson/cryptonite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/colatkinson/cryptonite/labels{/name}","releases_url":"https://api.github.com/repos/colatkinson/cryptonite/releases{/id}","deployments_url":"https://api.github.com/repos/colatkinson/cryptonite/deployments","created_at":"2016-12-23T21:13:36Z","updated_at":"2016-12-23T21:13:40Z","pushed_at":"2016-12-25T07:44:41Z","git_url":"git://github.com/colatkinson/cryptonite.git","ssh_url":"git@github.com:colatkinson/cryptonite.git","clone_url":"https://github.com/colatkinson/cryptonite.git","svn_url":"https://github.com/colatkinson/cryptonite","homepage":"","size":1317,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"vincenthz:master","ref":"master","sha":"ad559e02e662491dc2fc875da1f5ef9a4580ba0c","user":{"login":"vincenthz","id":174631,"avatar_url":"https://avatars.githubusercontent.com/u/174631?v=3","gravatar_id":"","url":"https://api.github.com/users/vincenthz","html_url":"https://github.com/vincenthz","followers_url":"https://api.github.com/users/vincenthz/followers","following_url":"https://api.github.com/users/vincenthz/following{/other_user}","gists_url":"https://api.github.com/users/vincenthz/gists{/gist_id}","starred_url":"https://api.github.com/users/vincenthz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincenthz/subscriptions","organizations_url":"https://api.github.com/users/vincenthz/orgs","repos_url":"https://api.github.com/users/vincenthz/repos","events_url":"https://api.github.com/users/vincenthz/events{/privacy}","received_events_url":"https://api.github.com/users/vincenthz/received_events","type":"User","site_admin":false},"repo":{"id":44046667,"name":"cryptonite","full_name":"vincenthz/cryptonite","owner":{"login":"vincenthz","id":174631,"avatar_url":"https://avatars.githubusercontent.com/u/174631?v=3","gravatar_id":"","url":"https://api.github.com/users/vincenthz","html_url":"https://github.com/vincenthz","followers_url":"https://api.github.com/users/vincenthz/followers","following_url":"https://api.github.com/users/vincenthz/following{/other_user}","gists_url":"https://api.github.com/users/vincenthz/gists{/gist_id}","starred_url":"https://api.github.com/users/vincenthz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincenthz/subscriptions","organizations_url":"https://api.github.com/users/vincenthz/orgs","repos_url":"https://api.github.com/users/vincenthz/repos","events_url":"https://api.github.com/users/vincenthz/events{/privacy}","received_events_url":"https://api.github.com/users/vincenthz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vincenthz/cryptonite","description":"lowlevel set of cryptographic primitives for haskell","fork":true,"url":"https://api.github.com/repos/vincenthz/cryptonite","forks_url":"https://api.github.com/repos/vincenthz/cryptonite/forks","keys_url":"https://api.github.com/repos/vincenthz/cryptonite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vincenthz/cryptonite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vincenthz/cryptonite/teams","hooks_url":"https://api.github.com/repos/vincenthz/cryptonite/hooks","issue_events_url":"https://api.github.com/repos/vincenthz/cryptonite/issues/events{/number}","events_url":"https://api.github.com/repos/vincenthz/cryptonite/events","assignees_url":"https://api.github.com/repos/vincenthz/cryptonite/assignees{/user}","branches_url":"https://api.github.com/repos/vincenthz/cryptonite/branches{/branch}","tags_url":"https://api.github.com/repos/vincenthz/cryptonite/tags","blobs_url":"https://api.github.com/repos/vincenthz/cryptonite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vincenthz/cryptonite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vincenthz/cryptonite/git/refs{/sha}","trees_url":"https://api.github.com/repos/vincenthz/cryptonite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vincenthz/cryptonite/statuses/{sha}","languages_url":"https://api.github.com/repos/vincenthz/cryptonite/languages","stargazers_url":"https://api.github.com/repos/vincenthz/cryptonite/stargazers","contributors_url":"https://api.github.com/repos/vincenthz/cryptonite/contributors","subscribers_url":"https://api.github.com/repos/vincenthz/cryptonite/subscribers","subscription_url":"https://api.github.com/repos/vincenthz/cryptonite/subscription","commits_url":"https://api.github.com/repos/vincenthz/cryptonite/commits{/sha}","git_commits_url":"https://api.github.com/repos/vincenthz/cryptonite/git/commits{/sha}","comments_url":"https://api.github.com/repos/vincenthz/cryptonite/comments{/number}","issue_comment_url":"https://api.github.com/repos/vincenthz/cryptonite/issues/comments{/number}","contents_url":"https://api.github.com/repos/vincenthz/cryptonite/contents/{+path}","compare_url":"https://api.github.com/repos/vincenthz/cryptonite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vincenthz/cryptonite/merges","archive_url":"https://api.github.com/repos/vincenthz/cryptonite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vincenthz/cryptonite/downloads","issues_url":"https://api.github.com/repos/vincenthz/cryptonite/issues{/number}","pulls_url":"https://api.github.com/repos/vincenthz/cryptonite/pulls{/number}","milestones_url":"https://api.github.com/repos/vincenthz/cryptonite/milestones{/number}","notifications_url":"https://api.github.com/repos/vincenthz/cryptonite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vincenthz/cryptonite/labels{/name}","releases_url":"https://api.github.com/repos/vincenthz/cryptonite/releases{/id}","deployments_url":"https://api.github.com/repos/vincenthz/cryptonite/deployments","created_at":"2015-10-11T09:42:58Z","updated_at":"2016-02-12T09:47:59Z","pushed_at":"2016-06-22T05:36:31Z","git_url":"git://github.com/vincenthz/cryptonite.git","ssh_url":"git@github.com:vincenthz/cryptonite.git","clone_url":"https://github.com/vincenthz/cryptonite.git","svn_url":"https://github.com/vincenthz/cryptonite","homepage":"","size":1196,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vincenthz/cryptonite/pulls/1"},"html":{"href":"https://github.com/vincenthz/cryptonite/pull/1"},"issue":{"href":"https://api.github.com/repos/vincenthz/cryptonite/issues/1"},"comments":{"href":"https://api.github.com/repos/vincenthz/cryptonite/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/vincenthz/cryptonite/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/vincenthz/cryptonite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vincenthz/cryptonite/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/vincenthz/cryptonite/statuses/4d997f66bdb8fff249eebdbb7e66d6477aa04350"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":95,"additions":2451,"deletions":171,"changed_files":41}}
{"actor":{"display_login":"colatkinson"}}