{"action":"created","comment":{"url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/comments/71141902","id":71141902,"diff_hunk":"@@ -389,19 +389,15 @@ def check_repo_tag\n     end\n \n     def check_key_file\n-      expected = @config.fetch(\"repomd\", {})[\"key_md5\"]\n+      expected = @config.fetch(\"repomd\", {})[\"fingerprint\"]\n       return true if expected.blank?\n \n       key_path = repodata_path.join(\"repomd.xml.key\")\n       key_path = repodata_media_path.join(\"repomd.xml.key\") unless key_path.file?\n \n       if key_path.file?\n-        md5 = Digest::MD5.hexdigest(key_path.read)\n-        if expected.is_a?(Array)\n-          expected.include? md5\n-        else\n-          md5 == expected\n-        end\n+        expected == `LC_ALL=C gpg --with-fingerprint #{key_path} | \\","path":"crowbar_framework/lib/crowbar/repository.rb","position":18,"original_position":18,"commit_id":"d3812c8a1d8ee92f8097d57605163b8d609955e1","original_commit_id":"d3812c8a1d8ee92f8097d57605163b8d609955e1","user":{"login":"nicolasbock","id":841385,"avatar_url":"https://avatars.githubusercontent.com/u/841385?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasbock","html_url":"https://github.com/nicolasbock","followers_url":"https://api.github.com/users/nicolasbock/followers","following_url":"https://api.github.com/users/nicolasbock/following{/other_user}","gists_url":"https://api.github.com/users/nicolasbock/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasbock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasbock/subscriptions","organizations_url":"https://api.github.com/users/nicolasbock/orgs","repos_url":"https://api.github.com/users/nicolasbock/repos","events_url":"https://api.github.com/users/nicolasbock/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasbock/received_events","type":"User","site_admin":false},"body":"I'll add that back in.","created_at":"2016-07-18T12:56:53Z","updated_at":"2016-07-18T12:56:53Z","html_url":"https://github.com/crowbar/crowbar-core/pull/550#discussion_r71141902","pull_request_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/550","_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/comments/71141902"},"html":{"href":"https://github.com/crowbar/crowbar-core/pull/550#discussion_r71141902"},"pull_request":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/550"}}},"pull_request":{"url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/550","id":77801908,"html_url":"https://github.com/crowbar/crowbar-core/pull/550","diff_url":"https://github.com/crowbar/crowbar-core/pull/550.diff","patch_url":"https://github.com/crowbar/crowbar-core/pull/550.patch","issue_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/550","number":550,"state":"open","locked":false,"title":"Use repository key fingerprints for verification (bsc#988907)","user":{"login":"nicolasbock","id":841385,"avatar_url":"https://avatars.githubusercontent.com/u/841385?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasbock","html_url":"https://github.com/nicolasbock","followers_url":"https://api.github.com/users/nicolasbock/followers","following_url":"https://api.github.com/users/nicolasbock/following{/other_user}","gists_url":"https://api.github.com/users/nicolasbock/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasbock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasbock/subscriptions","organizations_url":"https://api.github.com/users/nicolasbock/orgs","repos_url":"https://api.github.com/users/nicolasbock/repos","events_url":"https://api.github.com/users/nicolasbock/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasbock/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-18T12:44:09Z","updated_at":"2016-07-18T12:56:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"695d6aebd8b6f9e7d43bbd483359c6be4dfa6a67","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/550/commits","review_comments_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/550/comments","review_comment_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/550/comments","statuses_url":"https://api.github.com/repos/crowbar/crowbar-core/statuses/d3812c8a1d8ee92f8097d57605163b8d609955e1","head":{"label":"nicolasbock:update_repo_keys","ref":"update_repo_keys","sha":"d3812c8a1d8ee92f8097d57605163b8d609955e1","user":{"login":"nicolasbock","id":841385,"avatar_url":"https://avatars.githubusercontent.com/u/841385?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasbock","html_url":"https://github.com/nicolasbock","followers_url":"https://api.github.com/users/nicolasbock/followers","following_url":"https://api.github.com/users/nicolasbock/following{/other_user}","gists_url":"https://api.github.com/users/nicolasbock/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasbock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasbock/subscriptions","organizations_url":"https://api.github.com/users/nicolasbock/orgs","repos_url":"https://api.github.com/users/nicolasbock/repos","events_url":"https://api.github.com/users/nicolasbock/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasbock/received_events","type":"User","site_admin":false},"repo":{"id":58370408,"name":"crowbar-core","full_name":"nicolasbock/crowbar-core","owner":{"login":"nicolasbock","id":841385,"avatar_url":"https://avatars.githubusercontent.com/u/841385?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasbock","html_url":"https://github.com/nicolasbock","followers_url":"https://api.github.com/users/nicolasbock/followers","following_url":"https://api.github.com/users/nicolasbock/following{/other_user}","gists_url":"https://api.github.com/users/nicolasbock/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasbock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasbock/subscriptions","organizations_url":"https://api.github.com/users/nicolasbock/orgs","repos_url":"https://api.github.com/users/nicolasbock/repos","events_url":"https://api.github.com/users/nicolasbock/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasbock/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nicolasbock/crowbar-core","description":"Core deployment for Crowbar","fork":true,"url":"https://api.github.com/repos/nicolasbock/crowbar-core","forks_url":"https://api.github.com/repos/nicolasbock/crowbar-core/forks","keys_url":"https://api.github.com/repos/nicolasbock/crowbar-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nicolasbock/crowbar-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nicolasbock/crowbar-core/teams","hooks_url":"https://api.github.com/repos/nicolasbock/crowbar-core/hooks","issue_events_url":"https://api.github.com/repos/nicolasbock/crowbar-core/issues/events{/number}","events_url":"https://api.github.com/repos/nicolasbock/crowbar-core/events","assignees_url":"https://api.github.com/repos/nicolasbock/crowbar-core/assignees{/user}","branches_url":"https://api.github.com/repos/nicolasbock/crowbar-core/branches{/branch}","tags_url":"https://api.github.com/repos/nicolasbock/crowbar-core/tags","blobs_url":"https://api.github.com/repos/nicolasbock/crowbar-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nicolasbock/crowbar-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nicolasbock/crowbar-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/nicolasbock/crowbar-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nicolasbock/crowbar-core/statuses/{sha}","languages_url":"https://api.github.com/repos/nicolasbock/crowbar-core/languages","stargazers_url":"https://api.github.com/repos/nicolasbock/crowbar-core/stargazers","contributors_url":"https://api.github.com/repos/nicolasbock/crowbar-core/contributors","subscribers_url":"https://api.github.com/repos/nicolasbock/crowbar-core/subscribers","subscription_url":"https://api.github.com/repos/nicolasbock/crowbar-core/subscription","commits_url":"https://api.github.com/repos/nicolasbock/crowbar-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/nicolasbock/crowbar-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/nicolasbock/crowbar-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/nicolasbock/crowbar-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/nicolasbock/crowbar-core/contents/{+path}","compare_url":"https://api.github.com/repos/nicolasbock/crowbar-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nicolasbock/crowbar-core/merges","archive_url":"https://api.github.com/repos/nicolasbock/crowbar-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nicolasbock/crowbar-core/downloads","issues_url":"https://api.github.com/repos/nicolasbock/crowbar-core/issues{/number}","pulls_url":"https://api.github.com/repos/nicolasbock/crowbar-core/pulls{/number}","milestones_url":"https://api.github.com/repos/nicolasbock/crowbar-core/milestones{/number}","notifications_url":"https://api.github.com/repos/nicolasbock/crowbar-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nicolasbock/crowbar-core/labels{/name}","releases_url":"https://api.github.com/repos/nicolasbock/crowbar-core/releases{/id}","deployments_url":"https://api.github.com/repos/nicolasbock/crowbar-core/deployments","created_at":"2016-05-09T11:07:23Z","updated_at":"2016-05-09T11:07:25Z","pushed_at":"2016-07-18T12:52:52Z","git_url":"git://github.com/nicolasbock/crowbar-core.git","ssh_url":"git@github.com:nicolasbock/crowbar-core.git","clone_url":"https://github.com/nicolasbock/crowbar-core.git","svn_url":"https://github.com/nicolasbock/crowbar-core","homepage":null,"size":105680,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"crowbar:master","ref":"master","sha":"2662bb861bbdadf6d475a85fcf8f38c621021f6b","user":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"repo":{"id":39003227,"name":"crowbar-core","full_name":"crowbar/crowbar-core","owner":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crowbar/crowbar-core","description":"Core deployment for Crowbar","fork":false,"url":"https://api.github.com/repos/crowbar/crowbar-core","forks_url":"https://api.github.com/repos/crowbar/crowbar-core/forks","keys_url":"https://api.github.com/repos/crowbar/crowbar-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crowbar/crowbar-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crowbar/crowbar-core/teams","hooks_url":"https://api.github.com/repos/crowbar/crowbar-core/hooks","issue_events_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/events{/number}","events_url":"https://api.github.com/repos/crowbar/crowbar-core/events","assignees_url":"https://api.github.com/repos/crowbar/crowbar-core/assignees{/user}","branches_url":"https://api.github.com/repos/crowbar/crowbar-core/branches{/branch}","tags_url":"https://api.github.com/repos/crowbar/crowbar-core/tags","blobs_url":"https://api.github.com/repos/crowbar/crowbar-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crowbar/crowbar-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crowbar/crowbar-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/crowbar/crowbar-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crowbar/crowbar-core/statuses/{sha}","languages_url":"https://api.github.com/repos/crowbar/crowbar-core/languages","stargazers_url":"https://api.github.com/repos/crowbar/crowbar-core/stargazers","contributors_url":"https://api.github.com/repos/crowbar/crowbar-core/contributors","subscribers_url":"https://api.github.com/repos/crowbar/crowbar-core/subscribers","subscription_url":"https://api.github.com/repos/crowbar/crowbar-core/subscription","commits_url":"https://api.github.com/repos/crowbar/crowbar-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/crowbar/crowbar-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/crowbar/crowbar-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/crowbar/crowbar-core/contents/{+path}","compare_url":"https://api.github.com/repos/crowbar/crowbar-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crowbar/crowbar-core/merges","archive_url":"https://api.github.com/repos/crowbar/crowbar-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crowbar/crowbar-core/downloads","issues_url":"https://api.github.com/repos/crowbar/crowbar-core/issues{/number}","pulls_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls{/number}","milestones_url":"https://api.github.com/repos/crowbar/crowbar-core/milestones{/number}","notifications_url":"https://api.github.com/repos/crowbar/crowbar-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crowbar/crowbar-core/labels{/name}","releases_url":"https://api.github.com/repos/crowbar/crowbar-core/releases{/id}","deployments_url":"https://api.github.com/repos/crowbar/crowbar-core/deployments","created_at":"2015-07-13T09:31:28Z","updated_at":"2016-04-10T12:47:20Z","pushed_at":"2016-07-18T12:52:53Z","git_url":"git://github.com/crowbar/crowbar-core.git","ssh_url":"git@github.com:crowbar/crowbar-core.git","clone_url":"https://github.com/crowbar/crowbar-core.git","svn_url":"https://github.com/crowbar/crowbar-core","homepage":null,"size":120732,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":34,"forks":31,"open_issues":34,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/550"},"html":{"href":"https://github.com/crowbar/crowbar-core/pull/550"},"issue":{"href":"https://api.github.com/repos/crowbar/crowbar-core/issues/550"},"comments":{"href":"https://api.github.com/repos/crowbar/crowbar-core/issues/550/comments"},"review_comments":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/550/comments"},"review_comment":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/550/commits"},"statuses":{"href":"https://api.github.com/repos/crowbar/crowbar-core/statuses/d3812c8a1d8ee92f8097d57605163b8d609955e1"}}}}
{"actor":{"display_login":"nicolasbock"}}