{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/grahamgilbert/crypt2/pulls/20","id":75656196,"html_url":"https://github.com/grahamgilbert/crypt2/pull/20","diff_url":"https://github.com/grahamgilbert/crypt2/pull/20.diff","patch_url":"https://github.com/grahamgilbert/crypt2/pull/20.patch","issue_url":"https://api.github.com/repos/grahamgilbert/crypt2/issues/20","number":20,"state":"closed","locked":false,"title":"Rotate recovery key when used to unlock the drive. ","user":{"login":"weswhet","id":6865785,"avatar_url":"https://avatars.githubusercontent.com/u/6865785?v=3","gravatar_id":"","url":"https://api.github.com/users/weswhet","html_url":"https://github.com/weswhet","followers_url":"https://api.github.com/users/weswhet/followers","following_url":"https://api.github.com/users/weswhet/following{/other_user}","gists_url":"https://api.github.com/users/weswhet/gists{/gist_id}","starred_url":"https://api.github.com/users/weswhet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weswhet/subscriptions","organizations_url":"https://api.github.com/users/weswhet/orgs","repos_url":"https://api.github.com/users/weswhet/repos","events_url":"https://api.github.com/users/weswhet/events{/privacy}","received_events_url":"https://api.github.com/users/weswhet/received_events","type":"User","site_admin":false},"body":"Uses `fdesetup hasusedrecovery` to check if the machine was unlocked using the recovery key and rotates the key using the old key if RemovePlist is False. I'll add the documentation if merged. ","created_at":"2016-06-29T14:17:48Z","updated_at":"2016-07-27T09:31:09Z","closed_at":"2016-07-27T09:31:09Z","merged_at":"2016-07-27T09:31:09Z","merge_commit_sha":"56f42e7065e956b105352d5095222d48483bf1c4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/grahamgilbert/crypt2/pulls/20/commits","review_comments_url":"https://api.github.com/repos/grahamgilbert/crypt2/pulls/20/comments","review_comment_url":"https://api.github.com/repos/grahamgilbert/crypt2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grahamgilbert/crypt2/issues/20/comments","statuses_url":"https://api.github.com/repos/grahamgilbert/crypt2/statuses/c9c61818df52fe7060fe0437978750993469805a","head":{"label":"weswhet:master","ref":"master","sha":"c9c61818df52fe7060fe0437978750993469805a","user":{"login":"weswhet","id":6865785,"avatar_url":"https://avatars.githubusercontent.com/u/6865785?v=3","gravatar_id":"","url":"https://api.github.com/users/weswhet","html_url":"https://github.com/weswhet","followers_url":"https://api.github.com/users/weswhet/followers","following_url":"https://api.github.com/users/weswhet/following{/other_user}","gists_url":"https://api.github.com/users/weswhet/gists{/gist_id}","starred_url":"https://api.github.com/users/weswhet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weswhet/subscriptions","organizations_url":"https://api.github.com/users/weswhet/orgs","repos_url":"https://api.github.com/users/weswhet/repos","events_url":"https://api.github.com/users/weswhet/events{/privacy}","received_events_url":"https://api.github.com/users/weswhet/received_events","type":"User","site_admin":false},"repo":{"id":62228915,"name":"crypt2","full_name":"weswhet/crypt2","owner":{"login":"weswhet","id":6865785,"avatar_url":"https://avatars.githubusercontent.com/u/6865785?v=3","gravatar_id":"","url":"https://api.github.com/users/weswhet","html_url":"https://github.com/weswhet","followers_url":"https://api.github.com/users/weswhet/followers","following_url":"https://api.github.com/users/weswhet/following{/other_user}","gists_url":"https://api.github.com/users/weswhet/gists{/gist_id}","starred_url":"https://api.github.com/users/weswhet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weswhet/subscriptions","organizations_url":"https://api.github.com/users/weswhet/orgs","repos_url":"https://api.github.com/users/weswhet/repos","events_url":"https://api.github.com/users/weswhet/events{/privacy}","received_events_url":"https://api.github.com/users/weswhet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weswhet/crypt2","description":null,"fork":true,"url":"https://api.github.com/repos/weswhet/crypt2","forks_url":"https://api.github.com/repos/weswhet/crypt2/forks","keys_url":"https://api.github.com/repos/weswhet/crypt2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weswhet/crypt2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weswhet/crypt2/teams","hooks_url":"https://api.github.com/repos/weswhet/crypt2/hooks","issue_events_url":"https://api.github.com/repos/weswhet/crypt2/issues/events{/number}","events_url":"https://api.github.com/repos/weswhet/crypt2/events","assignees_url":"https://api.github.com/repos/weswhet/crypt2/assignees{/user}","branches_url":"https://api.github.com/repos/weswhet/crypt2/branches{/branch}","tags_url":"https://api.github.com/repos/weswhet/crypt2/tags","blobs_url":"https://api.github.com/repos/weswhet/crypt2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weswhet/crypt2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weswhet/crypt2/git/refs{/sha}","trees_url":"https://api.github.com/repos/weswhet/crypt2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weswhet/crypt2/statuses/{sha}","languages_url":"https://api.github.com/repos/weswhet/crypt2/languages","stargazers_url":"https://api.github.com/repos/weswhet/crypt2/stargazers","contributors_url":"https://api.github.com/repos/weswhet/crypt2/contributors","subscribers_url":"https://api.github.com/repos/weswhet/crypt2/subscribers","subscription_url":"https://api.github.com/repos/weswhet/crypt2/subscription","commits_url":"https://api.github.com/repos/weswhet/crypt2/commits{/sha}","git_commits_url":"https://api.github.com/repos/weswhet/crypt2/git/commits{/sha}","comments_url":"https://api.github.com/repos/weswhet/crypt2/comments{/number}","issue_comment_url":"https://api.github.com/repos/weswhet/crypt2/issues/comments{/number}","contents_url":"https://api.github.com/repos/weswhet/crypt2/contents/{+path}","compare_url":"https://api.github.com/repos/weswhet/crypt2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weswhet/crypt2/merges","archive_url":"https://api.github.com/repos/weswhet/crypt2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weswhet/crypt2/downloads","issues_url":"https://api.github.com/repos/weswhet/crypt2/issues{/number}","pulls_url":"https://api.github.com/repos/weswhet/crypt2/pulls{/number}","milestones_url":"https://api.github.com/repos/weswhet/crypt2/milestones{/number}","notifications_url":"https://api.github.com/repos/weswhet/crypt2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weswhet/crypt2/labels{/name}","releases_url":"https://api.github.com/repos/weswhet/crypt2/releases{/id}","deployments_url":"https://api.github.com/repos/weswhet/crypt2/deployments","created_at":"2016-06-29T13:42:02Z","updated_at":"2016-06-29T13:42:03Z","pushed_at":"2016-06-29T17:14:19Z","git_url":"git://github.com/weswhet/crypt2.git","ssh_url":"git@github.com:weswhet/crypt2.git","clone_url":"https://github.com/weswhet/crypt2.git","svn_url":"https://github.com/weswhet/crypt2","homepage":null,"size":1269,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"grahamgilbert:master","ref":"master","sha":"554da50c2fa0f879ba39a5df3e05e817ce5e65b0","user":{"login":"grahamgilbert","id":1208495,"avatar_url":"https://avatars.githubusercontent.com/u/1208495?v=3","gravatar_id":"","url":"https://api.github.com/users/grahamgilbert","html_url":"https://github.com/grahamgilbert","followers_url":"https://api.github.com/users/grahamgilbert/followers","following_url":"https://api.github.com/users/grahamgilbert/following{/other_user}","gists_url":"https://api.github.com/users/grahamgilbert/gists{/gist_id}","starred_url":"https://api.github.com/users/grahamgilbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grahamgilbert/subscriptions","organizations_url":"https://api.github.com/users/grahamgilbert/orgs","repos_url":"https://api.github.com/users/grahamgilbert/repos","events_url":"https://api.github.com/users/grahamgilbert/events{/privacy}","received_events_url":"https://api.github.com/users/grahamgilbert/received_events","type":"User","site_admin":false},"repo":{"id":45748101,"name":"crypt2","full_name":"grahamgilbert/crypt2","owner":{"login":"grahamgilbert","id":1208495,"avatar_url":"https://avatars.githubusercontent.com/u/1208495?v=3","gravatar_id":"","url":"https://api.github.com/users/grahamgilbert","html_url":"https://github.com/grahamgilbert","followers_url":"https://api.github.com/users/grahamgilbert/followers","following_url":"https://api.github.com/users/grahamgilbert/following{/other_user}","gists_url":"https://api.github.com/users/grahamgilbert/gists{/gist_id}","starred_url":"https://api.github.com/users/grahamgilbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grahamgilbert/subscriptions","organizations_url":"https://api.github.com/users/grahamgilbert/orgs","repos_url":"https://api.github.com/users/grahamgilbert/repos","events_url":"https://api.github.com/users/grahamgilbert/events{/privacy}","received_events_url":"https://api.github.com/users/grahamgilbert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grahamgilbert/crypt2","description":"","fork":false,"url":"https://api.github.com/repos/grahamgilbert/crypt2","forks_url":"https://api.github.com/repos/grahamgilbert/crypt2/forks","keys_url":"https://api.github.com/repos/grahamgilbert/crypt2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grahamgilbert/crypt2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grahamgilbert/crypt2/teams","hooks_url":"https://api.github.com/repos/grahamgilbert/crypt2/hooks","issue_events_url":"https://api.github.com/repos/grahamgilbert/crypt2/issues/events{/number}","events_url":"https://api.github.com/repos/grahamgilbert/crypt2/events","assignees_url":"https://api.github.com/repos/grahamgilbert/crypt2/assignees{/user}","branches_url":"https://api.github.com/repos/grahamgilbert/crypt2/branches{/branch}","tags_url":"https://api.github.com/repos/grahamgilbert/crypt2/tags","blobs_url":"https://api.github.com/repos/grahamgilbert/crypt2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grahamgilbert/crypt2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grahamgilbert/crypt2/git/refs{/sha}","trees_url":"https://api.github.com/repos/grahamgilbert/crypt2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grahamgilbert/crypt2/statuses/{sha}","languages_url":"https://api.github.com/repos/grahamgilbert/crypt2/languages","stargazers_url":"https://api.github.com/repos/grahamgilbert/crypt2/stargazers","contributors_url":"https://api.github.com/repos/grahamgilbert/crypt2/contributors","subscribers_url":"https://api.github.com/repos/grahamgilbert/crypt2/subscribers","subscription_url":"https://api.github.com/repos/grahamgilbert/crypt2/subscription","commits_url":"https://api.github.com/repos/grahamgilbert/crypt2/commits{/sha}","git_commits_url":"https://api.github.com/repos/grahamgilbert/crypt2/git/commits{/sha}","comments_url":"https://api.github.com/repos/grahamgilbert/crypt2/comments{/number}","issue_comment_url":"https://api.github.com/repos/grahamgilbert/crypt2/issues/comments{/number}","contents_url":"https://api.github.com/repos/grahamgilbert/crypt2/contents/{+path}","compare_url":"https://api.github.com/repos/grahamgilbert/crypt2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grahamgilbert/crypt2/merges","archive_url":"https://api.github.com/repos/grahamgilbert/crypt2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grahamgilbert/crypt2/downloads","issues_url":"https://api.github.com/repos/grahamgilbert/crypt2/issues{/number}","pulls_url":"https://api.github.com/repos/grahamgilbert/crypt2/pulls{/number}","milestones_url":"https://api.github.com/repos/grahamgilbert/crypt2/milestones{/number}","notifications_url":"https://api.github.com/repos/grahamgilbert/crypt2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grahamgilbert/crypt2/labels{/name}","releases_url":"https://api.github.com/repos/grahamgilbert/crypt2/releases{/id}","deployments_url":"https://api.github.com/repos/grahamgilbert/crypt2/deployments","created_at":"2015-11-07T18:09:32Z","updated_at":"2016-06-25T22:56:48Z","pushed_at":"2016-07-27T09:31:09Z","git_url":"git://github.com/grahamgilbert/crypt2.git","ssh_url":"git@github.com:grahamgilbert/crypt2.git","clone_url":"https://github.com/grahamgilbert/crypt2.git","svn_url":"https://github.com/grahamgilbert/crypt2","homepage":null,"size":1264,"stargazers_count":27,"watchers_count":27,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grahamgilbert/crypt2/pulls/20"},"html":{"href":"https://github.com/grahamgilbert/crypt2/pull/20"},"issue":{"href":"https://api.github.com/repos/grahamgilbert/crypt2/issues/20"},"comments":{"href":"https://api.github.com/repos/grahamgilbert/crypt2/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/grahamgilbert/crypt2/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/grahamgilbert/crypt2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grahamgilbert/crypt2/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/grahamgilbert/crypt2/statuses/c9c61818df52fe7060fe0437978750993469805a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"grahamgilbert","id":1208495,"avatar_url":"https://avatars.githubusercontent.com/u/1208495?v=3","gravatar_id":"","url":"https://api.github.com/users/grahamgilbert","html_url":"https://github.com/grahamgilbert","followers_url":"https://api.github.com/users/grahamgilbert/followers","following_url":"https://api.github.com/users/grahamgilbert/following{/other_user}","gists_url":"https://api.github.com/users/grahamgilbert/gists{/gist_id}","starred_url":"https://api.github.com/users/grahamgilbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grahamgilbert/subscriptions","organizations_url":"https://api.github.com/users/grahamgilbert/orgs","repos_url":"https://api.github.com/users/grahamgilbert/repos","events_url":"https://api.github.com/users/grahamgilbert/events{/privacy}","received_events_url":"https://api.github.com/users/grahamgilbert/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":4,"additions":103,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"grahamgilbert"}}