{"action":"created","comment":{"url":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls/comments/30888239","id":30888239,"diff_hunk":"@@ -320,8 +320,13 @@ module.exports = {\n       return;\n     }\n \n-    if (typeof window !== 'undefined' && window.crypto) {\n-      return window.crypto.subtle || window.crypto.webkitSubtle;\n+    if (typeof window !== 'undefined') {\n+      if(window.crypto) {\n+        return window.crypto.subtle || window.crypto.webkitSubtle;\n+      }\n+      if(window.msCrypto) {","path":"src/util.js","position":10,"original_position":10,"commit_id":"e8465350fc2d1f4c09f25f18118bfb8fdf7fb1b4","original_commit_id":"e8465350fc2d1f4c09f25f18118bfb8fdf7fb1b4","user":{"login":"tanx","id":1374174,"avatar_url":"https://avatars.githubusercontent.com/u/1374174?v=3","gravatar_id":"","url":"https://api.github.com/users/tanx","html_url":"https://github.com/tanx","followers_url":"https://api.github.com/users/tanx/followers","following_url":"https://api.github.com/users/tanx/following{/other_user}","gists_url":"https://api.github.com/users/tanx/gists{/gist_id}","starred_url":"https://api.github.com/users/tanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanx/subscriptions","organizations_url":"https://api.github.com/users/tanx/orgs","repos_url":"https://api.github.com/users/tanx/repos","events_url":"https://api.github.com/users/tanx/events{/privacy}","received_events_url":"https://api.github.com/users/tanx/received_events","type":"User","site_admin":false},"body":"Please use space here `if (`","created_at":"2015-05-22T11:41:13Z","updated_at":"2015-05-22T11:41:13Z","html_url":"https://github.com/openpgpjs/openpgpjs/pull/296#discussion_r30888239","pull_request_url":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls/296","_links":{"self":{"href":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls/comments/30888239"},"html":{"href":"https://github.com/openpgpjs/openpgpjs/pull/296#discussion_r30888239"},"pull_request":{"href":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls/296"}}},"pull_request":{"url":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls/296","id":30223298,"html_url":"https://github.com/openpgpjs/openpgpjs/pull/296","diff_url":"https://github.com/openpgpjs/openpgpjs/pull/296.diff","patch_url":"https://github.com/openpgpjs/openpgpjs/pull/296.patch","issue_url":"https://api.github.com/repos/openpgpjs/openpgpjs/issues/296","number":296,"state":"open","locked":false,"title":"Support for crypto API keygen in IE11 on Windows 7 and 8","user":{"login":"bartbutler","id":5491415,"avatar_url":"https://avatars.githubusercontent.com/u/5491415?v=3","gravatar_id":"","url":"https://api.github.com/users/bartbutler","html_url":"https://github.com/bartbutler","followers_url":"https://api.github.com/users/bartbutler/followers","following_url":"https://api.github.com/users/bartbutler/following{/other_user}","gists_url":"https://api.github.com/users/bartbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/bartbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartbutler/subscriptions","organizations_url":"https://api.github.com/users/bartbutler/orgs","repos_url":"https://api.github.com/users/bartbutler/repos","events_url":"https://api.github.com/users/bartbutler/events{/privacy}","received_events_url":"https://api.github.com/users/bartbutler/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-28T11:46:29Z","updated_at":"2015-05-22T11:41:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6137a584e0e5a87dc41d78d2ae11ab467da91b83","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls/296/commits","review_comments_url":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls/296/comments","review_comment_url":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openpgpjs/openpgpjs/issues/296/comments","statuses_url":"https://api.github.com/repos/openpgpjs/openpgpjs/statuses/e8465350fc2d1f4c09f25f18118bfb8fdf7fb1b4","head":{"label":"bartbutler:ie11_keygen","ref":"ie11_keygen","sha":"e8465350fc2d1f4c09f25f18118bfb8fdf7fb1b4","user":{"login":"bartbutler","id":5491415,"avatar_url":"https://avatars.githubusercontent.com/u/5491415?v=3","gravatar_id":"","url":"https://api.github.com/users/bartbutler","html_url":"https://github.com/bartbutler","followers_url":"https://api.github.com/users/bartbutler/followers","following_url":"https://api.github.com/users/bartbutler/following{/other_user}","gists_url":"https://api.github.com/users/bartbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/bartbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartbutler/subscriptions","organizations_url":"https://api.github.com/users/bartbutler/orgs","repos_url":"https://api.github.com/users/bartbutler/repos","events_url":"https://api.github.com/users/bartbutler/events{/privacy}","received_events_url":"https://api.github.com/users/bartbutler/received_events","type":"User","site_admin":false},"repo":{"id":30519594,"name":"openpgpjs","full_name":"bartbutler/openpgpjs","owner":{"login":"bartbutler","id":5491415,"avatar_url":"https://avatars.githubusercontent.com/u/5491415?v=3","gravatar_id":"","url":"https://api.github.com/users/bartbutler","html_url":"https://github.com/bartbutler","followers_url":"https://api.github.com/users/bartbutler/followers","following_url":"https://api.github.com/users/bartbutler/following{/other_user}","gists_url":"https://api.github.com/users/bartbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/bartbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartbutler/subscriptions","organizations_url":"https://api.github.com/users/bartbutler/orgs","repos_url":"https://api.github.com/users/bartbutler/repos","events_url":"https://api.github.com/users/bartbutler/events{/privacy}","received_events_url":"https://api.github.com/users/bartbutler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bartbutler/openpgpjs","description":"OpenPGP implementation for JavaScript","fork":true,"url":"https://api.github.com/repos/bartbutler/openpgpjs","forks_url":"https://api.github.com/repos/bartbutler/openpgpjs/forks","keys_url":"https://api.github.com/repos/bartbutler/openpgpjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bartbutler/openpgpjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bartbutler/openpgpjs/teams","hooks_url":"https://api.github.com/repos/bartbutler/openpgpjs/hooks","issue_events_url":"https://api.github.com/repos/bartbutler/openpgpjs/issues/events{/number}","events_url":"https://api.github.com/repos/bartbutler/openpgpjs/events","assignees_url":"https://api.github.com/repos/bartbutler/openpgpjs/assignees{/user}","branches_url":"https://api.github.com/repos/bartbutler/openpgpjs/branches{/branch}","tags_url":"https://api.github.com/repos/bartbutler/openpgpjs/tags","blobs_url":"https://api.github.com/repos/bartbutler/openpgpjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bartbutler/openpgpjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bartbutler/openpgpjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/bartbutler/openpgpjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bartbutler/openpgpjs/statuses/{sha}","languages_url":"https://api.github.com/repos/bartbutler/openpgpjs/languages","stargazers_url":"https://api.github.com/repos/bartbutler/openpgpjs/stargazers","contributors_url":"https://api.github.com/repos/bartbutler/openpgpjs/contributors","subscribers_url":"https://api.github.com/repos/bartbutler/openpgpjs/subscribers","subscription_url":"https://api.github.com/repos/bartbutler/openpgpjs/subscription","commits_url":"https://api.github.com/repos/bartbutler/openpgpjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/bartbutler/openpgpjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/bartbutler/openpgpjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/bartbutler/openpgpjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/bartbutler/openpgpjs/contents/{+path}","compare_url":"https://api.github.com/repos/bartbutler/openpgpjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bartbutler/openpgpjs/merges","archive_url":"https://api.github.com/repos/bartbutler/openpgpjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bartbutler/openpgpjs/downloads","issues_url":"https://api.github.com/repos/bartbutler/openpgpjs/issues{/number}","pulls_url":"https://api.github.com/repos/bartbutler/openpgpjs/pulls{/number}","milestones_url":"https://api.github.com/repos/bartbutler/openpgpjs/milestones{/number}","notifications_url":"https://api.github.com/repos/bartbutler/openpgpjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bartbutler/openpgpjs/labels{/name}","releases_url":"https://api.github.com/repos/bartbutler/openpgpjs/releases{/id}","created_at":"2015-02-09T05:05:07Z","updated_at":"2015-02-28T07:52:48Z","pushed_at":"2015-05-01T19:43:29Z","git_url":"git://github.com/bartbutler/openpgpjs.git","ssh_url":"git@github.com:bartbutler/openpgpjs.git","clone_url":"https://github.com/bartbutler/openpgpjs.git","svn_url":"https://github.com/bartbutler/openpgpjs","homepage":"http://openpgpjs.org","size":18738,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openpgpjs:master","ref":"master","sha":"9ad364781fb91cf8bbc1248dae7a87fe83f02089","user":{"login":"openpgpjs","id":1206249,"avatar_url":"https://avatars.githubusercontent.com/u/1206249?v=3","gravatar_id":"","url":"https://api.github.com/users/openpgpjs","html_url":"https://github.com/openpgpjs","followers_url":"https://api.github.com/users/openpgpjs/followers","following_url":"https://api.github.com/users/openpgpjs/following{/other_user}","gists_url":"https://api.github.com/users/openpgpjs/gists{/gist_id}","starred_url":"https://api.github.com/users/openpgpjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openpgpjs/subscriptions","organizations_url":"https://api.github.com/users/openpgpjs/orgs","repos_url":"https://api.github.com/users/openpgpjs/repos","events_url":"https://api.github.com/users/openpgpjs/events{/privacy}","received_events_url":"https://api.github.com/users/openpgpjs/received_events","type":"Organization","site_admin":false},"repo":{"id":2765899,"name":"openpgpjs","full_name":"openpgpjs/openpgpjs","owner":{"login":"openpgpjs","id":1206249,"avatar_url":"https://avatars.githubusercontent.com/u/1206249?v=3","gravatar_id":"","url":"https://api.github.com/users/openpgpjs","html_url":"https://github.com/openpgpjs","followers_url":"https://api.github.com/users/openpgpjs/followers","following_url":"https://api.github.com/users/openpgpjs/following{/other_user}","gists_url":"https://api.github.com/users/openpgpjs/gists{/gist_id}","starred_url":"https://api.github.com/users/openpgpjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openpgpjs/subscriptions","organizations_url":"https://api.github.com/users/openpgpjs/orgs","repos_url":"https://api.github.com/users/openpgpjs/repos","events_url":"https://api.github.com/users/openpgpjs/events{/privacy}","received_events_url":"https://api.github.com/users/openpgpjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openpgpjs/openpgpjs","description":"OpenPGP implementation for JavaScript","fork":false,"url":"https://api.github.com/repos/openpgpjs/openpgpjs","forks_url":"https://api.github.com/repos/openpgpjs/openpgpjs/forks","keys_url":"https://api.github.com/repos/openpgpjs/openpgpjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openpgpjs/openpgpjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openpgpjs/openpgpjs/teams","hooks_url":"https://api.github.com/repos/openpgpjs/openpgpjs/hooks","issue_events_url":"https://api.github.com/repos/openpgpjs/openpgpjs/issues/events{/number}","events_url":"https://api.github.com/repos/openpgpjs/openpgpjs/events","assignees_url":"https://api.github.com/repos/openpgpjs/openpgpjs/assignees{/user}","branches_url":"https://api.github.com/repos/openpgpjs/openpgpjs/branches{/branch}","tags_url":"https://api.github.com/repos/openpgpjs/openpgpjs/tags","blobs_url":"https://api.github.com/repos/openpgpjs/openpgpjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openpgpjs/openpgpjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openpgpjs/openpgpjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/openpgpjs/openpgpjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openpgpjs/openpgpjs/statuses/{sha}","languages_url":"https://api.github.com/repos/openpgpjs/openpgpjs/languages","stargazers_url":"https://api.github.com/repos/openpgpjs/openpgpjs/stargazers","contributors_url":"https://api.github.com/repos/openpgpjs/openpgpjs/contributors","subscribers_url":"https://api.github.com/repos/openpgpjs/openpgpjs/subscribers","subscription_url":"https://api.github.com/repos/openpgpjs/openpgpjs/subscription","commits_url":"https://api.github.com/repos/openpgpjs/openpgpjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/openpgpjs/openpgpjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/openpgpjs/openpgpjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/openpgpjs/openpgpjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/openpgpjs/openpgpjs/contents/{+path}","compare_url":"https://api.github.com/repos/openpgpjs/openpgpjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openpgpjs/openpgpjs/merges","archive_url":"https://api.github.com/repos/openpgpjs/openpgpjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openpgpjs/openpgpjs/downloads","issues_url":"https://api.github.com/repos/openpgpjs/openpgpjs/issues{/number}","pulls_url":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls{/number}","milestones_url":"https://api.github.com/repos/openpgpjs/openpgpjs/milestones{/number}","notifications_url":"https://api.github.com/repos/openpgpjs/openpgpjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openpgpjs/openpgpjs/labels{/name}","releases_url":"https://api.github.com/repos/openpgpjs/openpgpjs/releases{/id}","created_at":"2011-11-13T10:36:43Z","updated_at":"2015-05-22T08:18:08Z","pushed_at":"2015-05-22T09:29:53Z","git_url":"git://github.com/openpgpjs/openpgpjs.git","ssh_url":"git@github.com:openpgpjs/openpgpjs.git","clone_url":"https://github.com/openpgpjs/openpgpjs.git","svn_url":"https://github.com/openpgpjs/openpgpjs","homepage":"http://openpgpjs.org","size":21545,"stargazers_count":1423,"watchers_count":1423,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":183,"mirror_url":null,"open_issues_count":71,"forks":183,"open_issues":71,"watchers":1423,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls/296"},"html":{"href":"https://github.com/openpgpjs/openpgpjs/pull/296"},"issue":{"href":"https://api.github.com/repos/openpgpjs/openpgpjs/issues/296"},"comments":{"href":"https://api.github.com/repos/openpgpjs/openpgpjs/issues/296/comments"},"review_comments":{"href":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls/296/comments"},"review_comment":{"href":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openpgpjs/openpgpjs/pulls/296/commits"},"statuses":{"href":"https://api.github.com/repos/openpgpjs/openpgpjs/statuses/e8465350fc2d1f4c09f25f18118bfb8fdf7fb1b4"}}}}