{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/crooks/yamn/pulls/1","id":60021979,"html_url":"https://github.com/crooks/yamn/pull/1","diff_url":"https://github.com/crooks/yamn/pull/1.diff","patch_url":"https://github.com/crooks/yamn/pull/1.patch","issue_url":"https://api.github.com/repos/crooks/yamn/issues/1","number":1,"state":"closed","locked":false,"title":"Set umask when creating secret keyring file","user":{"login":"lampeh","id":758097,"avatar_url":"https://avatars.githubusercontent.com/u/758097?v=3","gravatar_id":"","url":"https://api.github.com/users/lampeh","html_url":"https://github.com/lampeh","followers_url":"https://api.github.com/users/lampeh/followers","following_url":"https://api.github.com/users/lampeh/following{/other_user}","gists_url":"https://api.github.com/users/lampeh/gists{/gist_id}","starred_url":"https://api.github.com/users/lampeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lampeh/subscriptions","organizations_url":"https://api.github.com/users/lampeh/orgs","repos_url":"https://api.github.com/users/lampeh/repos","events_url":"https://api.github.com/users/lampeh/events{/privacy}","received_events_url":"https://api.github.com/users/lampeh/received_events","type":"User","site_admin":false},"body":"The default umask of os.Create() leaves the secret key world-readable. WriteSecret() already did the right thing, adapted to Purge()","created_at":"2016-02-19T23:19:19Z","updated_at":"2016-02-20T09:52:17Z","closed_at":"2016-02-20T09:52:17Z","merged_at":"2016-02-20T09:52:17Z","merge_commit_sha":"4feb8193be718a4c4409fddbc24934c7151cf821","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/crooks/yamn/pulls/1/commits","review_comments_url":"https://api.github.com/repos/crooks/yamn/pulls/1/comments","review_comment_url":"https://api.github.com/repos/crooks/yamn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crooks/yamn/issues/1/comments","statuses_url":"https://api.github.com/repos/crooks/yamn/statuses/8c3ac28bf3477596bfb1fcfcc9e98c7b7e5d6668","head":{"label":"lampeh:master","ref":"master","sha":"8c3ac28bf3477596bfb1fcfcc9e98c7b7e5d6668","user":{"login":"lampeh","id":758097,"avatar_url":"https://avatars.githubusercontent.com/u/758097?v=3","gravatar_id":"","url":"https://api.github.com/users/lampeh","html_url":"https://github.com/lampeh","followers_url":"https://api.github.com/users/lampeh/followers","following_url":"https://api.github.com/users/lampeh/following{/other_user}","gists_url":"https://api.github.com/users/lampeh/gists{/gist_id}","starred_url":"https://api.github.com/users/lampeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lampeh/subscriptions","organizations_url":"https://api.github.com/users/lampeh/orgs","repos_url":"https://api.github.com/users/lampeh/repos","events_url":"https://api.github.com/users/lampeh/events{/privacy}","received_events_url":"https://api.github.com/users/lampeh/received_events","type":"User","site_admin":false},"repo":{"id":52122508,"name":"yamn","full_name":"lampeh/yamn","owner":{"login":"lampeh","id":758097,"avatar_url":"https://avatars.githubusercontent.com/u/758097?v=3","gravatar_id":"","url":"https://api.github.com/users/lampeh","html_url":"https://github.com/lampeh","followers_url":"https://api.github.com/users/lampeh/followers","following_url":"https://api.github.com/users/lampeh/following{/other_user}","gists_url":"https://api.github.com/users/lampeh/gists{/gist_id}","starred_url":"https://api.github.com/users/lampeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lampeh/subscriptions","organizations_url":"https://api.github.com/users/lampeh/orgs","repos_url":"https://api.github.com/users/lampeh/repos","events_url":"https://api.github.com/users/lampeh/events{/privacy}","received_events_url":"https://api.github.com/users/lampeh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lampeh/yamn","description":"Yet Another Mix Net","fork":true,"url":"https://api.github.com/repos/lampeh/yamn","forks_url":"https://api.github.com/repos/lampeh/yamn/forks","keys_url":"https://api.github.com/repos/lampeh/yamn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lampeh/yamn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lampeh/yamn/teams","hooks_url":"https://api.github.com/repos/lampeh/yamn/hooks","issue_events_url":"https://api.github.com/repos/lampeh/yamn/issues/events{/number}","events_url":"https://api.github.com/repos/lampeh/yamn/events","assignees_url":"https://api.github.com/repos/lampeh/yamn/assignees{/user}","branches_url":"https://api.github.com/repos/lampeh/yamn/branches{/branch}","tags_url":"https://api.github.com/repos/lampeh/yamn/tags","blobs_url":"https://api.github.com/repos/lampeh/yamn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lampeh/yamn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lampeh/yamn/git/refs{/sha}","trees_url":"https://api.github.com/repos/lampeh/yamn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lampeh/yamn/statuses/{sha}","languages_url":"https://api.github.com/repos/lampeh/yamn/languages","stargazers_url":"https://api.github.com/repos/lampeh/yamn/stargazers","contributors_url":"https://api.github.com/repos/lampeh/yamn/contributors","subscribers_url":"https://api.github.com/repos/lampeh/yamn/subscribers","subscription_url":"https://api.github.com/repos/lampeh/yamn/subscription","commits_url":"https://api.github.com/repos/lampeh/yamn/commits{/sha}","git_commits_url":"https://api.github.com/repos/lampeh/yamn/git/commits{/sha}","comments_url":"https://api.github.com/repos/lampeh/yamn/comments{/number}","issue_comment_url":"https://api.github.com/repos/lampeh/yamn/issues/comments{/number}","contents_url":"https://api.github.com/repos/lampeh/yamn/contents/{+path}","compare_url":"https://api.github.com/repos/lampeh/yamn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lampeh/yamn/merges","archive_url":"https://api.github.com/repos/lampeh/yamn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lampeh/yamn/downloads","issues_url":"https://api.github.com/repos/lampeh/yamn/issues{/number}","pulls_url":"https://api.github.com/repos/lampeh/yamn/pulls{/number}","milestones_url":"https://api.github.com/repos/lampeh/yamn/milestones{/number}","notifications_url":"https://api.github.com/repos/lampeh/yamn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lampeh/yamn/labels{/name}","releases_url":"https://api.github.com/repos/lampeh/yamn/releases{/id}","deployments_url":"https://api.github.com/repos/lampeh/yamn/deployments","created_at":"2016-02-19T23:10:28Z","updated_at":"2016-02-19T23:10:28Z","pushed_at":"2016-02-19T23:12:45Z","git_url":"git://github.com/lampeh/yamn.git","ssh_url":"git@github.com:lampeh/yamn.git","clone_url":"https://github.com/lampeh/yamn.git","svn_url":"https://github.com/lampeh/yamn","homepage":null,"size":831,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"crooks:master","ref":"master","sha":"d8a0c6698a364512def5e94e6488b0f2282e6dce","user":{"login":"crooks","id":912455,"avatar_url":"https://avatars.githubusercontent.com/u/912455?v=3","gravatar_id":"","url":"https://api.github.com/users/crooks","html_url":"https://github.com/crooks","followers_url":"https://api.github.com/users/crooks/followers","following_url":"https://api.github.com/users/crooks/following{/other_user}","gists_url":"https://api.github.com/users/crooks/gists{/gist_id}","starred_url":"https://api.github.com/users/crooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crooks/subscriptions","organizations_url":"https://api.github.com/users/crooks/orgs","repos_url":"https://api.github.com/users/crooks/repos","events_url":"https://api.github.com/users/crooks/events{/privacy}","received_events_url":"https://api.github.com/users/crooks/received_events","type":"User","site_admin":false},"repo":{"id":24220623,"name":"yamn","full_name":"crooks/yamn","owner":{"login":"crooks","id":912455,"avatar_url":"https://avatars.githubusercontent.com/u/912455?v=3","gravatar_id":"","url":"https://api.github.com/users/crooks","html_url":"https://github.com/crooks","followers_url":"https://api.github.com/users/crooks/followers","following_url":"https://api.github.com/users/crooks/following{/other_user}","gists_url":"https://api.github.com/users/crooks/gists{/gist_id}","starred_url":"https://api.github.com/users/crooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crooks/subscriptions","organizations_url":"https://api.github.com/users/crooks/orgs","repos_url":"https://api.github.com/users/crooks/repos","events_url":"https://api.github.com/users/crooks/events{/privacy}","received_events_url":"https://api.github.com/users/crooks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/crooks/yamn","description":"Yet Another Mix Net","fork":false,"url":"https://api.github.com/repos/crooks/yamn","forks_url":"https://api.github.com/repos/crooks/yamn/forks","keys_url":"https://api.github.com/repos/crooks/yamn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crooks/yamn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crooks/yamn/teams","hooks_url":"https://api.github.com/repos/crooks/yamn/hooks","issue_events_url":"https://api.github.com/repos/crooks/yamn/issues/events{/number}","events_url":"https://api.github.com/repos/crooks/yamn/events","assignees_url":"https://api.github.com/repos/crooks/yamn/assignees{/user}","branches_url":"https://api.github.com/repos/crooks/yamn/branches{/branch}","tags_url":"https://api.github.com/repos/crooks/yamn/tags","blobs_url":"https://api.github.com/repos/crooks/yamn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crooks/yamn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crooks/yamn/git/refs{/sha}","trees_url":"https://api.github.com/repos/crooks/yamn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crooks/yamn/statuses/{sha}","languages_url":"https://api.github.com/repos/crooks/yamn/languages","stargazers_url":"https://api.github.com/repos/crooks/yamn/stargazers","contributors_url":"https://api.github.com/repos/crooks/yamn/contributors","subscribers_url":"https://api.github.com/repos/crooks/yamn/subscribers","subscription_url":"https://api.github.com/repos/crooks/yamn/subscription","commits_url":"https://api.github.com/repos/crooks/yamn/commits{/sha}","git_commits_url":"https://api.github.com/repos/crooks/yamn/git/commits{/sha}","comments_url":"https://api.github.com/repos/crooks/yamn/comments{/number}","issue_comment_url":"https://api.github.com/repos/crooks/yamn/issues/comments{/number}","contents_url":"https://api.github.com/repos/crooks/yamn/contents/{+path}","compare_url":"https://api.github.com/repos/crooks/yamn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crooks/yamn/merges","archive_url":"https://api.github.com/repos/crooks/yamn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crooks/yamn/downloads","issues_url":"https://api.github.com/repos/crooks/yamn/issues{/number}","pulls_url":"https://api.github.com/repos/crooks/yamn/pulls{/number}","milestones_url":"https://api.github.com/repos/crooks/yamn/milestones{/number}","notifications_url":"https://api.github.com/repos/crooks/yamn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crooks/yamn/labels{/name}","releases_url":"https://api.github.com/repos/crooks/yamn/releases{/id}","deployments_url":"https://api.github.com/repos/crooks/yamn/deployments","created_at":"2014-09-19T07:31:23Z","updated_at":"2016-01-29T17:22:16Z","pushed_at":"2016-02-20T09:52:17Z","git_url":"git://github.com/crooks/yamn.git","ssh_url":"git@github.com:crooks/yamn.git","clone_url":"https://github.com/crooks/yamn.git","svn_url":"https://github.com/crooks/yamn","homepage":null,"size":835,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crooks/yamn/pulls/1"},"html":{"href":"https://github.com/crooks/yamn/pull/1"},"issue":{"href":"https://api.github.com/repos/crooks/yamn/issues/1"},"comments":{"href":"https://api.github.com/repos/crooks/yamn/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/crooks/yamn/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/crooks/yamn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crooks/yamn/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/crooks/yamn/statuses/8c3ac28bf3477596bfb1fcfcc9e98c7b7e5d6668"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"crooks","id":912455,"avatar_url":"https://avatars.githubusercontent.com/u/912455?v=3","gravatar_id":"","url":"https://api.github.com/users/crooks","html_url":"https://github.com/crooks","followers_url":"https://api.github.com/users/crooks/followers","following_url":"https://api.github.com/users/crooks/following{/other_user}","gists_url":"https://api.github.com/users/crooks/gists{/gist_id}","starred_url":"https://api.github.com/users/crooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crooks/subscriptions","organizations_url":"https://api.github.com/users/crooks/orgs","repos_url":"https://api.github.com/users/crooks/repos","events_url":"https://api.github.com/users/crooks/events{/privacy}","received_events_url":"https://api.github.com/users/crooks/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":1,"changed_files":1}}