{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-services/go-cose/pulls/comments/201508193","pull_request_review_id":136025252,"id":201508193,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTUwODE5Mw==","diff_hunk":"@@ -10,6 +11,14 @@ import (\n // from https://www.iana.org/assignments/cbor-tags/cbor-tags.xhtml#tags\n const SignMessageCBORTag = 98\n \n+var signMessagePrefix = []byte{'\\xd8', SignMessageCBORTag}","path":"cbor.go","position":12,"original_position":12,"commit_id":"20d53269d6196f81bcaad475cdc0d59bd55f059d","original_commit_id":"20d53269d6196f81bcaad475cdc0d59bd55f059d","user":{"login":"ajvb","id":1144310,"node_id":"MDQ6VXNlcjExNDQzMTA=","avatar_url":"https://avatars3.githubusercontent.com/u/1144310?v=4","gravatar_id":"","url":"https://api.github.com/users/ajvb","html_url":"https://github.com/ajvb","followers_url":"https://api.github.com/users/ajvb/followers","following_url":"https://api.github.com/users/ajvb/following{/other_user}","gists_url":"https://api.github.com/users/ajvb/gists{/gist_id}","starred_url":"https://api.github.com/users/ajvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajvb/subscriptions","organizations_url":"https://api.github.com/users/ajvb/orgs","repos_url":"https://api.github.com/users/ajvb/repos","events_url":"https://api.github.com/users/ajvb/events{/privacy}","received_events_url":"https://api.github.com/users/ajvb/received_events","type":"User","site_admin":false},"body":"Is the `0xd8` magic number documented anywhere? If so, might be nice to add a link to that.","created_at":"2018-07-10T21:55:07Z","updated_at":"2018-07-10T21:55:24Z","html_url":"https://github.com/mozilla-services/go-cose/pull/45#discussion_r201508193","pull_request_url":"https://api.github.com/repos/mozilla-services/go-cose/pulls/45","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mozilla-services/go-cose/pulls/comments/201508193"},"html":{"href":"https://github.com/mozilla-services/go-cose/pull/45#discussion_r201508193"},"pull_request":{"href":"https://api.github.com/repos/mozilla-services/go-cose/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-services/go-cose/pulls/45","id":199911237,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTExMjM3","html_url":"https://github.com/mozilla-services/go-cose/pull/45","diff_url":"https://github.com/mozilla-services/go-cose/pull/45.diff","patch_url":"https://github.com/mozilla-services/go-cose/pull/45.patch","issue_url":"https://api.github.com/repos/mozilla-services/go-cose/issues/45","number":45,"state":"open","locked":false,"title":"Add IsSignMessage","user":{"login":"g-k","id":226605,"node_id":"MDQ6VXNlcjIyNjYwNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/226605?v=4","gravatar_id":"","url":"https://api.github.com/users/g-k","html_url":"https://github.com/g-k","followers_url":"https://api.github.com/users/g-k/followers","following_url":"https://api.github.com/users/g-k/following{/other_user}","gists_url":"https://api.github.com/users/g-k/gists{/gist_id}","starred_url":"https://api.github.com/users/g-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g-k/subscriptions","organizations_url":"https://api.github.com/users/g-k/orgs","repos_url":"https://api.github.com/users/g-k/repos","events_url":"https://api.github.com/users/g-k/events{/privacy}","received_events_url":"https://api.github.com/users/g-k/received_events","type":"User","site_admin":false},"body":"per https://github.com/mozilla-services/autograph/pull/76#discussion_r200813411\r\n\r\nr? @jvehent ","created_at":"2018-07-07T19:50:25Z","updated_at":"2018-07-10T21:55:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6022c8358bb6d318ca673840637d38e73626d6f2","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jvehent","id":415617,"node_id":"MDQ6VXNlcjQxNTYxNw==","avatar_url":"https://avatars1.githubusercontent.com/u/415617?v=4","gravatar_id":"","url":"https://api.github.com/users/jvehent","html_url":"https://github.com/jvehent","followers_url":"https://api.github.com/users/jvehent/followers","following_url":"https://api.github.com/users/jvehent/following{/other_user}","gists_url":"https://api.github.com/users/jvehent/gists{/gist_id}","starred_url":"https://api.github.com/users/jvehent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvehent/subscriptions","organizations_url":"https://api.github.com/users/jvehent/orgs","repos_url":"https://api.github.com/users/jvehent/repos","events_url":"https://api.github.com/users/jvehent/events{/privacy}","received_events_url":"https://api.github.com/users/jvehent/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-services/go-cose/pulls/45/commits","review_comments_url":"https://api.github.com/repos/mozilla-services/go-cose/pulls/45/comments","review_comment_url":"https://api.github.com/repos/mozilla-services/go-cose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-services/go-cose/issues/45/comments","statuses_url":"https://api.github.com/repos/mozilla-services/go-cose/statuses/20d53269d6196f81bcaad475cdc0d59bd55f059d","head":{"label":"mozilla-services:add-is-sign-message","ref":"add-is-sign-message","sha":"20d53269d6196f81bcaad475cdc0d59bd55f059d","user":{"login":"mozilla-services","id":1066228,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjYyMjg=","avatar_url":"https://avatars1.githubusercontent.com/u/1066228?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"repo":{"id":121446603,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE0NDY2MDM=","name":"go-cose","full_name":"mozilla-services/go-cose","owner":{"login":"mozilla-services","id":1066228,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjYyMjg=","avatar_url":"https://avatars1.githubusercontent.com/u/1066228?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-services/go-cose","description":"go library for CBOR Object Signing and Encryption (COSE)","fork":false,"url":"https://api.github.com/repos/mozilla-services/go-cose","forks_url":"https://api.github.com/repos/mozilla-services/go-cose/forks","keys_url":"https://api.github.com/repos/mozilla-services/go-cose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-services/go-cose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-services/go-cose/teams","hooks_url":"https://api.github.com/repos/mozilla-services/go-cose/hooks","issue_events_url":"https://api.github.com/repos/mozilla-services/go-cose/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-services/go-cose/events","assignees_url":"https://api.github.com/repos/mozilla-services/go-cose/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-services/go-cose/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-services/go-cose/tags","blobs_url":"https://api.github.com/repos/mozilla-services/go-cose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-services/go-cose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-services/go-cose/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-services/go-cose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-services/go-cose/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-services/go-cose/languages","stargazers_url":"https://api.github.com/repos/mozilla-services/go-cose/stargazers","contributors_url":"https://api.github.com/repos/mozilla-services/go-cose/contributors","subscribers_url":"https://api.github.com/repos/mozilla-services/go-cose/subscribers","subscription_url":"https://api.github.com/repos/mozilla-services/go-cose/subscription","commits_url":"https://api.github.com/repos/mozilla-services/go-cose/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-services/go-cose/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-services/go-cose/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-services/go-cose/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-services/go-cose/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-services/go-cose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-services/go-cose/merges","archive_url":"https://api.github.com/repos/mozilla-services/go-cose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-services/go-cose/downloads","issues_url":"https://api.github.com/repos/mozilla-services/go-cose/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-services/go-cose/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-services/go-cose/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-services/go-cose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-services/go-cose/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-services/go-cose/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla-services/go-cose/deployments","created_at":"2018-02-13T22:57:31Z","updated_at":"2018-06-30T20:49:24Z","pushed_at":"2018-07-10T21:47:04Z","git_url":"git://github.com/mozilla-services/go-cose.git","ssh_url":"git@github.com:mozilla-services/go-cose.git","clone_url":"https://github.com/mozilla-services/go-cose.git","svn_url":"https://github.com/mozilla-services/go-cose","homepage":"","size":314,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":2,"open_issues":15,"watchers":4,"default_branch":"master"}},"base":{"label":"mozilla-services:master","ref":"master","sha":"0b427bca709835867e5565ac21b15d6cd6a7fefc","user":{"login":"mozilla-services","id":1066228,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjYyMjg=","avatar_url":"https://avatars1.githubusercontent.com/u/1066228?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"repo":{"id":121446603,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE0NDY2MDM=","name":"go-cose","full_name":"mozilla-services/go-cose","owner":{"login":"mozilla-services","id":1066228,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNjYyMjg=","avatar_url":"https://avatars1.githubusercontent.com/u/1066228?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-services/go-cose","description":"go library for CBOR Object Signing and Encryption (COSE)","fork":false,"url":"https://api.github.com/repos/mozilla-services/go-cose","forks_url":"https://api.github.com/repos/mozilla-services/go-cose/forks","keys_url":"https://api.github.com/repos/mozilla-services/go-cose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-services/go-cose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-services/go-cose/teams","hooks_url":"https://api.github.com/repos/mozilla-services/go-cose/hooks","issue_events_url":"https://api.github.com/repos/mozilla-services/go-cose/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-services/go-cose/events","assignees_url":"https://api.github.com/repos/mozilla-services/go-cose/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-services/go-cose/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-services/go-cose/tags","blobs_url":"https://api.github.com/repos/mozilla-services/go-cose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-services/go-cose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-services/go-cose/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-services/go-cose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-services/go-cose/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-services/go-cose/languages","stargazers_url":"https://api.github.com/repos/mozilla-services/go-cose/stargazers","contributors_url":"https://api.github.com/repos/mozilla-services/go-cose/contributors","subscribers_url":"https://api.github.com/repos/mozilla-services/go-cose/subscribers","subscription_url":"https://api.github.com/repos/mozilla-services/go-cose/subscription","commits_url":"https://api.github.com/repos/mozilla-services/go-cose/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-services/go-cose/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-services/go-cose/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-services/go-cose/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-services/go-cose/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-services/go-cose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-services/go-cose/merges","archive_url":"https://api.github.com/repos/mozilla-services/go-cose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-services/go-cose/downloads","issues_url":"https://api.github.com/repos/mozilla-services/go-cose/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-services/go-cose/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-services/go-cose/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-services/go-cose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-services/go-cose/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-services/go-cose/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla-services/go-cose/deployments","created_at":"2018-02-13T22:57:31Z","updated_at":"2018-06-30T20:49:24Z","pushed_at":"2018-07-10T21:47:04Z","git_url":"git://github.com/mozilla-services/go-cose.git","ssh_url":"git@github.com:mozilla-services/go-cose.git","clone_url":"https://github.com/mozilla-services/go-cose.git","svn_url":"https://github.com/mozilla-services/go-cose","homepage":"","size":314,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":2,"open_issues":15,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-services/go-cose/pulls/45"},"html":{"href":"https://github.com/mozilla-services/go-cose/pull/45"},"issue":{"href":"https://api.github.com/repos/mozilla-services/go-cose/issues/45"},"comments":{"href":"https://api.github.com/repos/mozilla-services/go-cose/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-services/go-cose/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-services/go-cose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-services/go-cose/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-services/go-cose/statuses/20d53269d6196f81bcaad475cdc0d59bd55f059d"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ajvb"}}