{"action":"created","comment":{"url":"https://api.github.com/repos/hashbang/shell-etc/pulls/comments/67601531","id":67601531,"diff_hunk":"@@ -5,6 +5,17 @@\n # get mail file\n mail=$(cat msg.welcome)\n \n+# Prepare GnuPG homedir\n+export GNUPGHOME=$(mktemp -d --tmpdir gpg.XXXXXX)\n+trap \"rm -rf -- '${GNUPGHOME}'\" EXIT\n+\n+cat > \"${GNUPGHOME}/gpg.conf\" <<EOF\n+# Never, ever, ever do this in your personal gpg.conf\n+# However, this is sane when you know use an empty GNUPGHOME","path":"skel/.bash_profile","position":10,"original_position":10,"commit_id":"e1cb4f4f382549df70be62ad3071a30fcad551b1","original_commit_id":"e1cb4f4f382549df70be62ad3071a30fcad551b1","user":{"login":"KellerFuchs","id":14331571,"avatar_url":"https://avatars.githubusercontent.com/u/14331571?v=3","gravatar_id":"","url":"https://api.github.com/users/KellerFuchs","html_url":"https://github.com/KellerFuchs","followers_url":"https://api.github.com/users/KellerFuchs/followers","following_url":"https://api.github.com/users/KellerFuchs/following{/other_user}","gists_url":"https://api.github.com/users/KellerFuchs/gists{/gist_id}","starred_url":"https://api.github.com/users/KellerFuchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KellerFuchs/subscriptions","organizations_url":"https://api.github.com/users/KellerFuchs/orgs","repos_url":"https://api.github.com/users/KellerFuchs/repos","events_url":"https://api.github.com/users/KellerFuchs/events{/privacy}","received_events_url":"https://api.github.com/users/KellerFuchs/received_events","type":"User","site_admin":false},"body":"Oops, missing word in the comment.\r\nThanks","created_at":"2016-06-18T14:14:31Z","updated_at":"2016-06-18T14:14:31Z","html_url":"https://github.com/hashbang/shell-etc/pull/97#discussion_r67601531","pull_request_url":"https://api.github.com/repos/hashbang/shell-etc/pulls/97","_links":{"self":{"href":"https://api.github.com/repos/hashbang/shell-etc/pulls/comments/67601531"},"html":{"href":"https://github.com/hashbang/shell-etc/pull/97#discussion_r67601531"},"pull_request":{"href":"https://api.github.com/repos/hashbang/shell-etc/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/hashbang/shell-etc/pulls/97","id":74336380,"html_url":"https://github.com/hashbang/shell-etc/pull/97","diff_url":"https://github.com/hashbang/shell-etc/pull/97.diff","patch_url":"https://github.com/hashbang/shell-etc/pull/97.patch","issue_url":"https://api.github.com/repos/hashbang/shell-etc/issues/97","number":97,"state":"open","locked":false,"title":"Verify the signature on dotfiles when creating a homedir","user":{"login":"KellerFuchs","id":14331571,"avatar_url":"https://avatars.githubusercontent.com/u/14331571?v=3","gravatar_id":"","url":"https://api.github.com/users/KellerFuchs","html_url":"https://github.com/KellerFuchs","followers_url":"https://api.github.com/users/KellerFuchs/followers","following_url":"https://api.github.com/users/KellerFuchs/following{/other_user}","gists_url":"https://api.github.com/users/KellerFuchs/gists{/gist_id}","starred_url":"https://api.github.com/users/KellerFuchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KellerFuchs/subscriptions","organizations_url":"https://api.github.com/users/KellerFuchs/orgs","repos_url":"https://api.github.com/users/KellerFuchs/repos","events_url":"https://api.github.com/users/KellerFuchs/events{/privacy}","received_events_url":"https://api.github.com/users/KellerFuchs/received_events","type":"User","site_admin":false},"body":"This is done in two steps:\r\n\r\n1. make a world-readable, role-based, GnuPG keyring;\r\n2. use it to check the signature of the git `HEAD` when cloning the dotfiles repo.","created_at":"2016-06-18T12:53:42Z","updated_at":"2016-06-18T14:14:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd8932f6678d736b813cd0aecf048794a347a9d0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hashbang/shell-etc/pulls/97/commits","review_comments_url":"https://api.github.com/repos/hashbang/shell-etc/pulls/97/comments","review_comment_url":"https://api.github.com/repos/hashbang/shell-etc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashbang/shell-etc/issues/97/comments","statuses_url":"https://api.github.com/repos/hashbang/shell-etc/statuses/e1cb4f4f382549df70be62ad3071a30fcad551b1","head":{"label":"KellerFuchs:gpg","ref":"gpg","sha":"e1cb4f4f382549df70be62ad3071a30fcad551b1","user":{"login":"KellerFuchs","id":14331571,"avatar_url":"https://avatars.githubusercontent.com/u/14331571?v=3","gravatar_id":"","url":"https://api.github.com/users/KellerFuchs","html_url":"https://github.com/KellerFuchs","followers_url":"https://api.github.com/users/KellerFuchs/followers","following_url":"https://api.github.com/users/KellerFuchs/following{/other_user}","gists_url":"https://api.github.com/users/KellerFuchs/gists{/gist_id}","starred_url":"https://api.github.com/users/KellerFuchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KellerFuchs/subscriptions","organizations_url":"https://api.github.com/users/KellerFuchs/orgs","repos_url":"https://api.github.com/users/KellerFuchs/repos","events_url":"https://api.github.com/users/KellerFuchs/events{/privacy}","received_events_url":"https://api.github.com/users/KellerFuchs/received_events","type":"User","site_admin":false},"repo":{"id":42686821,"name":"shell-etc","full_name":"KellerFuchs/shell-etc","owner":{"login":"KellerFuchs","id":14331571,"avatar_url":"https://avatars.githubusercontent.com/u/14331571?v=3","gravatar_id":"","url":"https://api.github.com/users/KellerFuchs","html_url":"https://github.com/KellerFuchs","followers_url":"https://api.github.com/users/KellerFuchs/followers","following_url":"https://api.github.com/users/KellerFuchs/following{/other_user}","gists_url":"https://api.github.com/users/KellerFuchs/gists{/gist_id}","starred_url":"https://api.github.com/users/KellerFuchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KellerFuchs/subscriptions","organizations_url":"https://api.github.com/users/KellerFuchs/orgs","repos_url":"https://api.github.com/users/KellerFuchs/repos","events_url":"https://api.github.com/users/KellerFuchs/events{/privacy}","received_events_url":"https://api.github.com/users/KellerFuchs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KellerFuchs/shell-etc","description":"/etc directory from our shell servers, managed via etckeeper","fork":true,"url":"https://api.github.com/repos/KellerFuchs/shell-etc","forks_url":"https://api.github.com/repos/KellerFuchs/shell-etc/forks","keys_url":"https://api.github.com/repos/KellerFuchs/shell-etc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KellerFuchs/shell-etc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KellerFuchs/shell-etc/teams","hooks_url":"https://api.github.com/repos/KellerFuchs/shell-etc/hooks","issue_events_url":"https://api.github.com/repos/KellerFuchs/shell-etc/issues/events{/number}","events_url":"https://api.github.com/repos/KellerFuchs/shell-etc/events","assignees_url":"https://api.github.com/repos/KellerFuchs/shell-etc/assignees{/user}","branches_url":"https://api.github.com/repos/KellerFuchs/shell-etc/branches{/branch}","tags_url":"https://api.github.com/repos/KellerFuchs/shell-etc/tags","blobs_url":"https://api.github.com/repos/KellerFuchs/shell-etc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KellerFuchs/shell-etc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KellerFuchs/shell-etc/git/refs{/sha}","trees_url":"https://api.github.com/repos/KellerFuchs/shell-etc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KellerFuchs/shell-etc/statuses/{sha}","languages_url":"https://api.github.com/repos/KellerFuchs/shell-etc/languages","stargazers_url":"https://api.github.com/repos/KellerFuchs/shell-etc/stargazers","contributors_url":"https://api.github.com/repos/KellerFuchs/shell-etc/contributors","subscribers_url":"https://api.github.com/repos/KellerFuchs/shell-etc/subscribers","subscription_url":"https://api.github.com/repos/KellerFuchs/shell-etc/subscription","commits_url":"https://api.github.com/repos/KellerFuchs/shell-etc/commits{/sha}","git_commits_url":"https://api.github.com/repos/KellerFuchs/shell-etc/git/commits{/sha}","comments_url":"https://api.github.com/repos/KellerFuchs/shell-etc/comments{/number}","issue_comment_url":"https://api.github.com/repos/KellerFuchs/shell-etc/issues/comments{/number}","contents_url":"https://api.github.com/repos/KellerFuchs/shell-etc/contents/{+path}","compare_url":"https://api.github.com/repos/KellerFuchs/shell-etc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KellerFuchs/shell-etc/merges","archive_url":"https://api.github.com/repos/KellerFuchs/shell-etc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KellerFuchs/shell-etc/downloads","issues_url":"https://api.github.com/repos/KellerFuchs/shell-etc/issues{/number}","pulls_url":"https://api.github.com/repos/KellerFuchs/shell-etc/pulls{/number}","milestones_url":"https://api.github.com/repos/KellerFuchs/shell-etc/milestones{/number}","notifications_url":"https://api.github.com/repos/KellerFuchs/shell-etc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KellerFuchs/shell-etc/labels{/name}","releases_url":"https://api.github.com/repos/KellerFuchs/shell-etc/releases{/id}","deployments_url":"https://api.github.com/repos/KellerFuchs/shell-etc/deployments","created_at":"2015-09-17T23:11:29Z","updated_at":"2016-01-16T14:35:24Z","pushed_at":"2016-06-18T12:57:46Z","git_url":"git://github.com/KellerFuchs/shell-etc.git","ssh_url":"git@github.com:KellerFuchs/shell-etc.git","clone_url":"https://github.com/KellerFuchs/shell-etc.git","svn_url":"https://github.com/KellerFuchs/shell-etc","homepage":null,"size":5598,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"hashbang:master","ref":"master","sha":"43492a5dd4f7441cd8bf561220dbce65cf8a97d5","user":{"login":"hashbang","id":8587289,"avatar_url":"https://avatars.githubusercontent.com/u/8587289?v=3","gravatar_id":"","url":"https://api.github.com/users/hashbang","html_url":"https://github.com/hashbang","followers_url":"https://api.github.com/users/hashbang/followers","following_url":"https://api.github.com/users/hashbang/following{/other_user}","gists_url":"https://api.github.com/users/hashbang/gists{/gist_id}","starred_url":"https://api.github.com/users/hashbang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashbang/subscriptions","organizations_url":"https://api.github.com/users/hashbang/orgs","repos_url":"https://api.github.com/users/hashbang/repos","events_url":"https://api.github.com/users/hashbang/events{/privacy}","received_events_url":"https://api.github.com/users/hashbang/received_events","type":"Organization","site_admin":false},"repo":{"id":30750252,"name":"shell-etc","full_name":"hashbang/shell-etc","owner":{"login":"hashbang","id":8587289,"avatar_url":"https://avatars.githubusercontent.com/u/8587289?v=3","gravatar_id":"","url":"https://api.github.com/users/hashbang","html_url":"https://github.com/hashbang","followers_url":"https://api.github.com/users/hashbang/followers","following_url":"https://api.github.com/users/hashbang/following{/other_user}","gists_url":"https://api.github.com/users/hashbang/gists{/gist_id}","starred_url":"https://api.github.com/users/hashbang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashbang/subscriptions","organizations_url":"https://api.github.com/users/hashbang/orgs","repos_url":"https://api.github.com/users/hashbang/repos","events_url":"https://api.github.com/users/hashbang/events{/privacy}","received_events_url":"https://api.github.com/users/hashbang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashbang/shell-etc","description":"/etc directory from our shell servers, managed via etckeeper","fork":false,"url":"https://api.github.com/repos/hashbang/shell-etc","forks_url":"https://api.github.com/repos/hashbang/shell-etc/forks","keys_url":"https://api.github.com/repos/hashbang/shell-etc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashbang/shell-etc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashbang/shell-etc/teams","hooks_url":"https://api.github.com/repos/hashbang/shell-etc/hooks","issue_events_url":"https://api.github.com/repos/hashbang/shell-etc/issues/events{/number}","events_url":"https://api.github.com/repos/hashbang/shell-etc/events","assignees_url":"https://api.github.com/repos/hashbang/shell-etc/assignees{/user}","branches_url":"https://api.github.com/repos/hashbang/shell-etc/branches{/branch}","tags_url":"https://api.github.com/repos/hashbang/shell-etc/tags","blobs_url":"https://api.github.com/repos/hashbang/shell-etc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashbang/shell-etc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashbang/shell-etc/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashbang/shell-etc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashbang/shell-etc/statuses/{sha}","languages_url":"https://api.github.com/repos/hashbang/shell-etc/languages","stargazers_url":"https://api.github.com/repos/hashbang/shell-etc/stargazers","contributors_url":"https://api.github.com/repos/hashbang/shell-etc/contributors","subscribers_url":"https://api.github.com/repos/hashbang/shell-etc/subscribers","subscription_url":"https://api.github.com/repos/hashbang/shell-etc/subscription","commits_url":"https://api.github.com/repos/hashbang/shell-etc/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashbang/shell-etc/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashbang/shell-etc/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashbang/shell-etc/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashbang/shell-etc/contents/{+path}","compare_url":"https://api.github.com/repos/hashbang/shell-etc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashbang/shell-etc/merges","archive_url":"https://api.github.com/repos/hashbang/shell-etc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashbang/shell-etc/downloads","issues_url":"https://api.github.com/repos/hashbang/shell-etc/issues{/number}","pulls_url":"https://api.github.com/repos/hashbang/shell-etc/pulls{/number}","milestones_url":"https://api.github.com/repos/hashbang/shell-etc/milestones{/number}","notifications_url":"https://api.github.com/repos/hashbang/shell-etc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashbang/shell-etc/labels{/name}","releases_url":"https://api.github.com/repos/hashbang/shell-etc/releases{/id}","deployments_url":"https://api.github.com/repos/hashbang/shell-etc/deployments","created_at":"2015-02-13T09:47:27Z","updated_at":"2016-04-27T11:44:19Z","pushed_at":"2016-06-18T13:22:10Z","git_url":"git://github.com/hashbang/shell-etc.git","ssh_url":"git@github.com:hashbang/shell-etc.git","clone_url":"https://github.com/hashbang/shell-etc.git","svn_url":"https://github.com/hashbang/shell-etc","homepage":null,"size":5725,"stargazers_count":7,"watchers_count":7,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":11,"forks":10,"open_issues":11,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashbang/shell-etc/pulls/97"},"html":{"href":"https://github.com/hashbang/shell-etc/pull/97"},"issue":{"href":"https://api.github.com/repos/hashbang/shell-etc/issues/97"},"comments":{"href":"https://api.github.com/repos/hashbang/shell-etc/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/hashbang/shell-etc/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/hashbang/shell-etc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashbang/shell-etc/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/hashbang/shell-etc/statuses/e1cb4f4f382549df70be62ad3071a30fcad551b1"}}}}
{"actor":{"display_login":"KellerFuchs"}}