{"action":"closed","number":65,"pull_request":{"url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/pulls/65","id":52551578,"html_url":"https://github.com/RobertCNelson/omap-image-builder/pull/65","diff_url":"https://github.com/RobertCNelson/omap-image-builder/pull/65.diff","patch_url":"https://github.com/RobertCNelson/omap-image-builder/pull/65.patch","issue_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/issues/65","number":65,"state":"closed","locked":false,"title":"Mix HWRNG to the kernel before generating ssh keys.","user":{"login":"jbdatko","id":252259,"avatar_url":"https://avatars.githubusercontent.com/u/252259?v=3","gravatar_id":"","url":"https://api.github.com/users/jbdatko","html_url":"https://github.com/jbdatko","followers_url":"https://api.github.com/users/jbdatko/followers","following_url":"https://api.github.com/users/jbdatko/following{/other_user}","gists_url":"https://api.github.com/users/jbdatko/gists{/gist_id}","starred_url":"https://api.github.com/users/jbdatko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbdatko/subscriptions","organizations_url":"https://api.github.com/users/jbdatko/orgs","repos_url":"https://api.github.com/users/jbdatko/repos","events_url":"https://api.github.com/users/jbdatko/events{/privacy}","received_events_url":"https://api.github.com/users/jbdatko/received_events","type":"User","site_admin":false},"body":"This issue is mainly motivated by a RPi issue documented [here](https://github.com/RPi-Distro/repo/issues/6) and [here](https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=1268920).\r\n\r\nThere are some very strong opinions in those posts. I recommend merging this pull request based on the following observations/comments:\r\n\r\n1. The BBB since 3.8 has had support for HWRNG\r\n2. We want to regenerate unique keys for sshd on init. \r\n3. It appears openssh pulls from /dev/urandom\r\n4. The state of entropy in the BBB is probably low at this point as, as far as I understand the linux kernel's random implementation, even if you have a /dev/hwrng it's not explicitly used by the random pool.\r\n\r\nTherefore, I think this will improve the state of the internal random number generator.\r\n\r\nNote: This will *not* change the entropy_available value, as that is controlled by a different mechanism. Writing to /dev/urandom goes [here](http://lxr.free-electrons.com/source/drivers/char/random.c#L1586) which causes mixing of the RNG.\r\n","created_at":"2015-12-03T15:48:40Z","updated_at":"2015-12-03T15:49:52Z","closed_at":"2015-12-03T15:49:52Z","merged_at":"2015-12-03T15:49:52Z","merge_commit_sha":"5dfe63f73cb3d5c6a22df129742d07e2dbc90d7d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/pulls/65/commits","review_comments_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/pulls/65/comments","review_comment_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/issues/65/comments","statuses_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/statuses/68b7cce11f1e90c702e3c9a4141c0fc8331aaa1f","head":{"label":"jbdatko:master","ref":"master","sha":"68b7cce11f1e90c702e3c9a4141c0fc8331aaa1f","user":{"login":"jbdatko","id":252259,"avatar_url":"https://avatars.githubusercontent.com/u/252259?v=3","gravatar_id":"","url":"https://api.github.com/users/jbdatko","html_url":"https://github.com/jbdatko","followers_url":"https://api.github.com/users/jbdatko/followers","following_url":"https://api.github.com/users/jbdatko/following{/other_user}","gists_url":"https://api.github.com/users/jbdatko/gists{/gist_id}","starred_url":"https://api.github.com/users/jbdatko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbdatko/subscriptions","organizations_url":"https://api.github.com/users/jbdatko/orgs","repos_url":"https://api.github.com/users/jbdatko/repos","events_url":"https://api.github.com/users/jbdatko/events{/privacy}","received_events_url":"https://api.github.com/users/jbdatko/received_events","type":"User","site_admin":false},"repo":{"id":47339984,"name":"omap-image-builder","full_name":"jbdatko/omap-image-builder","owner":{"login":"jbdatko","id":252259,"avatar_url":"https://avatars.githubusercontent.com/u/252259?v=3","gravatar_id":"","url":"https://api.github.com/users/jbdatko","html_url":"https://github.com/jbdatko","followers_url":"https://api.github.com/users/jbdatko/followers","following_url":"https://api.github.com/users/jbdatko/following{/other_user}","gists_url":"https://api.github.com/users/jbdatko/gists{/gist_id}","starred_url":"https://api.github.com/users/jbdatko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbdatko/subscriptions","organizations_url":"https://api.github.com/users/jbdatko/orgs","repos_url":"https://api.github.com/users/jbdatko/repos","events_url":"https://api.github.com/users/jbdatko/events{/privacy}","received_events_url":"https://api.github.com/users/jbdatko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbdatko/omap-image-builder","description":"omap image builder","fork":true,"url":"https://api.github.com/repos/jbdatko/omap-image-builder","forks_url":"https://api.github.com/repos/jbdatko/omap-image-builder/forks","keys_url":"https://api.github.com/repos/jbdatko/omap-image-builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbdatko/omap-image-builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbdatko/omap-image-builder/teams","hooks_url":"https://api.github.com/repos/jbdatko/omap-image-builder/hooks","issue_events_url":"https://api.github.com/repos/jbdatko/omap-image-builder/issues/events{/number}","events_url":"https://api.github.com/repos/jbdatko/omap-image-builder/events","assignees_url":"https://api.github.com/repos/jbdatko/omap-image-builder/assignees{/user}","branches_url":"https://api.github.com/repos/jbdatko/omap-image-builder/branches{/branch}","tags_url":"https://api.github.com/repos/jbdatko/omap-image-builder/tags","blobs_url":"https://api.github.com/repos/jbdatko/omap-image-builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbdatko/omap-image-builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbdatko/omap-image-builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbdatko/omap-image-builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbdatko/omap-image-builder/statuses/{sha}","languages_url":"https://api.github.com/repos/jbdatko/omap-image-builder/languages","stargazers_url":"https://api.github.com/repos/jbdatko/omap-image-builder/stargazers","contributors_url":"https://api.github.com/repos/jbdatko/omap-image-builder/contributors","subscribers_url":"https://api.github.com/repos/jbdatko/omap-image-builder/subscribers","subscription_url":"https://api.github.com/repos/jbdatko/omap-image-builder/subscription","commits_url":"https://api.github.com/repos/jbdatko/omap-image-builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbdatko/omap-image-builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbdatko/omap-image-builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbdatko/omap-image-builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbdatko/omap-image-builder/contents/{+path}","compare_url":"https://api.github.com/repos/jbdatko/omap-image-builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbdatko/omap-image-builder/merges","archive_url":"https://api.github.com/repos/jbdatko/omap-image-builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbdatko/omap-image-builder/downloads","issues_url":"https://api.github.com/repos/jbdatko/omap-image-builder/issues{/number}","pulls_url":"https://api.github.com/repos/jbdatko/omap-image-builder/pulls{/number}","milestones_url":"https://api.github.com/repos/jbdatko/omap-image-builder/milestones{/number}","notifications_url":"https://api.github.com/repos/jbdatko/omap-image-builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbdatko/omap-image-builder/labels{/name}","releases_url":"https://api.github.com/repos/jbdatko/omap-image-builder/releases{/id}","created_at":"2015-12-03T15:17:24Z","updated_at":"2015-12-03T15:17:26Z","pushed_at":"2015-12-03T15:38:28Z","git_url":"git://github.com/jbdatko/omap-image-builder.git","ssh_url":"git@github.com:jbdatko/omap-image-builder.git","clone_url":"https://github.com/jbdatko/omap-image-builder.git","svn_url":"https://github.com/jbdatko/omap-image-builder","homepage":"http://elinux.org/BeagleBoardUbuntu","size":3484,"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":"RobertCNelson:master","ref":"master","sha":"9644d52551e34d3a4a8d2f6d61e05470a6fd05df","user":{"login":"RobertCNelson","id":91469,"avatar_url":"https://avatars.githubusercontent.com/u/91469?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertCNelson","html_url":"https://github.com/RobertCNelson","followers_url":"https://api.github.com/users/RobertCNelson/followers","following_url":"https://api.github.com/users/RobertCNelson/following{/other_user}","gists_url":"https://api.github.com/users/RobertCNelson/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertCNelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertCNelson/subscriptions","organizations_url":"https://api.github.com/users/RobertCNelson/orgs","repos_url":"https://api.github.com/users/RobertCNelson/repos","events_url":"https://api.github.com/users/RobertCNelson/events{/privacy}","received_events_url":"https://api.github.com/users/RobertCNelson/received_events","type":"User","site_admin":false},"repo":{"id":984345,"name":"omap-image-builder","full_name":"RobertCNelson/omap-image-builder","owner":{"login":"RobertCNelson","id":91469,"avatar_url":"https://avatars.githubusercontent.com/u/91469?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertCNelson","html_url":"https://github.com/RobertCNelson","followers_url":"https://api.github.com/users/RobertCNelson/followers","following_url":"https://api.github.com/users/RobertCNelson/following{/other_user}","gists_url":"https://api.github.com/users/RobertCNelson/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertCNelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertCNelson/subscriptions","organizations_url":"https://api.github.com/users/RobertCNelson/orgs","repos_url":"https://api.github.com/users/RobertCNelson/repos","events_url":"https://api.github.com/users/RobertCNelson/events{/privacy}","received_events_url":"https://api.github.com/users/RobertCNelson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RobertCNelson/omap-image-builder","description":"omap image builder","fork":false,"url":"https://api.github.com/repos/RobertCNelson/omap-image-builder","forks_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/forks","keys_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/teams","hooks_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/hooks","issue_events_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/issues/events{/number}","events_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/events","assignees_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/assignees{/user}","branches_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/branches{/branch}","tags_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/tags","blobs_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/statuses/{sha}","languages_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/languages","stargazers_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/stargazers","contributors_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/contributors","subscribers_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/subscribers","subscription_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/subscription","commits_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/contents/{+path}","compare_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/merges","archive_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/downloads","issues_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/issues{/number}","pulls_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/pulls{/number}","milestones_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/milestones{/number}","notifications_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/labels{/name}","releases_url":"https://api.github.com/repos/RobertCNelson/omap-image-builder/releases{/id}","created_at":"2010-10-13T15:49:49Z","updated_at":"2015-08-28T19:12:30Z","pushed_at":"2015-12-03T15:49:52Z","git_url":"git://github.com/RobertCNelson/omap-image-builder.git","ssh_url":"git@github.com:RobertCNelson/omap-image-builder.git","clone_url":"https://github.com/RobertCNelson/omap-image-builder.git","svn_url":"https://github.com/RobertCNelson/omap-image-builder","homepage":"http://elinux.org/BeagleBoardUbuntu","size":3512,"stargazers_count":63,"watchers_count":63,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":76,"mirror_url":null,"open_issues_count":9,"forks":76,"open_issues":9,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RobertCNelson/omap-image-builder/pulls/65"},"html":{"href":"https://github.com/RobertCNelson/omap-image-builder/pull/65"},"issue":{"href":"https://api.github.com/repos/RobertCNelson/omap-image-builder/issues/65"},"comments":{"href":"https://api.github.com/repos/RobertCNelson/omap-image-builder/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/RobertCNelson/omap-image-builder/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/RobertCNelson/omap-image-builder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RobertCNelson/omap-image-builder/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/RobertCNelson/omap-image-builder/statuses/68b7cce11f1e90c702e3c9a4141c0fc8331aaa1f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"RobertCNelson","id":91469,"avatar_url":"https://avatars.githubusercontent.com/u/91469?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertCNelson","html_url":"https://github.com/RobertCNelson","followers_url":"https://api.github.com/users/RobertCNelson/followers","following_url":"https://api.github.com/users/RobertCNelson/following{/other_user}","gists_url":"https://api.github.com/users/RobertCNelson/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertCNelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertCNelson/subscriptions","organizations_url":"https://api.github.com/users/RobertCNelson/orgs","repos_url":"https://api.github.com/users/RobertCNelson/repos","events_url":"https://api.github.com/users/RobertCNelson/events{/privacy}","received_events_url":"https://api.github.com/users/RobertCNelson/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}