{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/24973","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/24973/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/24973/comments","events_url":"https://api.github.com/repos/golang/go/issues/24973/events","html_url":"https://github.com/golang/go/issues/24973","id":316319581,"number":24973,"title":"x/crypto: cryptobyte: encode int64 with context-specific tags","user":{"login":"mirtchovski","id":2047078,"avatar_url":"https://avatars2.githubusercontent.com/u/2047078?v=4","gravatar_id":"","url":"https://api.github.com/users/mirtchovski","html_url":"https://github.com/mirtchovski","followers_url":"https://api.github.com/users/mirtchovski/followers","following_url":"https://api.github.com/users/mirtchovski/following{/other_user}","gists_url":"https://api.github.com/users/mirtchovski/gists{/gist_id}","starred_url":"https://api.github.com/users/mirtchovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirtchovski/subscriptions","organizations_url":"https://api.github.com/users/mirtchovski/orgs","repos_url":"https://api.github.com/users/mirtchovski/repos","events_url":"https://api.github.com/users/mirtchovski/events{/privacy}","received_events_url":"https://api.github.com/users/mirtchovski/received_events","type":"User","site_admin":false},"labels":[{"id":236419512,"url":"https://api.github.com/repos/golang/go/labels/Proposal","name":"Proposal","color":"ededed","default":false},{"id":874035922,"url":"https://api.github.com/repos/golang/go/labels/Proposal-Crypto","name":"Proposal-Crypto","color":"890b3b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/22","html_url":"https://github.com/golang/go/milestone/22","labels_url":"https://api.github.com/repos/golang/go/milestones/22/labels","id":1067491,"number":22,"title":"Unreleased","description":"Issues that do not affect released Go code and binaries.\r\n","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars1.githubusercontent.com/u/104030?v=4","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":824,"closed_issues":1369,"state":"open","created_at":"2015-04-14T18:48:22Z","updated_at":"2018-04-20T15:47:56Z","due_on":"2099-12-31T08:00:00Z","closed_at":null},"comments":4,"created_at":"2018-04-20T15:47:53Z","updated_at":"2018-04-20T17:11:48Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"We frequently have to deal with asn.1 formatted with context-specific\r\ntags even for things like integers, for example:\r\n\r\nhttp://lapo.it/asn1js/#A0108004010203048102050682040708090A\r\n\r\nTo do that efficiently with cryptobyte I've added two additional\r\nfunctions to marshal such values to and from int64:\r\n\r\nfunc (b *Builder) AddInt64(tag asn1.Tag, v int64)\r\nfunc (s *String) ReadASN1Int64(out *int64, tag asn1.Tag) bool\r\n\r\nI assume versions for uint64 will also be required.\r\n\r\nDoes it make sense to add those to the cryptobyte API or is there a workaround?"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/383162156","html_url":"https://github.com/golang/go/issues/24973#issuecomment-383162156","issue_url":"https://api.github.com/repos/golang/go/issues/24973","id":383162156,"user":{"login":"gopherbot","id":8566911,"avatar_url":"https://avatars1.githubusercontent.com/u/8566911?v=4","gravatar_id":"","url":"https://api.github.com/users/gopherbot","html_url":"https://github.com/gopherbot","followers_url":"https://api.github.com/users/gopherbot/followers","following_url":"https://api.github.com/users/gopherbot/following{/other_user}","gists_url":"https://api.github.com/users/gopherbot/gists{/gist_id}","starred_url":"https://api.github.com/users/gopherbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopherbot/subscriptions","organizations_url":"https://api.github.com/users/gopherbot/orgs","repos_url":"https://api.github.com/users/gopherbot/repos","events_url":"https://api.github.com/users/gopherbot/events{/privacy}","received_events_url":"https://api.github.com/users/gopherbot/received_events","type":"User","site_admin":false},"created_at":"2018-04-20T17:11:48Z","updated_at":"2018-04-20T17:11:48Z","author_association":"NONE","body":"Change https://golang.org/cl/108456 mentions this issue: `x/crypto: cryptobyte: manage integers with implicit tags`"}}
{"actor":{"display_login":"gopherbot"}}