{"url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/pulls\/40","id":266715963,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY2NzE1OTYz","html_url":"https:\/\/github.com\/theupdateframework\/specification\/pull\/40","diff_url":"https:\/\/github.com\/theupdateframework\/specification\/pull\/40.diff","patch_url":"https:\/\/github.com\/theupdateframework\/specification\/pull\/40.patch","issue_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/issues\/40","commits_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/pulls\/40\/commits","review_comments_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/pulls\/40\/comments","review_comment_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/pulls\/comments{\/number}","comments_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/issues\/40\/comments","statuses_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/statuses\/8dc300f3d24298d3ccc3d154cd6221ed3f22843b","number":40,"state":"closed","locked":false,"title":"Remove root, add delegation hashes to the snapshot metadata","user":{"login":"erickt","id":84711,"node_id":"MDQ6VXNlcjg0NzEx","avatar_url":"https:\/\/avatars.githubusercontent.com\/u\/84711?v=4","gravatar_id":"","url":"https:\/\/api.github.com\/users\/erickt","html_url":"https:\/\/github.com\/erickt","followers_url":"https:\/\/api.github.com\/users\/erickt\/followers","following_url":"https:\/\/api.github.com\/users\/erickt\/following{\/other_user}","gists_url":"https:\/\/api.github.com\/users\/erickt\/gists{\/gist_id}","starred_url":"https:\/\/api.github.com\/users\/erickt\/starred{\/owner}{\/repo}","subscriptions_url":"https:\/\/api.github.com\/users\/erickt\/subscriptions","organizations_url":"https:\/\/api.github.com\/users\/erickt\/orgs","repos_url":"https:\/\/api.github.com\/users\/erickt\/repos","events_url":"https:\/\/api.github.com\/users\/erickt\/events{\/privacy}","received_events_url":"https:\/\/api.github.com\/users\/erickt\/received_events","type":"User","user_view_type":"public","site_admin":false},"body":"According to @JustinCappos in #31, the root.json is no longer needed in the snapshot metadata, because the workflow will already have updated the root metadata before the snapshot metadata is fetched.\r\n\r\nIn addition, section 5.6 of the Mercury paper describes a need for delegations to contain hashes in order to protect against malicous mirrors that may substitute one version of the delegated metadata with another. This cannot be detected without hashing of these files.\r\n\r\nCloses #31","labels":[],"milestone":null,"active_lock_reason":null,"created_at":"2019-04-02T16:13:51Z","updated_at":"2019-10-17T20:39:04Z","closed_at":"2019-10-17T19:08:54Z","merged_at":"2019-10-17T19:08:54Z","merge_commit_sha":"0cddec0a60f95f06d2e23ebadbd876eeb62c1df3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"head":{"label":"erickt:remove-root","ref":"remove-root","repo":{"id":143790040,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM3OTAwNDA=","name":"tuf-specification","full_name":"erickt\/tuf-specification","owner":{"login":"erickt","id":84711,"node_id":"MDQ6VXNlcjg0NzEx","avatar_url":"https:\/\/avatars.githubusercontent.com\/u\/84711?v=4","gravatar_id":"","url":"https:\/\/api.github.com\/users\/erickt","html_url":"https:\/\/github.com\/erickt","followers_url":"https:\/\/api.github.com\/users\/erickt\/followers","following_url":"https:\/\/api.github.com\/users\/erickt\/following{\/other_user}","gists_url":"https:\/\/api.github.com\/users\/erickt\/gists{\/gist_id}","starred_url":"https:\/\/api.github.com\/users\/erickt\/starred{\/owner}{\/repo}","subscriptions_url":"https:\/\/api.github.com\/users\/erickt\/subscriptions","organizations_url":"https:\/\/api.github.com\/users\/erickt\/orgs","repos_url":"https:\/\/api.github.com\/users\/erickt\/repos","events_url":"https:\/\/api.github.com\/users\/erickt\/events{\/privacy}","received_events_url":"https:\/\/api.github.com\/users\/erickt\/received_events","type":"User","user_view_type":"public","site_admin":false},"private":false,"fork":true,"archived":false,"disabled":false,"description":"The Update Framework specification","homepage":"https:\/\/theupdateframework.com","language":"Python","visibility":"public","is_template":false,"topics":[],"forks_count":0,"forks":0,"stargazers_count":0,"watchers_count":0,"watchers":0,"open_issues_count":0,"open_issues":0,"size":471,"default_branch":"master","has_issues":false,"has_projects":true,"has_wiki":true,"has_pages":true,"has_downloads":false,"has_discussions":false,"has_pull_requests":true,"pushed_at":"2022-05-20T18:01:01Z","created_at":"2018-08-06T22:30:56Z","updated_at":"2020-10-13T16:19:38Z","allow_forking":true,"web_commit_signoff_required":false,"pull_request_creation_policy":"all","license":{"key":"other","name":"Other","url":null,"spdx_id":"NOASSERTION","node_id":"MDc6TGljZW5zZTA="},"url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification","html_url":"https:\/\/github.com\/erickt\/tuf-specification","archive_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/{archive_format}{\/ref}","assignees_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/assignees{\/user}","blobs_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/git\/blobs{\/sha}","branches_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/branches{\/branch}","collaborators_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/collaborators{\/collaborator}","comments_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/comments{\/number}","commits_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/commits{\/sha}","compare_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/compare\/{base}...{head}","contents_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/contents\/{+path}","contributors_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/contributors","deployments_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/deployments","downloads_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/downloads","events_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/events","forks_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/forks","git_commits_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/git\/commits{\/sha}","git_refs_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/git\/refs{\/sha}","git_tags_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/git\/tags{\/sha}","git_url":"git:\/\/github.com\/erickt\/tuf-specification.git","issue_comment_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/issues\/comments{\/number}","issue_events_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/issues\/events{\/number}","issues_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/issues{\/number}","keys_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/keys{\/key_id}","labels_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/labels{\/name}","languages_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/languages","merges_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/merges","milestones_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/milestones{\/number}","notifications_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/notifications{?since,all,participating}","pulls_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/pulls{\/number}","releases_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/releases{\/id}","ssh_url":"git@github.com:erickt\/tuf-specification.git","stargazers_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/stargazers","statuses_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/statuses\/{sha}","subscribers_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/subscribers","subscription_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/subscription","tags_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/tags","teams_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/teams","trees_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/git\/trees{\/sha}","clone_url":"https:\/\/github.com\/erickt\/tuf-specification.git","mirror_url":null,"hooks_url":"https:\/\/api.github.com\/repos\/erickt\/tuf-specification\/hooks","svn_url":"https:\/\/github.com\/erickt\/tuf-specification"},"sha":"8dc300f3d24298d3ccc3d154cd6221ed3f22843b","user":{"login":"erickt","id":84711,"node_id":"MDQ6VXNlcjg0NzEx","avatar_url":"https:\/\/avatars.githubusercontent.com\/u\/84711?v=4","gravatar_id":"","url":"https:\/\/api.github.com\/users\/erickt","html_url":"https:\/\/github.com\/erickt","followers_url":"https:\/\/api.github.com\/users\/erickt\/followers","following_url":"https:\/\/api.github.com\/users\/erickt\/following{\/other_user}","gists_url":"https:\/\/api.github.com\/users\/erickt\/gists{\/gist_id}","starred_url":"https:\/\/api.github.com\/users\/erickt\/starred{\/owner}{\/repo}","subscriptions_url":"https:\/\/api.github.com\/users\/erickt\/subscriptions","organizations_url":"https:\/\/api.github.com\/users\/erickt\/orgs","repos_url":"https:\/\/api.github.com\/users\/erickt\/repos","events_url":"https:\/\/api.github.com\/users\/erickt\/events{\/privacy}","received_events_url":"https:\/\/api.github.com\/users\/erickt\/received_events","type":"User","user_view_type":"public","site_admin":false}},"base":{"label":"theupdateframework:master","ref":"master","repo":{"id":106598834,"node_id":"MDEwOlJlcG9zaXRvcnkxMDY1OTg4MzQ=","name":"specification","full_name":"theupdateframework\/specification","owner":{"login":"theupdateframework","id":4633028,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MzMwMjg=","avatar_url":"https:\/\/avatars.githubusercontent.com\/u\/4633028?v=4","gravatar_id":"","url":"https:\/\/api.github.com\/users\/theupdateframework","html_url":"https:\/\/github.com\/theupdateframework","followers_url":"https:\/\/api.github.com\/users\/theupdateframework\/followers","following_url":"https:\/\/api.github.com\/users\/theupdateframework\/following{\/other_user}","gists_url":"https:\/\/api.github.com\/users\/theupdateframework\/gists{\/gist_id}","starred_url":"https:\/\/api.github.com\/users\/theupdateframework\/starred{\/owner}{\/repo}","subscriptions_url":"https:\/\/api.github.com\/users\/theupdateframework\/subscriptions","organizations_url":"https:\/\/api.github.com\/users\/theupdateframework\/orgs","repos_url":"https:\/\/api.github.com\/users\/theupdateframework\/repos","events_url":"https:\/\/api.github.com\/users\/theupdateframework\/events{\/privacy}","received_events_url":"https:\/\/api.github.com\/users\/theupdateframework\/received_events","type":"Organization","user_view_type":"public","site_admin":false},"private":false,"fork":false,"archived":false,"disabled":false,"description":"The Update Framework specification","homepage":"https:\/\/theupdateframework.github.io\/specification\/","language":"Python","visibility":"public","is_template":false,"topics":[],"forks_count":60,"forks":60,"stargazers_count":412,"watchers_count":412,"watchers":412,"open_issues_count":89,"open_issues":89,"size":502,"default_branch":"master","has_issues":true,"has_projects":true,"has_wiki":true,"has_pages":true,"has_downloads":false,"has_discussions":false,"has_pull_requests":true,"pushed_at":"2026-10-26T01:42:26Z","created_at":"2017-10-11T19:19:14Z","updated_at":"2026-11-29T19:29:01Z","allow_forking":true,"web_commit_signoff_required":true,"pull_request_creation_policy":"all","license":{"key":"other","name":"Other","url":null,"spdx_id":"NOASSERTION","node_id":"MDc6TGljZW5zZTA="},"url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification","html_url":"https:\/\/github.com\/theupdateframework\/specification","archive_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/{archive_format}{\/ref}","assignees_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/assignees{\/user}","blobs_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/git\/blobs{\/sha}","branches_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/branches{\/branch}","collaborators_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/collaborators{\/collaborator}","comments_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/comments{\/number}","commits_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/commits{\/sha}","compare_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/compare\/{base}...{head}","contents_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/contents\/{+path}","contributors_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/contributors","deployments_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/deployments","downloads_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/downloads","events_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/events","forks_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/forks","git_commits_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/git\/commits{\/sha}","git_refs_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/git\/refs{\/sha}","git_tags_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/git\/tags{\/sha}","git_url":"git:\/\/github.com\/theupdateframework\/specification.git","issue_comment_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/issues\/comments{\/number}","issue_events_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/issues\/events{\/number}","issues_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/issues{\/number}","keys_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/keys{\/key_id}","labels_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/labels{\/name}","languages_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/languages","merges_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/merges","milestones_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/milestones{\/number}","notifications_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/notifications{?since,all,participating}","pulls_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/pulls{\/number}","releases_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/releases{\/id}","ssh_url":"git@github.com:theupdateframework\/specification.git","stargazers_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/stargazers","statuses_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/statuses\/{sha}","subscribers_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/subscribers","subscription_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/subscription","tags_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/tags","teams_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/teams","trees_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/git\/trees{\/sha}","clone_url":"https:\/\/github.com\/theupdateframework\/specification.git","mirror_url":null,"hooks_url":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/hooks","svn_url":"https:\/\/github.com\/theupdateframework\/specification"},"sha":"e4eea451a0f4845e5ee4743f0bdcf1033f306f20","user":{"login":"theupdateframework","id":4633028,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2MzMwMjg=","avatar_url":"https:\/\/avatars.githubusercontent.com\/u\/4633028?v=4","gravatar_id":"","url":"https:\/\/api.github.com\/users\/theupdateframework","html_url":"https:\/\/github.com\/theupdateframework","followers_url":"https:\/\/api.github.com\/users\/theupdateframework\/followers","following_url":"https:\/\/api.github.com\/users\/theupdateframework\/following{\/other_user}","gists_url":"https:\/\/api.github.com\/users\/theupdateframework\/gists{\/gist_id}","starred_url":"https:\/\/api.github.com\/users\/theupdateframework\/starred{\/owner}{\/repo}","subscriptions_url":"https:\/\/api.github.com\/users\/theupdateframework\/subscriptions","organizations_url":"https:\/\/api.github.com\/users\/theupdateframework\/orgs","repos_url":"https:\/\/api.github.com\/users\/theupdateframework\/repos","events_url":"https:\/\/api.github.com\/users\/theupdateframework\/events{\/privacy}","received_events_url":"https:\/\/api.github.com\/users\/theupdateframework\/received_events","type":"Organization","user_view_type":"public","site_admin":false}},"_links":{"comments":{"href":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/issues\/40\/comments"},"commits":{"href":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/pulls\/40\/commits"},"statuses":{"href":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/statuses\/8dc300f3d24298d3ccc3d154cd6221ed3f22843b"},"html":{"href":"https:\/\/github.com\/theupdateframework\/specification\/pull\/40"},"issue":{"href":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/issues\/40"},"review_comments":{"href":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/pulls\/40\/comments"},"review_comment":{"href":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/pulls\/comments{\/number}"},"self":{"href":"https:\/\/api.github.com\/repos\/theupdateframework\/specification\/pulls\/40"}},"author_association":"CONTRIBUTOR","auto_merge":null,"draft":false,"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"trishankatdatadog","id":33133073,"node_id":"MDQ6VXNlcjMzMTMzMDcz","avatar_url":"https:\/\/avatars.githubusercontent.com\/u\/33133073?v=4","gravatar_id":"","url":"https:\/\/api.github.com\/users\/trishankatdatadog","html_url":"https:\/\/github.com\/trishankatdatadog","followers_url":"https:\/\/api.github.com\/users\/trishankatdatadog\/followers","following_url":"https:\/\/api.github.com\/users\/trishankatdatadog\/following{\/other_user}","gists_url":"https:\/\/api.github.com\/users\/trishankatdatadog\/gists{\/gist_id}","starred_url":"https:\/\/api.github.com\/users\/trishankatdatadog\/starred{\/owner}{\/repo}","subscriptions_url":"https:\/\/api.github.com\/users\/trishankatdatadog\/subscriptions","organizations_url":"https:\/\/api.github.com\/users\/trishankatdatadog\/orgs","repos_url":"https:\/\/api.github.com\/users\/trishankatdatadog\/repos","events_url":"https:\/\/api.github.com\/users\/trishankatdatadog\/events{\/privacy}","received_events_url":"https:\/\/api.github.com\/users\/trishankatdatadog\/received_events","type":"User","user_view_type":"public","site_admin":false},"comments":10,"review_comments":11,"maintainer_can_modify":false,"commits":3,"additions":45,"deletions":30,"changed_files":1}