{"action":"closed","number":2587,"pull_request":{"url":"https://api.github.com/repos/systemd/systemd/pulls/2587","id":59059868,"html_url":"https://github.com/systemd/systemd/pull/2587","diff_url":"https://github.com/systemd/systemd/pull/2587.diff","patch_url":"https://github.com/systemd/systemd/pull/2587.patch","issue_url":"https://api.github.com/repos/systemd/systemd/issues/2587","number":2587,"state":"closed","locked":false,"title":"sd-boot: put hashed kernel command line in a PCR of the TPM","user":{"login":"haraldh","id":427825,"avatar_url":"https://avatars.githubusercontent.com/u/427825?v=3","gravatar_id":"","url":"https://api.github.com/users/haraldh","html_url":"https://github.com/haraldh","followers_url":"https://api.github.com/users/haraldh/followers","following_url":"https://api.github.com/users/haraldh/following{/other_user}","gists_url":"https://api.github.com/users/haraldh/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldh/subscriptions","organizations_url":"https://api.github.com/users/haraldh/orgs","repos_url":"https://api.github.com/users/haraldh/repos","events_url":"https://api.github.com/users/haraldh/events{/privacy}","received_events_url":"https://api.github.com/users/haraldh/received_events","type":"User","site_admin":false},"body":"The UEFI BIOS already hashes the contents of the loaded image, so the\r\ninitrd and the command line of the binary are recorded.\r\n\r\nBecause manually added LoadOptions are not taken into account, these\r\nshould be recorded also.\r\n\r\nThis patch logs and extends a TPM PCR register with the LoadOptions.\r\n\r\nThis feature can be enabled with configure --enable-tpm\r\n\r\nThe PCR register index can be specified with\r\nconfigure --with-tpm-pcrindex=<NUM>","created_at":"2016-02-11T16:53:10Z","updated_at":"2016-02-11T19:38:03Z","closed_at":"2016-02-11T19:38:03Z","merged_at":"2016-02-11T19:38:03Z","merge_commit_sha":"075bdc3931c3acbc988c1d07be24e1e42e397886","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/systemd/systemd/pulls/2587/commits","review_comments_url":"https://api.github.com/repos/systemd/systemd/pulls/2587/comments","review_comment_url":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/2587/comments","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/92ed3bb49e460b11aa86c828083e36373ae039dd","head":{"label":"haraldh:tpmv3","ref":"tpmv3","sha":"92ed3bb49e460b11aa86c828083e36373ae039dd","user":{"login":"haraldh","id":427825,"avatar_url":"https://avatars.githubusercontent.com/u/427825?v=3","gravatar_id":"","url":"https://api.github.com/users/haraldh","html_url":"https://github.com/haraldh","followers_url":"https://api.github.com/users/haraldh/followers","following_url":"https://api.github.com/users/haraldh/following{/other_user}","gists_url":"https://api.github.com/users/haraldh/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldh/subscriptions","organizations_url":"https://api.github.com/users/haraldh/orgs","repos_url":"https://api.github.com/users/haraldh/repos","events_url":"https://api.github.com/users/haraldh/events{/privacy}","received_events_url":"https://api.github.com/users/haraldh/received_events","type":"User","site_admin":false},"repo":{"id":36737540,"name":"systemd","full_name":"haraldh/systemd","owner":{"login":"haraldh","id":427825,"avatar_url":"https://avatars.githubusercontent.com/u/427825?v=3","gravatar_id":"","url":"https://api.github.com/users/haraldh","html_url":"https://github.com/haraldh","followers_url":"https://api.github.com/users/haraldh/followers","following_url":"https://api.github.com/users/haraldh/following{/other_user}","gists_url":"https://api.github.com/users/haraldh/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldh/subscriptions","organizations_url":"https://api.github.com/users/haraldh/orgs","repos_url":"https://api.github.com/users/haraldh/repos","events_url":"https://api.github.com/users/haraldh/events{/privacy}","received_events_url":"https://api.github.com/users/haraldh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haraldh/systemd","description":"systemd upstream repository","fork":true,"url":"https://api.github.com/repos/haraldh/systemd","forks_url":"https://api.github.com/repos/haraldh/systemd/forks","keys_url":"https://api.github.com/repos/haraldh/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haraldh/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haraldh/systemd/teams","hooks_url":"https://api.github.com/repos/haraldh/systemd/hooks","issue_events_url":"https://api.github.com/repos/haraldh/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/haraldh/systemd/events","assignees_url":"https://api.github.com/repos/haraldh/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/haraldh/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/haraldh/systemd/tags","blobs_url":"https://api.github.com/repos/haraldh/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haraldh/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haraldh/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/haraldh/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haraldh/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/haraldh/systemd/languages","stargazers_url":"https://api.github.com/repos/haraldh/systemd/stargazers","contributors_url":"https://api.github.com/repos/haraldh/systemd/contributors","subscribers_url":"https://api.github.com/repos/haraldh/systemd/subscribers","subscription_url":"https://api.github.com/repos/haraldh/systemd/subscription","commits_url":"https://api.github.com/repos/haraldh/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/haraldh/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/haraldh/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/haraldh/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/haraldh/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/haraldh/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haraldh/systemd/merges","archive_url":"https://api.github.com/repos/haraldh/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haraldh/systemd/downloads","issues_url":"https://api.github.com/repos/haraldh/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/haraldh/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/haraldh/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/haraldh/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haraldh/systemd/labels{/name}","releases_url":"https://api.github.com/repos/haraldh/systemd/releases{/id}","deployments_url":"https://api.github.com/repos/haraldh/systemd/deployments","created_at":"2015-06-02T14:07:41Z","updated_at":"2015-06-02T14:07:46Z","pushed_at":"2016-02-11T16:51:23Z","git_url":"git://github.com/haraldh/systemd.git","ssh_url":"git@github.com:haraldh/systemd.git","clone_url":"https://github.com/haraldh/systemd.git","svn_url":"https://github.com/haraldh/systemd","homepage":"http://www.freedesktop.org/wiki/Software/systemd/","size":51706,"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":"systemd:master","ref":"master","sha":"95adafc428b5b4be0ddd4d43a7b96658390388bc","user":{"login":"systemd","id":1918868,"avatar_url":"https://avatars.githubusercontent.com/u/1918868?v=3","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"repo":{"id":32873313,"name":"systemd","full_name":"systemd/systemd","owner":{"login":"systemd","id":1918868,"avatar_url":"https://avatars.githubusercontent.com/u/1918868?v=3","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systemd/systemd","description":"systemd upstream","fork":false,"url":"https://api.github.com/repos/systemd/systemd","forks_url":"https://api.github.com/repos/systemd/systemd/forks","keys_url":"https://api.github.com/repos/systemd/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systemd/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systemd/systemd/teams","hooks_url":"https://api.github.com/repos/systemd/systemd/hooks","issue_events_url":"https://api.github.com/repos/systemd/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/systemd/systemd/events","assignees_url":"https://api.github.com/repos/systemd/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/systemd/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/systemd/systemd/tags","blobs_url":"https://api.github.com/repos/systemd/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systemd/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systemd/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/systemd/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/systemd/systemd/languages","stargazers_url":"https://api.github.com/repos/systemd/systemd/stargazers","contributors_url":"https://api.github.com/repos/systemd/systemd/contributors","subscribers_url":"https://api.github.com/repos/systemd/systemd/subscribers","subscription_url":"https://api.github.com/repos/systemd/systemd/subscription","commits_url":"https://api.github.com/repos/systemd/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/systemd/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/systemd/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/systemd/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/systemd/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/systemd/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systemd/systemd/merges","archive_url":"https://api.github.com/repos/systemd/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systemd/systemd/downloads","issues_url":"https://api.github.com/repos/systemd/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/systemd/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/systemd/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/systemd/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systemd/systemd/labels{/name}","releases_url":"https://api.github.com/repos/systemd/systemd/releases{/id}","deployments_url":"https://api.github.com/repos/systemd/systemd/deployments","created_at":"2015-03-25T15:27:27Z","updated_at":"2016-02-11T18:10:08Z","pushed_at":"2016-02-11T19:38:03Z","git_url":"git://github.com/systemd/systemd.git","ssh_url":"git@github.com:systemd/systemd.git","clone_url":"https://github.com/systemd/systemd.git","svn_url":"https://github.com/systemd/systemd","homepage":"http://www.freedesktop.org/wiki/Software/systemd/","size":54715,"stargazers_count":869,"watchers_count":869,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":338,"mirror_url":null,"open_issues_count":297,"forks":338,"open_issues":297,"watchers":869,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/systemd/systemd/pulls/2587"},"html":{"href":"https://github.com/systemd/systemd/pull/2587"},"issue":{"href":"https://api.github.com/repos/systemd/systemd/issues/2587"},"comments":{"href":"https://api.github.com/repos/systemd/systemd/issues/2587/comments"},"review_comments":{"href":"https://api.github.com/repos/systemd/systemd/pulls/2587/comments"},"review_comment":{"href":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systemd/systemd/pulls/2587/commits"},"statuses":{"href":"https://api.github.com/repos/systemd/systemd/statuses/92ed3bb49e460b11aa86c828083e36373ae039dd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"poettering","id":2130732,"avatar_url":"https://avatars.githubusercontent.com/u/2130732?v=3","gravatar_id":"","url":"https://api.github.com/users/poettering","html_url":"https://github.com/poettering","followers_url":"https://api.github.com/users/poettering/followers","following_url":"https://api.github.com/users/poettering/following{/other_user}","gists_url":"https://api.github.com/users/poettering/gists{/gist_id}","starred_url":"https://api.github.com/users/poettering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poettering/subscriptions","organizations_url":"https://api.github.com/users/poettering/orgs","repos_url":"https://api.github.com/users/poettering/repos","events_url":"https://api.github.com/users/poettering/events{/privacy}","received_events_url":"https://api.github.com/users/poettering/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":386,"deletions":0,"changed_files":6}}