{"action":"closed","number":73,"pull_request":{"url":"https://api.github.com/repos/runtimejs/runtime/pulls/73","id":39225089,"html_url":"https://github.com/runtimejs/runtime/pull/73","diff_url":"https://github.com/runtimejs/runtime/pull/73.diff","patch_url":"https://github.com/runtimejs/runtime/pull/73.patch","issue_url":"https://api.github.com/repos/runtimejs/runtime/issues/73","number":73,"state":"closed","locked":false,"title":"Add RNG driver","user":{"login":"ArielAbreu","id":11756574,"avatar_url":"https://avatars.githubusercontent.com/u/11756574?v=3","gravatar_id":"","url":"https://api.github.com/users/ArielAbreu","html_url":"https://github.com/ArielAbreu","followers_url":"https://api.github.com/users/ArielAbreu/followers","following_url":"https://api.github.com/users/ArielAbreu/following{/other_user}","gists_url":"https://api.github.com/users/ArielAbreu/gists{/gist_id}","starred_url":"https://api.github.com/users/ArielAbreu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArielAbreu/subscriptions","organizations_url":"https://api.github.com/users/ArielAbreu/orgs","repos_url":"https://api.github.com/users/ArielAbreu/repos","events_url":"https://api.github.com/users/ArielAbreu/events{/privacy}","received_events_url":"https://api.github.com/users/ArielAbreu/received_events","type":"User","site_admin":false},"body":"This PR adds a VirtioRNG driver. Exposes `getRand(cb)` and `getRandLength(length, cb)` in `runtime.driver.rng` (though, i'm pretty sure you'll want to change that, seems like a bad place for it). I had to remove the PCI debug info iterator, because for some reason, having it there prevented the PCI lister function from reading the RNG device (in fact, it hung the system and didn't even load the shell). I know that's a bug, but for now that's the alternative I could find. Now someone just needs to provide an interface for libsodium 😄. I'm working on a custom (no libsodium) `randomBytes` implementation.","created_at":"2015-07-05T18:53:36Z","updated_at":"2015-07-27T22:57:28Z","closed_at":"2015-07-27T22:57:28Z","merged_at":"2015-07-27T22:57:28Z","merge_commit_sha":"c8d9c4b7d32fa2a366ef734a198e66964eb911d5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/runtimejs/runtime/pulls/73/commits","review_comments_url":"https://api.github.com/repos/runtimejs/runtime/pulls/73/comments","review_comment_url":"https://api.github.com/repos/runtimejs/runtime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/runtimejs/runtime/issues/73/comments","statuses_url":"https://api.github.com/repos/runtimejs/runtime/statuses/76e209c1e26b335ee78bb302ee5a2a690909ca54","head":{"label":"ArielAbreu:virtiorng","ref":"virtiorng","sha":"76e209c1e26b335ee78bb302ee5a2a690909ca54","user":{"login":"ArielAbreu","id":11756574,"avatar_url":"https://avatars.githubusercontent.com/u/11756574?v=3","gravatar_id":"","url":"https://api.github.com/users/ArielAbreu","html_url":"https://github.com/ArielAbreu","followers_url":"https://api.github.com/users/ArielAbreu/followers","following_url":"https://api.github.com/users/ArielAbreu/following{/other_user}","gists_url":"https://api.github.com/users/ArielAbreu/gists{/gist_id}","starred_url":"https://api.github.com/users/ArielAbreu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArielAbreu/subscriptions","organizations_url":"https://api.github.com/users/ArielAbreu/orgs","repos_url":"https://api.github.com/users/ArielAbreu/repos","events_url":"https://api.github.com/users/ArielAbreu/events{/privacy}","received_events_url":"https://api.github.com/users/ArielAbreu/received_events","type":"User","site_admin":false},"repo":{"id":38538108,"name":"runtime","full_name":"ArielAbreu/runtime","owner":{"login":"ArielAbreu","id":11756574,"avatar_url":"https://avatars.githubusercontent.com/u/11756574?v=3","gravatar_id":"","url":"https://api.github.com/users/ArielAbreu","html_url":"https://github.com/ArielAbreu","followers_url":"https://api.github.com/users/ArielAbreu/followers","following_url":"https://api.github.com/users/ArielAbreu/following{/other_user}","gists_url":"https://api.github.com/users/ArielAbreu/gists{/gist_id}","starred_url":"https://api.github.com/users/ArielAbreu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArielAbreu/subscriptions","organizations_url":"https://api.github.com/users/ArielAbreu/orgs","repos_url":"https://api.github.com/users/ArielAbreu/repos","events_url":"https://api.github.com/users/ArielAbreu/events{/privacy}","received_events_url":"https://api.github.com/users/ArielAbreu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ArielAbreu/runtime","description":"JavaScript library operating system for the cloud","fork":true,"url":"https://api.github.com/repos/ArielAbreu/runtime","forks_url":"https://api.github.com/repos/ArielAbreu/runtime/forks","keys_url":"https://api.github.com/repos/ArielAbreu/runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ArielAbreu/runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ArielAbreu/runtime/teams","hooks_url":"https://api.github.com/repos/ArielAbreu/runtime/hooks","issue_events_url":"https://api.github.com/repos/ArielAbreu/runtime/issues/events{/number}","events_url":"https://api.github.com/repos/ArielAbreu/runtime/events","assignees_url":"https://api.github.com/repos/ArielAbreu/runtime/assignees{/user}","branches_url":"https://api.github.com/repos/ArielAbreu/runtime/branches{/branch}","tags_url":"https://api.github.com/repos/ArielAbreu/runtime/tags","blobs_url":"https://api.github.com/repos/ArielAbreu/runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ArielAbreu/runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ArielAbreu/runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/ArielAbreu/runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ArielAbreu/runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/ArielAbreu/runtime/languages","stargazers_url":"https://api.github.com/repos/ArielAbreu/runtime/stargazers","contributors_url":"https://api.github.com/repos/ArielAbreu/runtime/contributors","subscribers_url":"https://api.github.com/repos/ArielAbreu/runtime/subscribers","subscription_url":"https://api.github.com/repos/ArielAbreu/runtime/subscription","commits_url":"https://api.github.com/repos/ArielAbreu/runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/ArielAbreu/runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/ArielAbreu/runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/ArielAbreu/runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/ArielAbreu/runtime/contents/{+path}","compare_url":"https://api.github.com/repos/ArielAbreu/runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ArielAbreu/runtime/merges","archive_url":"https://api.github.com/repos/ArielAbreu/runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ArielAbreu/runtime/downloads","issues_url":"https://api.github.com/repos/ArielAbreu/runtime/issues{/number}","pulls_url":"https://api.github.com/repos/ArielAbreu/runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/ArielAbreu/runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/ArielAbreu/runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ArielAbreu/runtime/labels{/name}","releases_url":"https://api.github.com/repos/ArielAbreu/runtime/releases{/id}","created_at":"2015-07-04T15:20:41Z","updated_at":"2015-07-04T15:20:42Z","pushed_at":"2015-07-26T02:02:33Z","git_url":"git://github.com/ArielAbreu/runtime.git","ssh_url":"git@github.com:ArielAbreu/runtime.git","clone_url":"https://github.com/ArielAbreu/runtime.git","svn_url":"https://github.com/ArielAbreu/runtime","homepage":"http://runtimejs.org","size":63370,"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":"runtimejs:master","ref":"master","sha":"056cd55898099978736b89a45825b2bb39688ea1","user":{"login":"runtimejs","id":7094989,"avatar_url":"https://avatars.githubusercontent.com/u/7094989?v=3","gravatar_id":"","url":"https://api.github.com/users/runtimejs","html_url":"https://github.com/runtimejs","followers_url":"https://api.github.com/users/runtimejs/followers","following_url":"https://api.github.com/users/runtimejs/following{/other_user}","gists_url":"https://api.github.com/users/runtimejs/gists{/gist_id}","starred_url":"https://api.github.com/users/runtimejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtimejs/subscriptions","organizations_url":"https://api.github.com/users/runtimejs/orgs","repos_url":"https://api.github.com/users/runtimejs/repos","events_url":"https://api.github.com/users/runtimejs/events{/privacy}","received_events_url":"https://api.github.com/users/runtimejs/received_events","type":"Organization","site_admin":false},"repo":{"id":20153919,"name":"runtime","full_name":"runtimejs/runtime","owner":{"login":"runtimejs","id":7094989,"avatar_url":"https://avatars.githubusercontent.com/u/7094989?v=3","gravatar_id":"","url":"https://api.github.com/users/runtimejs","html_url":"https://github.com/runtimejs","followers_url":"https://api.github.com/users/runtimejs/followers","following_url":"https://api.github.com/users/runtimejs/following{/other_user}","gists_url":"https://api.github.com/users/runtimejs/gists{/gist_id}","starred_url":"https://api.github.com/users/runtimejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtimejs/subscriptions","organizations_url":"https://api.github.com/users/runtimejs/orgs","repos_url":"https://api.github.com/users/runtimejs/repos","events_url":"https://api.github.com/users/runtimejs/events{/privacy}","received_events_url":"https://api.github.com/users/runtimejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/runtimejs/runtime","description":"JavaScript library operating system for the cloud","fork":false,"url":"https://api.github.com/repos/runtimejs/runtime","forks_url":"https://api.github.com/repos/runtimejs/runtime/forks","keys_url":"https://api.github.com/repos/runtimejs/runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runtimejs/runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runtimejs/runtime/teams","hooks_url":"https://api.github.com/repos/runtimejs/runtime/hooks","issue_events_url":"https://api.github.com/repos/runtimejs/runtime/issues/events{/number}","events_url":"https://api.github.com/repos/runtimejs/runtime/events","assignees_url":"https://api.github.com/repos/runtimejs/runtime/assignees{/user}","branches_url":"https://api.github.com/repos/runtimejs/runtime/branches{/branch}","tags_url":"https://api.github.com/repos/runtimejs/runtime/tags","blobs_url":"https://api.github.com/repos/runtimejs/runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runtimejs/runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runtimejs/runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/runtimejs/runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runtimejs/runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/runtimejs/runtime/languages","stargazers_url":"https://api.github.com/repos/runtimejs/runtime/stargazers","contributors_url":"https://api.github.com/repos/runtimejs/runtime/contributors","subscribers_url":"https://api.github.com/repos/runtimejs/runtime/subscribers","subscription_url":"https://api.github.com/repos/runtimejs/runtime/subscription","commits_url":"https://api.github.com/repos/runtimejs/runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/runtimejs/runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/runtimejs/runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/runtimejs/runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/runtimejs/runtime/contents/{+path}","compare_url":"https://api.github.com/repos/runtimejs/runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runtimejs/runtime/merges","archive_url":"https://api.github.com/repos/runtimejs/runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runtimejs/runtime/downloads","issues_url":"https://api.github.com/repos/runtimejs/runtime/issues{/number}","pulls_url":"https://api.github.com/repos/runtimejs/runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/runtimejs/runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/runtimejs/runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runtimejs/runtime/labels{/name}","releases_url":"https://api.github.com/repos/runtimejs/runtime/releases{/id}","created_at":"2014-05-25T12:26:29Z","updated_at":"2015-07-21T17:11:56Z","pushed_at":"2015-07-27T22:57:27Z","git_url":"git://github.com/runtimejs/runtime.git","ssh_url":"git@github.com:runtimejs/runtime.git","clone_url":"https://github.com/runtimejs/runtime.git","svn_url":"https://github.com/runtimejs/runtime","homepage":"http://runtimejs.org","size":64547,"stargazers_count":1092,"watchers_count":1092,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":15,"forks":61,"open_issues":15,"watchers":1092,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/runtimejs/runtime/pulls/73"},"html":{"href":"https://github.com/runtimejs/runtime/pull/73"},"issue":{"href":"https://api.github.com/repos/runtimejs/runtime/issues/73"},"comments":{"href":"https://api.github.com/repos/runtimejs/runtime/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/runtimejs/runtime/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/runtimejs/runtime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/runtimejs/runtime/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/runtimejs/runtime/statuses/76e209c1e26b335ee78bb302ee5a2a690909ca54"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"iefserge","id":6034700,"avatar_url":"https://avatars.githubusercontent.com/u/6034700?v=3","gravatar_id":"","url":"https://api.github.com/users/iefserge","html_url":"https://github.com/iefserge","followers_url":"https://api.github.com/users/iefserge/followers","following_url":"https://api.github.com/users/iefserge/following{/other_user}","gists_url":"https://api.github.com/users/iefserge/gists{/gist_id}","starred_url":"https://api.github.com/users/iefserge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iefserge/subscriptions","organizations_url":"https://api.github.com/users/iefserge/orgs","repos_url":"https://api.github.com/users/iefserge/repos","events_url":"https://api.github.com/users/iefserge/events{/privacy}","received_events_url":"https://api.github.com/users/iefserge/received_events","type":"User","site_admin":false},"comments":22,"review_comments":79,"commits":29,"additions":527,"deletions":21,"changed_files":8}}