{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/kirei/catt/pulls/8","id":61354865,"html_url":"https://github.com/kirei/catt/pull/8","diff_url":"https://github.com/kirei/catt/pull/8.diff","patch_url":"https://github.com/kirei/catt/pull/8.patch","issue_url":"https://api.github.com/repos/kirei/catt/issues/8","number":8,"state":"open","locked":false,"title":"Adobe aatl","user":{"login":"divergentdave","id":181772,"avatar_url":"https://avatars.githubusercontent.com/u/181772?v=3","gravatar_id":"","url":"https://api.github.com/users/divergentdave","html_url":"https://github.com/divergentdave","followers_url":"https://api.github.com/users/divergentdave/followers","following_url":"https://api.github.com/users/divergentdave/following{/other_user}","gists_url":"https://api.github.com/users/divergentdave/gists{/gist_id}","starred_url":"https://api.github.com/users/divergentdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divergentdave/subscriptions","organizations_url":"https://api.github.com/users/divergentdave/orgs","repos_url":"https://api.github.com/users/divergentdave/repos","events_url":"https://api.github.com/users/divergentdave/events{/privacy}","received_events_url":"https://api.github.com/users/divergentdave/received_events","type":"User","site_admin":false},"body":"These scripts fetch the same file that Adobe Acrobat X and Adobe Reader X use, a special PDF file with an XML attachment. All of the embedded certificates in the XML file are extracted into a directory and indexed.\r\n\r\n(Implements #7)\r\n\r\nFWIW, There are a few open questions I haven't addressed yet with this.\r\n\r\n- The container file is downloaded over HTTP, and it has a PDF signature over it. At this point the script doesn't make any effort to verify the signature. This could be done, with a bit more work.\r\n- Each certificate has an ImportAction of 1, 2, or 3 attached to it. I don't yet know what purpose these serve, but they may be useful for filtering out untrusted or unwanted certificates.\r\n- Each certificate is also labeled with a \"Root\" element, which has a value of 1 or 0. Again, this may help filter out which certificates should be extracted. Based on the name, it could be that certificates with Root set are trusted, while others are only used in chain building, but I haven't tested this hypothesis.\r\n- Inside the \"Trust\" element, each certificate is labeled with whether or not it is trusted for several purposes. Some certificates have all bits cleared ,while others have only the CertifiedDocuments trust bit set. At this point the script doesn't use this information for any filtering.\r\n\r\nLet me know what you think, and thanks!","created_at":"2016-03-02T05:59:29Z","updated_at":"2016-03-02T05:59:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kirei/catt/pulls/8/commits","review_comments_url":"https://api.github.com/repos/kirei/catt/pulls/8/comments","review_comment_url":"https://api.github.com/repos/kirei/catt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kirei/catt/issues/8/comments","statuses_url":"https://api.github.com/repos/kirei/catt/statuses/0f5a3644d746570d60a961fee7425c4ebbb807b5","head":{"label":"divergentdave:adobe-aatl","ref":"adobe-aatl","sha":"0f5a3644d746570d60a961fee7425c4ebbb807b5","user":{"login":"divergentdave","id":181772,"avatar_url":"https://avatars.githubusercontent.com/u/181772?v=3","gravatar_id":"","url":"https://api.github.com/users/divergentdave","html_url":"https://github.com/divergentdave","followers_url":"https://api.github.com/users/divergentdave/followers","following_url":"https://api.github.com/users/divergentdave/following{/other_user}","gists_url":"https://api.github.com/users/divergentdave/gists{/gist_id}","starred_url":"https://api.github.com/users/divergentdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divergentdave/subscriptions","organizations_url":"https://api.github.com/users/divergentdave/orgs","repos_url":"https://api.github.com/users/divergentdave/repos","events_url":"https://api.github.com/users/divergentdave/events{/privacy}","received_events_url":"https://api.github.com/users/divergentdave/received_events","type":"User","site_admin":false},"repo":{"id":52936358,"name":"catt","full_name":"divergentdave/catt","owner":{"login":"divergentdave","id":181772,"avatar_url":"https://avatars.githubusercontent.com/u/181772?v=3","gravatar_id":"","url":"https://api.github.com/users/divergentdave","html_url":"https://github.com/divergentdave","followers_url":"https://api.github.com/users/divergentdave/followers","following_url":"https://api.github.com/users/divergentdave/following{/other_user}","gists_url":"https://api.github.com/users/divergentdave/gists{/gist_id}","starred_url":"https://api.github.com/users/divergentdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divergentdave/subscriptions","organizations_url":"https://api.github.com/users/divergentdave/orgs","repos_url":"https://api.github.com/users/divergentdave/repos","events_url":"https://api.github.com/users/divergentdave/events{/privacy}","received_events_url":"https://api.github.com/users/divergentdave/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/divergentdave/catt","description":"Certification Authority Trust Tracker","fork":true,"url":"https://api.github.com/repos/divergentdave/catt","forks_url":"https://api.github.com/repos/divergentdave/catt/forks","keys_url":"https://api.github.com/repos/divergentdave/catt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/divergentdave/catt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/divergentdave/catt/teams","hooks_url":"https://api.github.com/repos/divergentdave/catt/hooks","issue_events_url":"https://api.github.com/repos/divergentdave/catt/issues/events{/number}","events_url":"https://api.github.com/repos/divergentdave/catt/events","assignees_url":"https://api.github.com/repos/divergentdave/catt/assignees{/user}","branches_url":"https://api.github.com/repos/divergentdave/catt/branches{/branch}","tags_url":"https://api.github.com/repos/divergentdave/catt/tags","blobs_url":"https://api.github.com/repos/divergentdave/catt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/divergentdave/catt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/divergentdave/catt/git/refs{/sha}","trees_url":"https://api.github.com/repos/divergentdave/catt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/divergentdave/catt/statuses/{sha}","languages_url":"https://api.github.com/repos/divergentdave/catt/languages","stargazers_url":"https://api.github.com/repos/divergentdave/catt/stargazers","contributors_url":"https://api.github.com/repos/divergentdave/catt/contributors","subscribers_url":"https://api.github.com/repos/divergentdave/catt/subscribers","subscription_url":"https://api.github.com/repos/divergentdave/catt/subscription","commits_url":"https://api.github.com/repos/divergentdave/catt/commits{/sha}","git_commits_url":"https://api.github.com/repos/divergentdave/catt/git/commits{/sha}","comments_url":"https://api.github.com/repos/divergentdave/catt/comments{/number}","issue_comment_url":"https://api.github.com/repos/divergentdave/catt/issues/comments{/number}","contents_url":"https://api.github.com/repos/divergentdave/catt/contents/{+path}","compare_url":"https://api.github.com/repos/divergentdave/catt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/divergentdave/catt/merges","archive_url":"https://api.github.com/repos/divergentdave/catt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/divergentdave/catt/downloads","issues_url":"https://api.github.com/repos/divergentdave/catt/issues{/number}","pulls_url":"https://api.github.com/repos/divergentdave/catt/pulls{/number}","milestones_url":"https://api.github.com/repos/divergentdave/catt/milestones{/number}","notifications_url":"https://api.github.com/repos/divergentdave/catt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/divergentdave/catt/labels{/name}","releases_url":"https://api.github.com/repos/divergentdave/catt/releases{/id}","deployments_url":"https://api.github.com/repos/divergentdave/catt/deployments","created_at":"2016-03-02T05:23:34Z","updated_at":"2016-03-02T05:23:41Z","pushed_at":"2016-03-02T05:45:54Z","git_url":"git://github.com/divergentdave/catt.git","ssh_url":"git@github.com:divergentdave/catt.git","clone_url":"https://github.com/divergentdave/catt.git","svn_url":"https://github.com/divergentdave/catt","homepage":null,"size":1048,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":"kirei:master","ref":"master","sha":"4115f0e6b59effcef15b891053ba90a64f63038d","user":{"login":"kirei","id":391801,"avatar_url":"https://avatars.githubusercontent.com/u/391801?v=3","gravatar_id":"","url":"https://api.github.com/users/kirei","html_url":"https://github.com/kirei","followers_url":"https://api.github.com/users/kirei/followers","following_url":"https://api.github.com/users/kirei/following{/other_user}","gists_url":"https://api.github.com/users/kirei/gists{/gist_id}","starred_url":"https://api.github.com/users/kirei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirei/subscriptions","organizations_url":"https://api.github.com/users/kirei/orgs","repos_url":"https://api.github.com/users/kirei/repos","events_url":"https://api.github.com/users/kirei/events{/privacy}","received_events_url":"https://api.github.com/users/kirei/received_events","type":"Organization","site_admin":false},"repo":{"id":12056147,"name":"catt","full_name":"kirei/catt","owner":{"login":"kirei","id":391801,"avatar_url":"https://avatars.githubusercontent.com/u/391801?v=3","gravatar_id":"","url":"https://api.github.com/users/kirei","html_url":"https://github.com/kirei","followers_url":"https://api.github.com/users/kirei/followers","following_url":"https://api.github.com/users/kirei/following{/other_user}","gists_url":"https://api.github.com/users/kirei/gists{/gist_id}","starred_url":"https://api.github.com/users/kirei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirei/subscriptions","organizations_url":"https://api.github.com/users/kirei/orgs","repos_url":"https://api.github.com/users/kirei/repos","events_url":"https://api.github.com/users/kirei/events{/privacy}","received_events_url":"https://api.github.com/users/kirei/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kirei/catt","description":"Certification Authority Trust Tracker","fork":false,"url":"https://api.github.com/repos/kirei/catt","forks_url":"https://api.github.com/repos/kirei/catt/forks","keys_url":"https://api.github.com/repos/kirei/catt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kirei/catt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kirei/catt/teams","hooks_url":"https://api.github.com/repos/kirei/catt/hooks","issue_events_url":"https://api.github.com/repos/kirei/catt/issues/events{/number}","events_url":"https://api.github.com/repos/kirei/catt/events","assignees_url":"https://api.github.com/repos/kirei/catt/assignees{/user}","branches_url":"https://api.github.com/repos/kirei/catt/branches{/branch}","tags_url":"https://api.github.com/repos/kirei/catt/tags","blobs_url":"https://api.github.com/repos/kirei/catt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kirei/catt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kirei/catt/git/refs{/sha}","trees_url":"https://api.github.com/repos/kirei/catt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kirei/catt/statuses/{sha}","languages_url":"https://api.github.com/repos/kirei/catt/languages","stargazers_url":"https://api.github.com/repos/kirei/catt/stargazers","contributors_url":"https://api.github.com/repos/kirei/catt/contributors","subscribers_url":"https://api.github.com/repos/kirei/catt/subscribers","subscription_url":"https://api.github.com/repos/kirei/catt/subscription","commits_url":"https://api.github.com/repos/kirei/catt/commits{/sha}","git_commits_url":"https://api.github.com/repos/kirei/catt/git/commits{/sha}","comments_url":"https://api.github.com/repos/kirei/catt/comments{/number}","issue_comment_url":"https://api.github.com/repos/kirei/catt/issues/comments{/number}","contents_url":"https://api.github.com/repos/kirei/catt/contents/{+path}","compare_url":"https://api.github.com/repos/kirei/catt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kirei/catt/merges","archive_url":"https://api.github.com/repos/kirei/catt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kirei/catt/downloads","issues_url":"https://api.github.com/repos/kirei/catt/issues{/number}","pulls_url":"https://api.github.com/repos/kirei/catt/pulls{/number}","milestones_url":"https://api.github.com/repos/kirei/catt/milestones{/number}","notifications_url":"https://api.github.com/repos/kirei/catt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kirei/catt/labels{/name}","releases_url":"https://api.github.com/repos/kirei/catt/releases{/id}","deployments_url":"https://api.github.com/repos/kirei/catt/deployments","created_at":"2013-08-12T13:10:03Z","updated_at":"2016-02-20T09:03:51Z","pushed_at":"2015-11-25T18:39:11Z","git_url":"git://github.com/kirei/catt.git","ssh_url":"git@github.com:kirei/catt.git","clone_url":"https://github.com/kirei/catt.git","svn_url":"https://github.com/kirei/catt","homepage":null,"size":885,"stargazers_count":64,"watchers_count":64,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kirei/catt/pulls/8"},"html":{"href":"https://github.com/kirei/catt/pull/8"},"issue":{"href":"https://api.github.com/repos/kirei/catt/issues/8"},"comments":{"href":"https://api.github.com/repos/kirei/catt/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/kirei/catt/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/kirei/catt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kirei/catt/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/kirei/catt/statuses/0f5a3644d746570d60a961fee7425c4ebbb807b5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":4674,"deletions":0,"changed_files":150}}