{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/puppet/issues/4905","repository_url":"https://api.github.com/repos/puppetlabs/puppet","labels_url":"https://api.github.com/repos/puppetlabs/puppet/issues/4905/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/issues/4905/comments","events_url":"https://api.github.com/repos/puppetlabs/puppet/issues/4905/events","html_url":"https://github.com/puppetlabs/puppet/pull/4905","id":150292716,"number":4905,"title":"(PUP-4617) Display human readable cert extensions","user":{"login":"joshcooper","id":737664,"avatar_url":"https://avatars.githubusercontent.com/u/737664?v=3","gravatar_id":"","url":"https://api.github.com/users/joshcooper","html_url":"https://github.com/joshcooper","followers_url":"https://api.github.com/users/joshcooper/followers","following_url":"https://api.github.com/users/joshcooper/following{/other_user}","gists_url":"https://api.github.com/users/joshcooper/gists{/gist_id}","starred_url":"https://api.github.com/users/joshcooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshcooper/subscriptions","organizations_url":"https://api.github.com/users/joshcooper/orgs","repos_url":"https://api.github.com/users/joshcooper/repos","events_url":"https://api.github.com/users/joshcooper/events{/privacy}","received_events_url":"https://api.github.com/users/joshcooper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-22T07:28:36Z","updated_at":"2016-04-22T11:00:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/4905","html_url":"https://github.com/puppetlabs/puppet/pull/4905","diff_url":"https://github.com/puppetlabs/puppet/pull/4905.diff","patch_url":"https://github.com/puppetlabs/puppet/pull/4905.patch"},"body":"Previously, `puppet cert print` would always show the OID for\r\ncustom X509v3 cert extensions:\r\n\r\n    X509v3 extensions:\r\n        1.3.6.1.4.1.34380.1.2.1.1:\r\n            ..somedata\r\n\r\nWith this commit, if a `trusted_oid_mapping_file` is specified mapping\r\nOIDs to their short and long human readable names, then the long name\r\nwill be displayed, similarly to what is displayed for puppet OIDs like\r\n\"Puppet Node UUID\" and other well-known OIDs:\r\n\r\n    $ puppet cert print <hostname> --trusted_oid_mapping_file oids.yaml\r\n    ...\r\n    X509v3 extensions:\r\n        Netscape Comment:\r\n            Puppet Ruby/OpenSSL Internal Certificate\r\n        X509v3 Subject Key Identifier:\r\n            47:BC:D5:14:33:F2:ED:85:B9:52:FD:A2:EA:E4:CC:00:7F:7F:19:7E\r\n        Puppet Node UUID:\r\n            ED803750-E3C7-44F5-BB08-41A04433FE2E\r\n        My Long Name:\r\n            ..somedata\r\n\r\nIf the trusted_oid_mapping_file doesn't exist (the default), then there\r\nis no change in behavior."},"comment":{"url":"https://api.github.com/repos/puppetlabs/puppet/issues/comments/213379331","html_url":"https://github.com/puppetlabs/puppet/pull/4905#issuecomment-213379331","issue_url":"https://api.github.com/repos/puppetlabs/puppet/issues/4905","id":213379331,"user":{"login":"puppetcla","id":3835957,"avatar_url":"https://avatars.githubusercontent.com/u/3835957?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetcla","html_url":"https://github.com/puppetcla","followers_url":"https://api.github.com/users/puppetcla/followers","following_url":"https://api.github.com/users/puppetcla/following{/other_user}","gists_url":"https://api.github.com/users/puppetcla/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetcla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetcla/subscriptions","organizations_url":"https://api.github.com/users/puppetcla/orgs","repos_url":"https://api.github.com/users/puppetcla/repos","events_url":"https://api.github.com/users/puppetcla/events{/privacy}","received_events_url":"https://api.github.com/users/puppetcla/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T11:00:15Z","updated_at":"2016-04-22T11:00:15Z","body":"CLA signed by all contributors."}}