{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/16166","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/16166/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/16166/comments","events_url":"https://api.github.com/repos/golang/go/issues/16166/events","html_url":"https://github.com/golang/go/issues/16166","id":161925016,"number":16166,"title":"crypto/x509: ParsePKIXPublicKey parses invalid RSA public keys without errors","user":{"login":"szank","id":773802,"avatar_url":"https://avatars.githubusercontent.com/u/773802?v=3","gravatar_id":"","url":"https://api.github.com/users/szank","html_url":"https://github.com/szank","followers_url":"https://api.github.com/users/szank/followers","following_url":"https://api.github.com/users/szank/following{/other_user}","gists_url":"https://api.github.com/users/szank/gists{/gist_id}","starred_url":"https://api.github.com/users/szank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szank/subscriptions","organizations_url":"https://api.github.com/users/szank/orgs","repos_url":"https://api.github.com/users/szank/repos","events_url":"https://api.github.com/users/szank/events{/privacy}","received_events_url":"https://api.github.com/users/szank/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"agl","id":21203,"avatar_url":"https://avatars.githubusercontent.com/u/21203?v=3","gravatar_id":"","url":"https://api.github.com/users/agl","html_url":"https://github.com/agl","followers_url":"https://api.github.com/users/agl/followers","following_url":"https://api.github.com/users/agl/following{/other_user}","gists_url":"https://api.github.com/users/agl/gists{/gist_id}","starred_url":"https://api.github.com/users/agl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agl/subscriptions","organizations_url":"https://api.github.com/users/agl/orgs","repos_url":"https://api.github.com/users/agl/repos","events_url":"https://api.github.com/users/agl/events{/privacy}","received_events_url":"https://api.github.com/users/agl/received_events","type":"User","site_admin":false},"assignees":[{"login":"agl","id":21203,"avatar_url":"https://avatars.githubusercontent.com/u/21203?v=3","gravatar_id":"","url":"https://api.github.com/users/agl","html_url":"https://github.com/agl","followers_url":"https://api.github.com/users/agl/followers","following_url":"https://api.github.com/users/agl/following{/other_user}","gists_url":"https://api.github.com/users/agl/gists{/gist_id}","starred_url":"https://api.github.com/users/agl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agl/subscriptions","organizations_url":"https://api.github.com/users/agl/orgs","repos_url":"https://api.github.com/users/agl/repos","events_url":"https://api.github.com/users/agl/events{/privacy}","received_events_url":"https://api.github.com/users/agl/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/38","html_url":"https://github.com/golang/go/milestones/Go1.8","labels_url":"https://api.github.com/repos/golang/go/milestones/38/labels","id":1709363,"number":38,"title":"Go1.8","description":"","creator":{"login":"griesemer","id":8528975,"avatar_url":"https://avatars.githubusercontent.com/u/8528975?v=3","gravatar_id":"","url":"https://api.github.com/users/griesemer","html_url":"https://github.com/griesemer","followers_url":"https://api.github.com/users/griesemer/followers","following_url":"https://api.github.com/users/griesemer/following{/other_user}","gists_url":"https://api.github.com/users/griesemer/gists{/gist_id}","starred_url":"https://api.github.com/users/griesemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griesemer/subscriptions","organizations_url":"https://api.github.com/users/griesemer/orgs","repos_url":"https://api.github.com/users/griesemer/repos","events_url":"https://api.github.com/users/griesemer/events{/privacy}","received_events_url":"https://api.github.com/users/griesemer/received_events","type":"User","site_admin":false},"open_issues":476,"closed_issues":76,"state":"open","created_at":"2016-04-15T16:30:23Z","updated_at":"2016-08-17T23:48:31Z","due_on":"2017-02-01T08:00:00Z","closed_at":null},"comments":2,"created_at":"2016-06-23T13:38:22Z","updated_at":"2016-08-17T23:48:31Z","closed_at":"2016-08-17T23:48:31Z","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n1. What version of Go are you using (`go version`)?\r\n`go version go1.6.2 darwin/amd64`\r\n\r\n2. What operating system and processor architecture are you using (`go env`)?\r\n```\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOOS=\"darwin\"\r\nGOPATH=\"/Users/mgalkowski/work/go\"\r\nGORACE=\"\"\r\nGOROOT=\"/usr/local/Cellar/go/1.6.2/libexec\"\r\nGOTOOLDIR=\"/usr/local/Cellar/go/1.6.2/libexec/pkg/tool/darwin_amd64\"\r\nGO15VENDOREXPERIMENT=\"1\"\r\nCC=\"clang\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common\"\r\nCXX=\"clang++\"\r\nCGO_ENABLED=\"1\"\r\n```\r\n\r\n\r\n3. What did you do?\r\nIf possible, provide a recipe for reproducing the error.\r\nA complete runnable program is good.\r\nA link on play.golang.org is best.\r\nhttps://play.golang.org/p/qMQ1aqX5Ox\r\n\r\n4. What did you expect to see?\r\nLast line should say: \r\n`Error parsing incorrect RSA public key`\r\n\r\n5. What did you see instead?\r\n`INCORRECT public key have been parsed`\r\n\r\nAccording to \r\nRFC3279 https://tools.ietf.org/html/rfc3279#section-2.3.1 : \r\n```\r\nThe rsaEncryption OID is intended to be used in the algorithm field\r\nof a value of type AlgorithmIdentifier.  The parameters field MUST\r\nhave ASN.1 type NULL for this algorithm identifier.\r\n```\r\nCould you please fix it ?\r\n"}}
{"actor":{"display_login":"gopherbot"}}