{"action":"closed","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/4742","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/4742/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/4742/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/4742/events","html_url":"https://github.com/fastlane/fastlane/issues/4742","id":155806189,"number":4742,"title":".pem files generated using Pem tool do not have Bag Attributes metadata","user":{"login":"BigSauce","id":1718470,"avatar_url":"https://avatars.githubusercontent.com/u/1718470?v=3","gravatar_id":"","url":"https://api.github.com/users/BigSauce","html_url":"https://github.com/BigSauce","followers_url":"https://api.github.com/users/BigSauce/followers","following_url":"https://api.github.com/users/BigSauce/following{/other_user}","gists_url":"https://api.github.com/users/BigSauce/gists{/gist_id}","starred_url":"https://api.github.com/users/BigSauce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigSauce/subscriptions","organizations_url":"https://api.github.com/users/BigSauce/orgs","repos_url":"https://api.github.com/users/BigSauce/repos","events_url":"https://api.github.com/users/BigSauce/events{/privacy}","received_events_url":"https://api.github.com/users/BigSauce/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/pem","name":"pem","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"vpolouchkine","id":915660,"avatar_url":"https://avatars.githubusercontent.com/u/915660?v=3","gravatar_id":"","url":"https://api.github.com/users/vpolouchkine","html_url":"https://github.com/vpolouchkine","followers_url":"https://api.github.com/users/vpolouchkine/followers","following_url":"https://api.github.com/users/vpolouchkine/following{/other_user}","gists_url":"https://api.github.com/users/vpolouchkine/gists{/gist_id}","starred_url":"https://api.github.com/users/vpolouchkine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpolouchkine/subscriptions","organizations_url":"https://api.github.com/users/vpolouchkine/orgs","repos_url":"https://api.github.com/users/vpolouchkine/repos","events_url":"https://api.github.com/users/vpolouchkine/events{/privacy}","received_events_url":"https://api.github.com/users/vpolouchkine/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-05-19T18:40:09Z","updated_at":"2016-05-24T16:12:13Z","closed_at":"2016-05-24T16:12:13Z","body":"I noticed that pem files generated using Fastlane's `pem` tool do not have the \"Bag Attributes\" metadata listed at the top of the pem file.\r\n\r\nAre the bag attributes important to have in the pem file?  Is it a big deal that I might use a pem file for production push notifications without those bag attributes?\r\n\r\nHere is an example of what is generated using the accepted answer for [this stack overflow post](http://stackoverflow.com/questions/21250510/generate-pem-file-used-to-setup-apple-push-notification):\r\n\r\n> Bag Attributes\r\n    friendlyName: Apple Push Services: com.organization.appName\r\n    localKeyID: XX XX XX XX yada yada \r\nsubject=/UID=com.organization.appName/CN=Apple Push Services: com.organization.appName/OU=teamID/O=Organization Name, LLC/C=US\r\nissuer=/C=US/O=Apple Inc./OU=Apple Worldwide Developer Relations/CN=Apple Worldwide Developer Relations Certification Authority\r\n-----BEGIN CERTIFICATE-----\r\n\r\nHowever, when I use the `pem` tool, the pem file begins with\r\n\r\n> -----BEGIN CERTIFICATE-----\r\n\r\nSo my main two questions are:\r\n\r\n1. Are the bag attributes important to have contained within the pem file used for production push notifications?\r\n2. how might I specify to the `pem` tool that I want the bag attributes to be included in the generated pem file?"}}
{"actor":{"display_login":"vpolouchkine"}}