{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/7050","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/7050/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/7050/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/7050/events","html_url":"https://github.com/fastlane/fastlane/issues/7050","id":189994026,"number":7050,"title":"Pem: Add option to download push certificate if it exists","user":{"login":"revolter","id":5748627,"avatar_url":"https://avatars.githubusercontent.com/u/5748627?v=3","gravatar_id":"","url":"https://api.github.com/users/revolter","html_url":"https://github.com/revolter","followers_url":"https://api.github.com/users/revolter/followers","following_url":"https://api.github.com/users/revolter/following{/other_user}","gists_url":"https://api.github.com/users/revolter/gists{/gist_id}","starred_url":"https://api.github.com/users/revolter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revolter/subscriptions","organizations_url":"https://api.github.com/users/revolter/orgs","repos_url":"https://api.github.com/users/revolter/repos","events_url":"https://api.github.com/users/revolter/events{/privacy}","received_events_url":"https://api.github.com/users/revolter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-17T09:48:05Z","updated_at":"2016-11-17T12:51:17Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\nTrying to create an already existing push certificate throws there warnings:\r\n\r\n> [11:11:32]: You already have a push certificate, which is active for more than 30 more days. No need to create a new one\r\n> [11:11:32]: If you still want to create a new one, use the --force option when running PEM.\r\n\r\nIt would be great if there was an option that would let you only download it, if it exists. So something like:\r\n\r\n> [11:11:32]: If you only want to download it, use the --download option when running PEM.\r\n\r\n### Environment\r\n\r\nPlease run `fastlane env` and copy the output below. This will help us help you :+1:\r\nIf you used `--capture_output` option please remove this block - as it is already included there.\r\n\r\n<details><summary>✅ fastlane environment ✅</summary>\r\n\r\n### Stack\r\n\r\n| Key                 | Value                                        |\r\n| ------------------- | -------------------------------------------- |\r\n| OS                  | 10.11.6                                      |\r\n| Ruby                | 2.0.0                                        |\r\n| Bundler?            | true                                         |\r\n| Git                 | git version 2.9.3 (Apple Git-75)             |\r\n| Installation Source | /Users/Iulian/.gems/bin/fastlane             |\r\n| Host                | Mac OS X 10.11.6 (15G1004)                   |\r\n| Ruby Lib Dir        | /Users/Iulian/.rbenv/versions/2.0.0-p353/lib |\r\n| OpenSSL Version     | OpenSSL 1.0.2e 3 Dec 2015                    |\r\n| Is contained        | false                                        |\r\n| Xcode Path          | /Applications/Xcode.app/Contents/Developer/  |\r\n| Xcode Version       | 8.1                                          |\r\n\r\n\r\n### System Locale\r\n\r\n| Variable | Value       |   |\r\n| -------- | ----------- | - |\r\n| LANG     |             |   |\r\n| LC_ALL   | en_US.UTF-8 | ✅ |\r\n| LANGUAGE |             |   |\r\n\r\n### fastlane gems\r\n\r\n| Gem                 | Version | Update-Status |\r\n| ------------------- | ------- | ------------- |\r\n| credentials_manager | 0.16.2  | ✅ Up-To-Date  |\r\n| fastlane_core       | 0.56.0  | ✅ Up-To-Date  |\r\n| spaceship           | 0.37.0  | ✅ Up-To-Date  |\r\n| cert                | 1.4.4   | ✅ Up-To-Date  |\r\n| deliver             | 1.15.0  | ✅ Up-To-Date  |\r\n| frameit             | 3.0.0   | ✅ Up-To-Date  |\r\n| gym                 | 1.12.0  | ✅ Up-To-Date  |\r\n| sigh                | 1.11.2  | ✅ Up-To-Date  |\r\n| match               | 0.11.0  | ✅ Up-To-Date  |\r\n| pem                 | 1.4.0   | ✅ Up-To-Date  |\r\n| pilot               | 1.12.0  | ✅ Up-To-Date  |\r\n| produce             | 1.3.0   | ✅ Up-To-Date  |\r\n| scan                | 0.14.1  | ✅ Up-To-Date  |\r\n| screengrab          | 0.5.6   | ✅ Up-To-Date  |\r\n| snapshot            | 1.16.3  | ✅ Up-To-Date  |\r\n| supply              | 0.7.1   | ✅ Up-To-Date  |\r\n| fastlane            | 1.109.0 | ✅ Up-To-Date  |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n**No plugins Loaded**\r\n\r\n\r\n<details><summary><b>Loaded gems</b></summary>\r\n\r\n| Gem                       | Version      |\r\n| ------------------------- | ------------ |\r\n| bundler                   | 1.13.6       |\r\n| CFPropertyList            | 2.3.3        |\r\n| i18n                      | 0.7.0        |\r\n| json                      | 1.8.3        |\r\n| minitest                  | 5.9.1        |\r\n| thread_safe               | 0.3.5        |\r\n| tzinfo                    | 1.2.2        |\r\n| activesupport             | 4.2.7.1      |\r\n| public_suffix             | 2.0.4        |\r\n| addressable               | 2.5.0        |\r\n| babosa                    | 1.0.2        |\r\n| colored                   | 1.2          |\r\n| highline                  | 1.7.8        |\r\n| commander                 | 4.4.0        |\r\n| security                  | 0.1.3        |\r\n| credentials_manager       | 0.16.2       |\r\n| excon                     | 0.54.0       |\r\n| gh_inspector              | 1.0.2        |\r\n| multi_json                | 1.12.1       |\r\n| plist                     | 3.2.0        |\r\n| rubyzip                   | 1.1.7        |\r\n| terminal-table            | 1.4.5        |\r\n| fastlane_core             | 0.56.0       |\r\n| multipart-post            | 2.0.0        |\r\n| faraday                   | 0.10.0       |\r\n| unf_ext                   | 0.0.7.2      |\r\n| unf                       | 0.1.4        |\r\n| domain_name               | 0.5.20161021 |\r\n| http-cookie               | 1.0.3        |\r\n| faraday-cookie_jar        | 0.0.6        |\r\n| faraday_middleware        | 0.10.1       |\r\n| fastimage                 | 1.6.8        |\r\n| multi_xml                 | 0.5.5        |\r\n| claide                    | 1.0.1        |\r\n| dotenv                    | 2.1.1        |\r\n| mini_magick               | 4.5.1        |\r\n| rouge                     | 1.11.1       |\r\n| xcpretty                  | 0.2.4        |\r\n| net-ssh                   | 3.2.0        |\r\n| net-sftp                  | 2.1.2        |\r\n| krausefx-shenzhen         | 0.14.11      |\r\n| slack-notifier            | 1.5.1        |\r\n| xcpretty-travis-formatter | 0.0.4        |\r\n| jwt                       | 1.5.6        |\r\n| little-plugger            | 1.1.4        |\r\n| logging                   | 2.1.0        |\r\n| memoist                   | 0.15.0       |\r\n| os                        | 0.9.6        |\r\n| signet                    | 0.7.3        |\r\n| googleauth                | 0.5.1        |\r\n| httpclient                | 2.8.2.4      |\r\n| hurley                    | 0.2          |\r\n| mime-types-data           | 3.2016.0521  |\r\n| mime-types                | 3.1          |\r\n| uber                      | 0.0.15       |\r\n| representable             | 2.3.0        |\r\n| retriable                 | 2.1.0        |\r\n| google-api-client         | 0.9.20       |\r\n| terminal-notifier         | 1.7.1        |\r\n| word_wrap                 | 1.0.0        |\r\n| xcode-install             | 2.0.9        |\r\n| nanaimo                   | 0.2.2        |\r\n| xcodeproj                 | 1.4.1        |\r\n</details>\r\n\r\n\r\n*generated on:* **2016-11-17**\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/261238967","html_url":"https://github.com/fastlane/fastlane/issues/7050#issuecomment-261238967","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/7050","id":261238967,"user":{"login":"hjanuschka","id":2891702,"avatar_url":"https://avatars.githubusercontent.com/u/2891702?v=3","gravatar_id":"","url":"https://api.github.com/users/hjanuschka","html_url":"https://github.com/hjanuschka","followers_url":"https://api.github.com/users/hjanuschka/followers","following_url":"https://api.github.com/users/hjanuschka/following{/other_user}","gists_url":"https://api.github.com/users/hjanuschka/gists{/gist_id}","starred_url":"https://api.github.com/users/hjanuschka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjanuschka/subscriptions","organizations_url":"https://api.github.com/users/hjanuschka/orgs","repos_url":"https://api.github.com/users/hjanuschka/repos","events_url":"https://api.github.com/users/hjanuschka/events{/privacy}","received_events_url":"https://api.github.com/users/hjanuschka/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T12:51:17Z","updated_at":"2016-11-17T12:51:17Z","body":"good point, i invalided mine a few times just to get a p12 file 😝 \r\nhere is a PR: https://github.com/fastlane/fastlane/pull/7052 trying to add a download existing certificates, lets see if it gets merged, maybe you 👍  it"}}
{"actor":{"display_login":"hjanuschka"}}