{"action":"created","comment":{"url":"https://api.github.com/repos/google/certificate-transparency/pulls/comments/85812954","pull_request_review_id":6439602,"id":85812954,"diff_hunk":"@@ -0,0 +1,682 @@\n+package tls\n+\n+import (\n+\t\"bytes\"\n+\t\"encoding/binary\"\n+\t\"fmt\"\n+\t\"reflect\"\n+\t\"strconv\"\n+\t\"strings\"\n+)\n+\n+// This file holds utility functions for TLS encoding/decoding data\n+// as per RFC 5246 section 4.\n+\n+// A StructuralError suggests that the TLS data is valid, but the Go type\n+// which is receiving it doesn't match.\n+type StructuralError struct {\n+\tMsg string\n+}\n+\n+func (e StructuralError) Error() string { return \"tls: structure error: \" + e.Msg }\n+\n+// A SyntaxError suggests that the TLS data is invalid.\n+type SyntaxError struct {\n+\tMsg string\n+}\n+\n+func (e SyntaxError) Error() string { return \"tls: syntax error: \" + e.Msg }\n+\n+// Uint24 is an unsigned 3-byte integer.\n+type Uint24 uint32\n+\n+// Enum is an unsigned integer.\n+type Enum uint64\n+\n+var (\n+\tuint8Type  = reflect.TypeOf(uint8(0))\n+\tuint16Type = reflect.TypeOf(uint16(0))\n+\tuint24Type = reflect.TypeOf(Uint24(0))\n+\tuint32Type = reflect.TypeOf(uint32(0))\n+\tuint64Type = reflect.TypeOf(uint64(0))\n+\tenumType   = reflect.TypeOf(Enum(0))\n+)\n+\n+// Unmarshal parses the TLS-encoded data in b and uses the reflect package to\n+// fill in an arbitrary value pointed at by val.  Because Unmarshal uses the\n+// reflect package, the structs being written to must use upper case field\n+// names.\n+//\n+// The mappings between TLS types and Go types is as follows; some fields\n+// must have tags (to indicate their encoded size).\n+//\n+//\tTLS\t\tGo\t\tRequired Tags\n+//\topaque\t\tbyte / uint8\n+//\tuint8\t\tbyte / uint8\n+//\tuint16\t\tuint16\n+//\tuint24\t\ttls.Uint24\n+//\tuint32\t\tuint32\n+//\tuint64\t\tuint64\n+//\tenum\t\ttls.Enum\tsize:S or maxval:N\n+//\tType<N,M>\t[]Type\t\tminlen:N,maxlen:M\n+//\topaque[N]\t[N]byte / [N]uint8\n+//\tuint8[N]\t[N]byte / [N]uint8\n+//\tstruct { }\tstruct { }\n+//\tselect(T) {\n+//\t case e1: Type\t*T\t\tselector:Field,val:e1\n+//\t}\n+//\n+// TLS variants (RFC 5246 s4.6.1) are only supported when the value of the\n+// associated enumeration type is available earlier in the same enclosing\n+// struct and is marked with the selector tag.\n+//\n+// For example, a TLS structure:\n+//\n+//   enum { e1(1), e2(2) } EnumType;\n+//   struct {\n+//      EnumType sel;\n+//      select(sel) {\n+//         case e1: uint16\n+//         case e2: uint32\n+//      } data;\n+//   } VariantItem;\n+//\n+// would have a corresponding Go type:\n+//\n+//   type VariantItem struct {\n+//      Sel    tls.Enum  `tls:\"maxval:2\"`\n+//      Data16 *uint16   `tls:\"selector:Sel,val:1\"`\n+//      Data32 *uint32   `tls:\"selector:Sel,val:2\"`\n+//    }\n+//\n+// TLS fixed-length vectors of types other than opaque or uint8 are not supported.\n+//\n+// For TLS variable-length vectors that are themselves used in other vectors,\n+// create a single-field structure to represent the inner type. For example, for\n+//\n+//   opaque InnerType<1..65535>;\n+//   struct {\n+//     InnerType inners<1,65535>;\n+//   } Something;\n+//\n+// convert to:\n+//\n+//   type InnerType struct {\n+//      Val    []byte       `tls:\"minlen:1,maxlen:65535\"`\n+//   }\n+//   type Something struct {\n+//      Inners []InnerType  `tls:\"minlen:1,maxlen:65535\"`\n+//   }\n+//\n+// If the encoded value does not fit in the Go type, Unmarshal returns a parse error.\n+func Unmarshal(b []byte, val interface{}) (rest []byte, err error) {\n+\treturn UnmarshalWithParams(b, val, \"\")\n+}\n+\n+// UnmarshalWithParams allows field parameters to be specified for the\n+// top-level element. The form of the params is the same as the field tags.\n+func UnmarshalWithParams(b []byte, val interface{}, params string) (rest []byte, err error) {\n+\tv := reflect.ValueOf(val).Elem()\n+\tinfo, err := fieldTagToFieldInfo(params, \"\")\n+\tif err != nil {\n+\t\treturn nil, err\n+\t}\n+\toffset, err := parseField(v, b, 0, info)\n+\tif err != nil {\n+\t\treturn nil, err\n+\t}\n+\treturn b[offset:], nil\n+}\n+\n+// Return the number of bytes needed to encode values up to (and including) x.\n+func byteCount(x uint64) uint {\n+\tswitch {\n+\tcase x < 0x100:\n+\t\treturn 1\n+\tcase x < 0x10000:\n+\t\treturn 2\n+\tcase x < 0x1000000:\n+\t\treturn 3\n+\tcase x < 0x100000000:\n+\t\treturn 4\n+\tcase x < 0x10000000000:\n+\t\treturn 5\n+\tcase x < 0x1000000000000:\n+\t\treturn 6\n+\tcase x < 0x100000000000000:\n+\t\treturn 7\n+\tdefault:\n+\t\treturn 8\n+\t}\n+}\n+\n+type fieldInfo struct {\n+\tcount    uint // Number of bytes\n+\tcountSet bool\n+\tminlen   uint64 // Only relevant for slices\n+\tmaxlen   uint64 // Only relevant for slices\n+\tselector string // Only relevant for select sub-values\n+\tval      uint64 // Only relevant for select sub-values\n+\tname     string // Used for better error messages\n+}\n+\n+// Given a tag string, return a fieldInfo describing the field.\n+func fieldTagToFieldInfo(str string, name string) (info *fieldInfo, err error) {\n+\tfor _, part := range strings.Split(str, \",\") {\n+\t\tswitch {\n+\t\tcase strings.HasPrefix(part, \"maxval:\"):\n+\t\t\tv, err := strconv.ParseUint(part[7:], 10, 64)\n+\t\t\tif err == nil {\n+\t\t\t\tinfo = &fieldInfo{count: byteCount(v), countSet: true}\n+\t\t\t}\n+\t\tcase strings.HasPrefix(part, \"size:\"):\n+\t\t\tsz, err := strconv.ParseUint(part[5:], 10, 32)\n+\t\t\tif err == nil {\n+\t\t\t\tinfo = &fieldInfo{count: uint(sz), countSet: true}\n+\t\t\t}\n+\t\tcase strings.HasPrefix(part, \"maxlen:\"):\n+\t\t\tv, err := strconv.ParseUint(part[7:], 10, 64)\n+\t\t\tif err != nil {\n+\t\t\t\tcontinue\n+\t\t\t}\n+\t\t\tif info == nil {\n+\t\t\t\tinfo = &fieldInfo{}\n+\t\t\t}\n+\t\t\tinfo.count = byteCount(v)\n+\t\t\tinfo.countSet = true\n+\t\t\tinfo.maxlen = v\n+\t\tcase strings.HasPrefix(part, \"minlen:\"):\n+\t\t\tv, err := strconv.ParseUint(part[7:], 10, 64)\n+\t\t\tif err != nil {\n+\t\t\t\tcontinue\n+\t\t\t}\n+\t\t\tif info == nil {\n+\t\t\t\tinfo = &fieldInfo{}\n+\t\t\t}\n+\t\t\tinfo.minlen = v\n+\t\tcase strings.HasPrefix(part, \"selector:\"):\n+\t\t\tif info == nil {\n+\t\t\t\tinfo = &fieldInfo{}\n+\t\t\t}\n+\t\t\tinfo.selector = part[9:]\n+\t\tcase strings.HasPrefix(part, \"val:\"):\n+\t\t\tv, err := strconv.ParseUint(part[4:], 10, 64)\n+\t\t\tif err != nil {\n+\t\t\t\tcontinue\n+\t\t\t}\n+\t\t\tif info == nil {\n+\t\t\t\tinfo = &fieldInfo{}\n+\t\t\t}\n+\t\t\tinfo.val = v\n+\t\t}\n+\t}\n+\tif info != nil {\n+\t\tinfo.name = name\n+\t\tif info.selector == \"\" {\n+\t\t\tvar prefix string\n+\t\t\tif info.name != \"\" {\n+\t\t\t\tprefix = name + \": \"\n+\t\t\t}\n+\t\t\tif info.count < 1 {\n+\t\t\t\terr = StructuralError{prefix + \"field of unknown size in \" + str}\n+\t\t\t} else if info.count > 8 {\n+\t\t\t\terr = StructuralError{prefix + \"specified size too large in \" + str}\n+\t\t\t} else if info.minlen > info.maxlen {\n+\t\t\t\terr = StructuralError{prefix + \"specified length range inverted in \" + str}\n+\t\t\t} else if info.val > 0 {\n+\t\t\t\terr = StructuralError{prefix + \"specified selector value but not field in \" + str}\n+\t\t\t}\n+\t\t}\n+\t} else if name != \"\" {\n+\t\tinfo = &fieldInfo{name: name}\n+\t}\n+\treturn\n+}\n+\n+// Check that a value fits.\n+func (size fieldInfo) check(val uint64, prefix string) error {\n+\tif val >= (1 << (8 * size.count)) {\n+\t\treturn StructuralError{fmt.Sprintf(\"%svalue %d too large for size\", prefix, val)}\n+\t}\n+\tif size.maxlen != 0 {\n+\t\tif val < size.minlen {\n+\t\t\treturn StructuralError{fmt.Sprintf(\"%svalue %d too small for minimum %d\", prefix, val, size.minlen)}\n+\t\t}\n+\t\tif val > size.maxlen {\n+\t\t\treturn StructuralError{fmt.Sprintf(\"%svalue %d too large for maximum %d\", prefix, val, size.maxlen)}\n+\t\t}\n+\t}\n+\treturn nil\n+}\n+\n+// readVaruint reads an unsigned big-endian integer of the given size in\n+// bytes.\n+func readVaruint(data []byte, info *fieldInfo) (result uint64, err error) {\n+\tvar prefix string\n+\tif info != nil && len(info.name) > 0 {\n+\t\tprefix = info.name + \": \"\n+\t}\n+\tif info == nil || !info.countSet {\n+\t\treturn 0, StructuralError{prefix + \"no field size information available\"}\n+\t}\n+\tif len(data) < int(info.count) {\n+\t\treturn 0, SyntaxError{prefix + \"truncated variable-length integer\"}\n+\t}\n+\tfor i := uint(0); i < info.count; i++ {","path":"go/tls/tls.go","position":265,"original_position":265,"commit_id":"e947733305c67115866b04484341292ed98324df","original_commit_id":"b6527cd5fafcf6ac53c2de0b4d7d361fe594684e","user":{"login":"taknira","id":5446167,"avatar_url":"https://avatars.githubusercontent.com/u/5446167?v=3","gravatar_id":"","url":"https://api.github.com/users/taknira","html_url":"https://github.com/taknira","followers_url":"https://api.github.com/users/taknira/followers","following_url":"https://api.github.com/users/taknira/following{/other_user}","gists_url":"https://api.github.com/users/taknira/gists{/gist_id}","starred_url":"https://api.github.com/users/taknira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taknira/subscriptions","organizations_url":"https://api.github.com/users/taknira/orgs","repos_url":"https://api.github.com/users/taknira/repos","events_url":"https://api.github.com/users/taknira/events{/privacy}","received_events_url":"https://api.github.com/users/taknira/received_events","type":"User","site_admin":false},"body":"Why do you need to cast i to uint here?","created_at":"2016-10-31T19:20:21Z","updated_at":"2016-10-31T19:39:09Z","html_url":"https://github.com/google/certificate-transparency/pull/1325#discussion_r85812954","pull_request_url":"https://api.github.com/repos/google/certificate-transparency/pulls/1325","_links":{"self":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/comments/85812954"},"html":{"href":"https://github.com/google/certificate-transparency/pull/1325#discussion_r85812954"},"pull_request":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/1325"}}},"pull_request":{"url":"https://api.github.com/repos/google/certificate-transparency/pulls/1325","id":91609407,"html_url":"https://github.com/google/certificate-transparency/pull/1325","diff_url":"https://github.com/google/certificate-transparency/pull/1325.diff","patch_url":"https://github.com/google/certificate-transparency/pull/1325.patch","issue_url":"https://api.github.com/repos/google/certificate-transparency/issues/1325","number":1325,"state":"open","locked":false,"title":"[RFC] Extract common code in preparation for RFC6962-bis","user":{"login":"daviddrysdale","id":457208,"avatar_url":"https://avatars.githubusercontent.com/u/457208?v=3","gravatar_id":"","url":"https://api.github.com/users/daviddrysdale","html_url":"https://github.com/daviddrysdale","followers_url":"https://api.github.com/users/daviddrysdale/followers","following_url":"https://api.github.com/users/daviddrysdale/following{/other_user}","gists_url":"https://api.github.com/users/daviddrysdale/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddrysdale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddrysdale/subscriptions","organizations_url":"https://api.github.com/users/daviddrysdale/orgs","repos_url":"https://api.github.com/users/daviddrysdale/repos","events_url":"https://api.github.com/users/daviddrysdale/events{/privacy}","received_events_url":"https://api.github.com/users/daviddrysdale/received_events","type":"User","site_admin":false},"body":"Summary:\r\n - create a general TLS encoding/decoding library, analogous to `asn1/`\r\n - copy/move signature code into it\r\n - extract common parts of the `LogClient` into `JSONClient` (and tweak slightly) to allow re-use\r\n - convert existing v1 client code to use the extracted/generalized versions.\r\n\r\nOpinions sought on whether I should do less or more commonization:\r\n - I could commonize less; for example, I could leave the existing `client/` with its own version of `DigitallySigned` by just omitting commit\t 5e8bfae (the current change has knock-on compilation failures for anything that uses `ct.DigitallySigned`, e.g. Trillian).\r\n - I could commonize more, and work through all of the v1 `client` code to replace the hand-rolled TLS-encoding code with use of the `tls/` library. \r\n","created_at":"2016-10-31T13:34:09Z","updated_at":"2016-10-31T19:39:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8f56ae1d0a323f3a7bd36981a239cfdf0d53c57","assignee":{"login":"taknira","id":5446167,"avatar_url":"https://avatars.githubusercontent.com/u/5446167?v=3","gravatar_id":"","url":"https://api.github.com/users/taknira","html_url":"https://github.com/taknira","followers_url":"https://api.github.com/users/taknira/followers","following_url":"https://api.github.com/users/taknira/following{/other_user}","gists_url":"https://api.github.com/users/taknira/gists{/gist_id}","starred_url":"https://api.github.com/users/taknira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taknira/subscriptions","organizations_url":"https://api.github.com/users/taknira/orgs","repos_url":"https://api.github.com/users/taknira/repos","events_url":"https://api.github.com/users/taknira/events{/privacy}","received_events_url":"https://api.github.com/users/taknira/received_events","type":"User","site_admin":false},"assignees":[{"login":"taknira","id":5446167,"avatar_url":"https://avatars.githubusercontent.com/u/5446167?v=3","gravatar_id":"","url":"https://api.github.com/users/taknira","html_url":"https://github.com/taknira","followers_url":"https://api.github.com/users/taknira/followers","following_url":"https://api.github.com/users/taknira/following{/other_user}","gists_url":"https://api.github.com/users/taknira/gists{/gist_id}","starred_url":"https://api.github.com/users/taknira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taknira/subscriptions","organizations_url":"https://api.github.com/users/taknira/orgs","repos_url":"https://api.github.com/users/taknira/repos","events_url":"https://api.github.com/users/taknira/events{/privacy}","received_events_url":"https://api.github.com/users/taknira/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/google/certificate-transparency/pulls/1325/commits","review_comments_url":"https://api.github.com/repos/google/certificate-transparency/pulls/1325/comments","review_comment_url":"https://api.github.com/repos/google/certificate-transparency/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/certificate-transparency/issues/1325/comments","statuses_url":"https://api.github.com/repos/google/certificate-transparency/statuses/e947733305c67115866b04484341292ed98324df","head":{"label":"daviddrysdale:for-review","ref":"for-review","sha":"e947733305c67115866b04484341292ed98324df","user":{"login":"daviddrysdale","id":457208,"avatar_url":"https://avatars.githubusercontent.com/u/457208?v=3","gravatar_id":"","url":"https://api.github.com/users/daviddrysdale","html_url":"https://github.com/daviddrysdale","followers_url":"https://api.github.com/users/daviddrysdale/followers","following_url":"https://api.github.com/users/daviddrysdale/following{/other_user}","gists_url":"https://api.github.com/users/daviddrysdale/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddrysdale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddrysdale/subscriptions","organizations_url":"https://api.github.com/users/daviddrysdale/orgs","repos_url":"https://api.github.com/users/daviddrysdale/repos","events_url":"https://api.github.com/users/daviddrysdale/events{/privacy}","received_events_url":"https://api.github.com/users/daviddrysdale/received_events","type":"User","site_admin":false},"repo":{"id":59221416,"name":"certificate-transparency","full_name":"daviddrysdale/certificate-transparency","owner":{"login":"daviddrysdale","id":457208,"avatar_url":"https://avatars.githubusercontent.com/u/457208?v=3","gravatar_id":"","url":"https://api.github.com/users/daviddrysdale","html_url":"https://github.com/daviddrysdale","followers_url":"https://api.github.com/users/daviddrysdale/followers","following_url":"https://api.github.com/users/daviddrysdale/following{/other_user}","gists_url":"https://api.github.com/users/daviddrysdale/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddrysdale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddrysdale/subscriptions","organizations_url":"https://api.github.com/users/daviddrysdale/orgs","repos_url":"https://api.github.com/users/daviddrysdale/repos","events_url":"https://api.github.com/users/daviddrysdale/events{/privacy}","received_events_url":"https://api.github.com/users/daviddrysdale/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daviddrysdale/certificate-transparency","description":"Auditing for TLS certificates.","fork":true,"url":"https://api.github.com/repos/daviddrysdale/certificate-transparency","forks_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/forks","keys_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/teams","hooks_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/hooks","issue_events_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/issues/events{/number}","events_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/events","assignees_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/assignees{/user}","branches_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/branches{/branch}","tags_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/tags","blobs_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/git/refs{/sha}","trees_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/statuses/{sha}","languages_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/languages","stargazers_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/stargazers","contributors_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/contributors","subscribers_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/subscribers","subscription_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/subscription","commits_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/commits{/sha}","git_commits_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/git/commits{/sha}","comments_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/comments{/number}","issue_comment_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/issues/comments{/number}","contents_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/contents/{+path}","compare_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/merges","archive_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/downloads","issues_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/issues{/number}","pulls_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/pulls{/number}","milestones_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/milestones{/number}","notifications_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/labels{/name}","releases_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/releases{/id}","deployments_url":"https://api.github.com/repos/daviddrysdale/certificate-transparency/deployments","created_at":"2016-05-19T15:57:02Z","updated_at":"2016-05-19T15:57:04Z","pushed_at":"2016-10-31T18:54:52Z","git_url":"git://github.com/daviddrysdale/certificate-transparency.git","ssh_url":"git@github.com:daviddrysdale/certificate-transparency.git","clone_url":"https://github.com/daviddrysdale/certificate-transparency.git","svn_url":"https://github.com/daviddrysdale/certificate-transparency","homepage":"http://www.certificate-transparency.org/","size":27422,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"google:master","ref":"master","sha":"bc5b2ec20f9b00f1b2429bb59fe104dc386b8675","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":19989605,"name":"certificate-transparency","full_name":"google/certificate-transparency","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/certificate-transparency","description":"Auditing for TLS certificates.","fork":false,"url":"https://api.github.com/repos/google/certificate-transparency","forks_url":"https://api.github.com/repos/google/certificate-transparency/forks","keys_url":"https://api.github.com/repos/google/certificate-transparency/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/certificate-transparency/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/certificate-transparency/teams","hooks_url":"https://api.github.com/repos/google/certificate-transparency/hooks","issue_events_url":"https://api.github.com/repos/google/certificate-transparency/issues/events{/number}","events_url":"https://api.github.com/repos/google/certificate-transparency/events","assignees_url":"https://api.github.com/repos/google/certificate-transparency/assignees{/user}","branches_url":"https://api.github.com/repos/google/certificate-transparency/branches{/branch}","tags_url":"https://api.github.com/repos/google/certificate-transparency/tags","blobs_url":"https://api.github.com/repos/google/certificate-transparency/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/certificate-transparency/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/certificate-transparency/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/certificate-transparency/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/certificate-transparency/statuses/{sha}","languages_url":"https://api.github.com/repos/google/certificate-transparency/languages","stargazers_url":"https://api.github.com/repos/google/certificate-transparency/stargazers","contributors_url":"https://api.github.com/repos/google/certificate-transparency/contributors","subscribers_url":"https://api.github.com/repos/google/certificate-transparency/subscribers","subscription_url":"https://api.github.com/repos/google/certificate-transparency/subscription","commits_url":"https://api.github.com/repos/google/certificate-transparency/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/certificate-transparency/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/certificate-transparency/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/certificate-transparency/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/certificate-transparency/contents/{+path}","compare_url":"https://api.github.com/repos/google/certificate-transparency/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/certificate-transparency/merges","archive_url":"https://api.github.com/repos/google/certificate-transparency/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/certificate-transparency/downloads","issues_url":"https://api.github.com/repos/google/certificate-transparency/issues{/number}","pulls_url":"https://api.github.com/repos/google/certificate-transparency/pulls{/number}","milestones_url":"https://api.github.com/repos/google/certificate-transparency/milestones{/number}","notifications_url":"https://api.github.com/repos/google/certificate-transparency/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/certificate-transparency/labels{/name}","releases_url":"https://api.github.com/repos/google/certificate-transparency/releases{/id}","deployments_url":"https://api.github.com/repos/google/certificate-transparency/deployments","created_at":"2014-05-20T17:03:47Z","updated_at":"2016-10-26T01:11:58Z","pushed_at":"2016-10-31T18:54:53Z","git_url":"git://github.com/google/certificate-transparency.git","ssh_url":"git@github.com:google/certificate-transparency.git","clone_url":"https://github.com/google/certificate-transparency.git","svn_url":"https://github.com/google/certificate-transparency","homepage":"http://www.certificate-transparency.org/","size":29644,"stargazers_count":306,"watchers_count":306,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":117,"mirror_url":null,"open_issues_count":95,"forks":117,"open_issues":95,"watchers":306,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/1325"},"html":{"href":"https://github.com/google/certificate-transparency/pull/1325"},"issue":{"href":"https://api.github.com/repos/google/certificate-transparency/issues/1325"},"comments":{"href":"https://api.github.com/repos/google/certificate-transparency/issues/1325/comments"},"review_comments":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/1325/comments"},"review_comment":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/certificate-transparency/pulls/1325/commits"},"statuses":{"href":"https://api.github.com/repos/google/certificate-transparency/statuses/e947733305c67115866b04484341292ed98324df"}}}}
{"actor":{"display_login":"taknira"}}