{"action":"closed","number":121,"pull_request":{"url":"https://api.github.com/repos/digitalbitbox/mcu/pulls/121","id":54909798,"html_url":"https://github.com/digitalbitbox/mcu/pull/121","diff_url":"https://github.com/digitalbitbox/mcu/pull/121.diff","patch_url":"https://github.com/digitalbitbox/mcu/pull/121.patch","issue_url":"https://api.github.com/repos/digitalbitbox/mcu/issues/121","number":121,"state":"closed","locked":false,"title":"bootloader M of N signature verification of firmware","user":{"login":"douglasbakkum","id":7711591,"avatar_url":"https://avatars.githubusercontent.com/u/7711591?v=3","gravatar_id":"","url":"https://api.github.com/users/douglasbakkum","html_url":"https://github.com/douglasbakkum","followers_url":"https://api.github.com/users/douglasbakkum/followers","following_url":"https://api.github.com/users/douglasbakkum/following{/other_user}","gists_url":"https://api.github.com/users/douglasbakkum/gists{/gist_id}","starred_url":"https://api.github.com/users/douglasbakkum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglasbakkum/subscriptions","organizations_url":"https://api.github.com/users/douglasbakkum/orgs","repos_url":"https://api.github.com/users/douglasbakkum/repos","events_url":"https://api.github.com/users/douglasbakkum/events{/privacy}","received_events_url":"https://api.github.com/users/douglasbakkum/received_events","type":"User","site_admin":false},"body":"Currently 2 of 3 but easy to update once secure keys are chosen.\r\n\r\nClients (i.e. dbb-app) operate as before and just concatenate signatures for the extra keys when sending the 's' command to the bootloader. Order is important. For example, if a signature for the second key is missing, a 'dummy' sig, such as 64 bytes of 0xFF, should be inserted before concatenating the signature for the third key, and so on.","created_at":"2016-01-02T18:01:38Z","updated_at":"2016-01-09T18:48:36Z","closed_at":"2016-01-09T18:48:36Z","merged_at":"2016-01-09T18:48:36Z","merge_commit_sha":"1e79155fc13c1ad4617fb2c122e2715c0ce88683","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/digitalbitbox/mcu/pulls/121/commits","review_comments_url":"https://api.github.com/repos/digitalbitbox/mcu/pulls/121/comments","review_comment_url":"https://api.github.com/repos/digitalbitbox/mcu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/digitalbitbox/mcu/issues/121/comments","statuses_url":"https://api.github.com/repos/digitalbitbox/mcu/statuses/b096ae47b44de77516a8da2a8f1d5e05fd80418b","head":{"label":"douglasbakkum:bootMS","ref":"bootMS","sha":"b096ae47b44de77516a8da2a8f1d5e05fd80418b","user":{"login":"douglasbakkum","id":7711591,"avatar_url":"https://avatars.githubusercontent.com/u/7711591?v=3","gravatar_id":"","url":"https://api.github.com/users/douglasbakkum","html_url":"https://github.com/douglasbakkum","followers_url":"https://api.github.com/users/douglasbakkum/followers","following_url":"https://api.github.com/users/douglasbakkum/following{/other_user}","gists_url":"https://api.github.com/users/douglasbakkum/gists{/gist_id}","starred_url":"https://api.github.com/users/douglasbakkum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglasbakkum/subscriptions","organizations_url":"https://api.github.com/users/douglasbakkum/orgs","repos_url":"https://api.github.com/users/douglasbakkum/repos","events_url":"https://api.github.com/users/douglasbakkum/events{/privacy}","received_events_url":"https://api.github.com/users/douglasbakkum/received_events","type":"User","site_admin":false},"repo":{"id":38921021,"name":"mcu","full_name":"douglasbakkum/mcu","owner":{"login":"douglasbakkum","id":7711591,"avatar_url":"https://avatars.githubusercontent.com/u/7711591?v=3","gravatar_id":"","url":"https://api.github.com/users/douglasbakkum","html_url":"https://github.com/douglasbakkum","followers_url":"https://api.github.com/users/douglasbakkum/followers","following_url":"https://api.github.com/users/douglasbakkum/following{/other_user}","gists_url":"https://api.github.com/users/douglasbakkum/gists{/gist_id}","starred_url":"https://api.github.com/users/douglasbakkum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglasbakkum/subscriptions","organizations_url":"https://api.github.com/users/douglasbakkum/orgs","repos_url":"https://api.github.com/users/douglasbakkum/repos","events_url":"https://api.github.com/users/douglasbakkum/events{/privacy}","received_events_url":"https://api.github.com/users/douglasbakkum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/douglasbakkum/mcu","description":"MCU code for the Digital Bitbox hardware wallet","fork":true,"url":"https://api.github.com/repos/douglasbakkum/mcu","forks_url":"https://api.github.com/repos/douglasbakkum/mcu/forks","keys_url":"https://api.github.com/repos/douglasbakkum/mcu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/douglasbakkum/mcu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/douglasbakkum/mcu/teams","hooks_url":"https://api.github.com/repos/douglasbakkum/mcu/hooks","issue_events_url":"https://api.github.com/repos/douglasbakkum/mcu/issues/events{/number}","events_url":"https://api.github.com/repos/douglasbakkum/mcu/events","assignees_url":"https://api.github.com/repos/douglasbakkum/mcu/assignees{/user}","branches_url":"https://api.github.com/repos/douglasbakkum/mcu/branches{/branch}","tags_url":"https://api.github.com/repos/douglasbakkum/mcu/tags","blobs_url":"https://api.github.com/repos/douglasbakkum/mcu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/douglasbakkum/mcu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/douglasbakkum/mcu/git/refs{/sha}","trees_url":"https://api.github.com/repos/douglasbakkum/mcu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/douglasbakkum/mcu/statuses/{sha}","languages_url":"https://api.github.com/repos/douglasbakkum/mcu/languages","stargazers_url":"https://api.github.com/repos/douglasbakkum/mcu/stargazers","contributors_url":"https://api.github.com/repos/douglasbakkum/mcu/contributors","subscribers_url":"https://api.github.com/repos/douglasbakkum/mcu/subscribers","subscription_url":"https://api.github.com/repos/douglasbakkum/mcu/subscription","commits_url":"https://api.github.com/repos/douglasbakkum/mcu/commits{/sha}","git_commits_url":"https://api.github.com/repos/douglasbakkum/mcu/git/commits{/sha}","comments_url":"https://api.github.com/repos/douglasbakkum/mcu/comments{/number}","issue_comment_url":"https://api.github.com/repos/douglasbakkum/mcu/issues/comments{/number}","contents_url":"https://api.github.com/repos/douglasbakkum/mcu/contents/{+path}","compare_url":"https://api.github.com/repos/douglasbakkum/mcu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/douglasbakkum/mcu/merges","archive_url":"https://api.github.com/repos/douglasbakkum/mcu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/douglasbakkum/mcu/downloads","issues_url":"https://api.github.com/repos/douglasbakkum/mcu/issues{/number}","pulls_url":"https://api.github.com/repos/douglasbakkum/mcu/pulls{/number}","milestones_url":"https://api.github.com/repos/douglasbakkum/mcu/milestones{/number}","notifications_url":"https://api.github.com/repos/douglasbakkum/mcu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/douglasbakkum/mcu/labels{/name}","releases_url":"https://api.github.com/repos/douglasbakkum/mcu/releases{/id}","created_at":"2015-07-11T09:37:49Z","updated_at":"2015-10-18T18:46:11Z","pushed_at":"2016-01-04T01:13:39Z","git_url":"git://github.com/douglasbakkum/mcu.git","ssh_url":"git@github.com:douglasbakkum/mcu.git","clone_url":"https://github.com/douglasbakkum/mcu.git","svn_url":"https://github.com/douglasbakkum/mcu","homepage":"","size":2753,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"digitalbitbox:master","ref":"master","sha":"ed75e8c776f6b58ec5aa4f2bd1dab837a39e9c9c","user":{"login":"digitalbitbox","id":12703801,"avatar_url":"https://avatars.githubusercontent.com/u/12703801?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalbitbox","html_url":"https://github.com/digitalbitbox","followers_url":"https://api.github.com/users/digitalbitbox/followers","following_url":"https://api.github.com/users/digitalbitbox/following{/other_user}","gists_url":"https://api.github.com/users/digitalbitbox/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalbitbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalbitbox/subscriptions","organizations_url":"https://api.github.com/users/digitalbitbox/orgs","repos_url":"https://api.github.com/users/digitalbitbox/repos","events_url":"https://api.github.com/users/digitalbitbox/events{/privacy}","received_events_url":"https://api.github.com/users/digitalbitbox/received_events","type":"Organization","site_admin":false},"repo":{"id":28983102,"name":"mcu","full_name":"digitalbitbox/mcu","owner":{"login":"digitalbitbox","id":12703801,"avatar_url":"https://avatars.githubusercontent.com/u/12703801?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalbitbox","html_url":"https://github.com/digitalbitbox","followers_url":"https://api.github.com/users/digitalbitbox/followers","following_url":"https://api.github.com/users/digitalbitbox/following{/other_user}","gists_url":"https://api.github.com/users/digitalbitbox/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalbitbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalbitbox/subscriptions","organizations_url":"https://api.github.com/users/digitalbitbox/orgs","repos_url":"https://api.github.com/users/digitalbitbox/repos","events_url":"https://api.github.com/users/digitalbitbox/events{/privacy}","received_events_url":"https://api.github.com/users/digitalbitbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digitalbitbox/mcu","description":"MCU code for the Digital Bitbox hardware wallet","fork":false,"url":"https://api.github.com/repos/digitalbitbox/mcu","forks_url":"https://api.github.com/repos/digitalbitbox/mcu/forks","keys_url":"https://api.github.com/repos/digitalbitbox/mcu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digitalbitbox/mcu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digitalbitbox/mcu/teams","hooks_url":"https://api.github.com/repos/digitalbitbox/mcu/hooks","issue_events_url":"https://api.github.com/repos/digitalbitbox/mcu/issues/events{/number}","events_url":"https://api.github.com/repos/digitalbitbox/mcu/events","assignees_url":"https://api.github.com/repos/digitalbitbox/mcu/assignees{/user}","branches_url":"https://api.github.com/repos/digitalbitbox/mcu/branches{/branch}","tags_url":"https://api.github.com/repos/digitalbitbox/mcu/tags","blobs_url":"https://api.github.com/repos/digitalbitbox/mcu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digitalbitbox/mcu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digitalbitbox/mcu/git/refs{/sha}","trees_url":"https://api.github.com/repos/digitalbitbox/mcu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digitalbitbox/mcu/statuses/{sha}","languages_url":"https://api.github.com/repos/digitalbitbox/mcu/languages","stargazers_url":"https://api.github.com/repos/digitalbitbox/mcu/stargazers","contributors_url":"https://api.github.com/repos/digitalbitbox/mcu/contributors","subscribers_url":"https://api.github.com/repos/digitalbitbox/mcu/subscribers","subscription_url":"https://api.github.com/repos/digitalbitbox/mcu/subscription","commits_url":"https://api.github.com/repos/digitalbitbox/mcu/commits{/sha}","git_commits_url":"https://api.github.com/repos/digitalbitbox/mcu/git/commits{/sha}","comments_url":"https://api.github.com/repos/digitalbitbox/mcu/comments{/number}","issue_comment_url":"https://api.github.com/repos/digitalbitbox/mcu/issues/comments{/number}","contents_url":"https://api.github.com/repos/digitalbitbox/mcu/contents/{+path}","compare_url":"https://api.github.com/repos/digitalbitbox/mcu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digitalbitbox/mcu/merges","archive_url":"https://api.github.com/repos/digitalbitbox/mcu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digitalbitbox/mcu/downloads","issues_url":"https://api.github.com/repos/digitalbitbox/mcu/issues{/number}","pulls_url":"https://api.github.com/repos/digitalbitbox/mcu/pulls{/number}","milestones_url":"https://api.github.com/repos/digitalbitbox/mcu/milestones{/number}","notifications_url":"https://api.github.com/repos/digitalbitbox/mcu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digitalbitbox/mcu/labels{/name}","releases_url":"https://api.github.com/repos/digitalbitbox/mcu/releases{/id}","created_at":"2015-01-08T19:51:09Z","updated_at":"2015-12-21T14:12:13Z","pushed_at":"2016-01-09T18:48:36Z","git_url":"git://github.com/digitalbitbox/mcu.git","ssh_url":"git@github.com:digitalbitbox/mcu.git","clone_url":"https://github.com/digitalbitbox/mcu.git","svn_url":"https://github.com/digitalbitbox/mcu","homepage":"www.digitalbitbox.com","size":2788,"stargazers_count":7,"watchers_count":7,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/digitalbitbox/mcu/pulls/121"},"html":{"href":"https://github.com/digitalbitbox/mcu/pull/121"},"issue":{"href":"https://api.github.com/repos/digitalbitbox/mcu/issues/121"},"comments":{"href":"https://api.github.com/repos/digitalbitbox/mcu/issues/121/comments"},"review_comments":{"href":"https://api.github.com/repos/digitalbitbox/mcu/pulls/121/comments"},"review_comment":{"href":"https://api.github.com/repos/digitalbitbox/mcu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/digitalbitbox/mcu/pulls/121/commits"},"statuses":{"href":"https://api.github.com/repos/digitalbitbox/mcu/statuses/b096ae47b44de77516a8da2a8f1d5e05fd80418b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"douglasbakkum","id":7711591,"avatar_url":"https://avatars.githubusercontent.com/u/7711591?v=3","gravatar_id":"","url":"https://api.github.com/users/douglasbakkum","html_url":"https://github.com/douglasbakkum","followers_url":"https://api.github.com/users/douglasbakkum/followers","following_url":"https://api.github.com/users/douglasbakkum/following{/other_user}","gists_url":"https://api.github.com/users/douglasbakkum/gists{/gist_id}","starred_url":"https://api.github.com/users/douglasbakkum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglasbakkum/subscriptions","organizations_url":"https://api.github.com/users/douglasbakkum/orgs","repos_url":"https://api.github.com/users/douglasbakkum/repos","events_url":"https://api.github.com/users/douglasbakkum/events{/privacy}","received_events_url":"https://api.github.com/users/douglasbakkum/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":35,"deletions":15,"changed_files":5}}