{"action":"reopened","number":43,"pull_request":{"url":"https://api.github.com/repos/google/macops/pulls/43","id":43590774,"html_url":"https://github.com/google/macops/pull/43","diff_url":"https://github.com/google/macops/pull/43.diff","patch_url":"https://github.com/google/macops/pull/43.patch","issue_url":"https://api.github.com/repos/google/macops/issues/43","number":43,"state":"open","locked":false,"title":"Fix PBDERDecoder","user":{"login":"jflinter","id":740583,"avatar_url":"https://avatars.githubusercontent.com/u/740583?v=3","gravatar_id":"","url":"https://api.github.com/users/jflinter","html_url":"https://github.com/jflinter","followers_url":"https://api.github.com/users/jflinter/followers","following_url":"https://api.github.com/users/jflinter/following{/other_user}","gists_url":"https://api.github.com/users/jflinter/gists{/gist_id}","starred_url":"https://api.github.com/users/jflinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jflinter/subscriptions","organizations_url":"https://api.github.com/users/jflinter/orgs","repos_url":"https://api.github.com/users/jflinter/repos","events_url":"https://api.github.com/users/jflinter/events{/privacy}","received_events_url":"https://api.github.com/users/jflinter/received_events","type":"User","site_admin":false},"body":"I've been having issues with PBDERDecoder failing to properly parse the `distinguishedNames` of an `NSURLProtectionSpace`, and instead mistakenly returning `nil`. After searching around, I believe PBDERDecoder was copied from `SNTDERDecoder` in https://github.com/google/santa/. I'm not having any issues with that code, however. There are a few subtle differences in those files that I believe are causing the parser failures. This PR simply copies over the code from `SNTDERDecoder`.","created_at":"2015-08-28T03:38:48Z","updated_at":"2015-08-28T19:46:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"100c481831184fb6aa84bc39c193789cc3ec4cdb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/macops/pulls/43/commits","review_comments_url":"https://api.github.com/repos/google/macops/pulls/43/comments","review_comment_url":"https://api.github.com/repos/google/macops/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/macops/issues/43/comments","statuses_url":"https://api.github.com/repos/google/macops/statuses/ba8e54e5e103a67af2a030507994b4486296ee42","head":{"label":"jflinter:master","ref":"master","sha":"ba8e54e5e103a67af2a030507994b4486296ee42","user":{"login":"jflinter","id":740583,"avatar_url":"https://avatars.githubusercontent.com/u/740583?v=3","gravatar_id":"","url":"https://api.github.com/users/jflinter","html_url":"https://github.com/jflinter","followers_url":"https://api.github.com/users/jflinter/followers","following_url":"https://api.github.com/users/jflinter/following{/other_user}","gists_url":"https://api.github.com/users/jflinter/gists{/gist_id}","starred_url":"https://api.github.com/users/jflinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jflinter/subscriptions","organizations_url":"https://api.github.com/users/jflinter/orgs","repos_url":"https://api.github.com/users/jflinter/repos","events_url":"https://api.github.com/users/jflinter/events{/privacy}","received_events_url":"https://api.github.com/users/jflinter/received_events","type":"User","site_admin":false},"repo":{"id":41523546,"name":"macops","full_name":"jflinter/macops","owner":{"login":"jflinter","id":740583,"avatar_url":"https://avatars.githubusercontent.com/u/740583?v=3","gravatar_id":"","url":"https://api.github.com/users/jflinter","html_url":"https://github.com/jflinter","followers_url":"https://api.github.com/users/jflinter/followers","following_url":"https://api.github.com/users/jflinter/following{/other_user}","gists_url":"https://api.github.com/users/jflinter/gists{/gist_id}","starred_url":"https://api.github.com/users/jflinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jflinter/subscriptions","organizations_url":"https://api.github.com/users/jflinter/orgs","repos_url":"https://api.github.com/users/jflinter/repos","events_url":"https://api.github.com/users/jflinter/events{/privacy}","received_events_url":"https://api.github.com/users/jflinter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jflinter/macops","description":"Utilities, tools, and scripts for managing and tracking a fleet of Macintoshes in a corporate environment","fork":true,"url":"https://api.github.com/repos/jflinter/macops","forks_url":"https://api.github.com/repos/jflinter/macops/forks","keys_url":"https://api.github.com/repos/jflinter/macops/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jflinter/macops/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jflinter/macops/teams","hooks_url":"https://api.github.com/repos/jflinter/macops/hooks","issue_events_url":"https://api.github.com/repos/jflinter/macops/issues/events{/number}","events_url":"https://api.github.com/repos/jflinter/macops/events","assignees_url":"https://api.github.com/repos/jflinter/macops/assignees{/user}","branches_url":"https://api.github.com/repos/jflinter/macops/branches{/branch}","tags_url":"https://api.github.com/repos/jflinter/macops/tags","blobs_url":"https://api.github.com/repos/jflinter/macops/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jflinter/macops/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jflinter/macops/git/refs{/sha}","trees_url":"https://api.github.com/repos/jflinter/macops/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jflinter/macops/statuses/{sha}","languages_url":"https://api.github.com/repos/jflinter/macops/languages","stargazers_url":"https://api.github.com/repos/jflinter/macops/stargazers","contributors_url":"https://api.github.com/repos/jflinter/macops/contributors","subscribers_url":"https://api.github.com/repos/jflinter/macops/subscribers","subscription_url":"https://api.github.com/repos/jflinter/macops/subscription","commits_url":"https://api.github.com/repos/jflinter/macops/commits{/sha}","git_commits_url":"https://api.github.com/repos/jflinter/macops/git/commits{/sha}","comments_url":"https://api.github.com/repos/jflinter/macops/comments{/number}","issue_comment_url":"https://api.github.com/repos/jflinter/macops/issues/comments{/number}","contents_url":"https://api.github.com/repos/jflinter/macops/contents/{+path}","compare_url":"https://api.github.com/repos/jflinter/macops/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jflinter/macops/merges","archive_url":"https://api.github.com/repos/jflinter/macops/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jflinter/macops/downloads","issues_url":"https://api.github.com/repos/jflinter/macops/issues{/number}","pulls_url":"https://api.github.com/repos/jflinter/macops/pulls{/number}","milestones_url":"https://api.github.com/repos/jflinter/macops/milestones{/number}","notifications_url":"https://api.github.com/repos/jflinter/macops/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jflinter/macops/labels{/name}","releases_url":"https://api.github.com/repos/jflinter/macops/releases{/id}","created_at":"2015-08-28T02:54:59Z","updated_at":"2015-08-28T02:55:00Z","pushed_at":"2015-08-28T19:44:18Z","git_url":"git://github.com/jflinter/macops.git","ssh_url":"git@github.com:jflinter/macops.git","clone_url":"https://github.com/jflinter/macops.git","svn_url":"https://github.com/jflinter/macops","homepage":"","size":1552,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"google:master","ref":"master","sha":"39275cd7edbc66c6110ffdfc98e96622933abb75","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":23080035,"name":"macops","full_name":"google/macops","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/macops","description":"Utilities, tools, and scripts for managing and tracking a fleet of Macintoshes in a corporate environment","fork":false,"url":"https://api.github.com/repos/google/macops","forks_url":"https://api.github.com/repos/google/macops/forks","keys_url":"https://api.github.com/repos/google/macops/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/macops/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/macops/teams","hooks_url":"https://api.github.com/repos/google/macops/hooks","issue_events_url":"https://api.github.com/repos/google/macops/issues/events{/number}","events_url":"https://api.github.com/repos/google/macops/events","assignees_url":"https://api.github.com/repos/google/macops/assignees{/user}","branches_url":"https://api.github.com/repos/google/macops/branches{/branch}","tags_url":"https://api.github.com/repos/google/macops/tags","blobs_url":"https://api.github.com/repos/google/macops/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/macops/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/macops/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/macops/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/macops/statuses/{sha}","languages_url":"https://api.github.com/repos/google/macops/languages","stargazers_url":"https://api.github.com/repos/google/macops/stargazers","contributors_url":"https://api.github.com/repos/google/macops/contributors","subscribers_url":"https://api.github.com/repos/google/macops/subscribers","subscription_url":"https://api.github.com/repos/google/macops/subscription","commits_url":"https://api.github.com/repos/google/macops/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/macops/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/macops/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/macops/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/macops/contents/{+path}","compare_url":"https://api.github.com/repos/google/macops/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/macops/merges","archive_url":"https://api.github.com/repos/google/macops/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/macops/downloads","issues_url":"https://api.github.com/repos/google/macops/issues{/number}","pulls_url":"https://api.github.com/repos/google/macops/pulls{/number}","milestones_url":"https://api.github.com/repos/google/macops/milestones{/number}","notifications_url":"https://api.github.com/repos/google/macops/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/macops/labels{/name}","releases_url":"https://api.github.com/repos/google/macops/releases{/id}","created_at":"2014-08-18T17:28:05Z","updated_at":"2015-08-28T15:50:10Z","pushed_at":"2015-08-28T19:44:19Z","git_url":"git://github.com/google/macops.git","ssh_url":"git@github.com:google/macops.git","clone_url":"https://github.com/google/macops.git","svn_url":"https://github.com/google/macops","homepage":"","size":1552,"stargazers_count":251,"watchers_count":251,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":5,"forks":25,"open_issues":5,"watchers":251,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/macops/pulls/43"},"html":{"href":"https://github.com/google/macops/pull/43"},"issue":{"href":"https://api.github.com/repos/google/macops/issues/43"},"comments":{"href":"https://api.github.com/repos/google/macops/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/google/macops/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/google/macops/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/macops/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/google/macops/statuses/ba8e54e5e103a67af2a030507994b4486296ee42"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":5,"review_comments":0,"commits":3,"additions":33,"deletions":26,"changed_files":2}}