{"action":"created","issue":{"url":"https://api.github.com/repos/TakeScoop/SwiftyRSA/issues/22","repository_url":"https://api.github.com/repos/TakeScoop/SwiftyRSA","labels_url":"https://api.github.com/repos/TakeScoop/SwiftyRSA/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/TakeScoop/SwiftyRSA/issues/22/comments","events_url":"https://api.github.com/repos/TakeScoop/SwiftyRSA/issues/22/events","html_url":"https://github.com/TakeScoop/SwiftyRSA/pull/22","id":165437147,"number":22,"title":"Added support to read multiple public keys from a PEM file","user":{"login":"greenantdotcom","id":228293,"avatar_url":"https://avatars.githubusercontent.com/u/228293?v=3","gravatar_id":"","url":"https://api.github.com/users/greenantdotcom","html_url":"https://github.com/greenantdotcom","followers_url":"https://api.github.com/users/greenantdotcom/followers","following_url":"https://api.github.com/users/greenantdotcom/following{/other_user}","gists_url":"https://api.github.com/users/greenantdotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/greenantdotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenantdotcom/subscriptions","organizations_url":"https://api.github.com/users/greenantdotcom/orgs","repos_url":"https://api.github.com/users/greenantdotcom/repos","events_url":"https://api.github.com/users/greenantdotcom/events{/privacy}","received_events_url":"https://api.github.com/users/greenantdotcom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-13T22:35:03Z","updated_at":"2016-07-21T01:18:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TakeScoop/SwiftyRSA/pulls/22","html_url":"https://github.com/TakeScoop/SwiftyRSA/pull/22","diff_url":"https://github.com/TakeScoop/SwiftyRSA/pull/22.diff","patch_url":"https://github.com/TakeScoop/SwiftyRSA/pull/22.patch"},"body":"For a usecase where we may have multiple public keys that our content might have been signed with, we wanted to put multiple public keys into a single file, much like you may have multiple SSL certs in a chain file.\r\n\r\nThis method parses out any data between `-----BEGIN PUBLIC KEY-----`  and `-----END PUBLIC KEY-----`, and then uses `publicKeyFromPEMString()` to try to parse it.\r\n\r\nTests added for a really insane usecases, an empty string, and reading one of the test private keys for fun. All added code has 100% coverage, and the new method is commented."},"comment":{"url":"https://api.github.com/repos/TakeScoop/SwiftyRSA/issues/comments/234130860","html_url":"https://github.com/TakeScoop/SwiftyRSA/pull/22#issuecomment-234130860","issue_url":"https://api.github.com/repos/TakeScoop/SwiftyRSA/issues/22","id":234130860,"user":{"login":"greenantdotcom","id":228293,"avatar_url":"https://avatars.githubusercontent.com/u/228293?v=3","gravatar_id":"","url":"https://api.github.com/users/greenantdotcom","html_url":"https://github.com/greenantdotcom","followers_url":"https://api.github.com/users/greenantdotcom/followers","following_url":"https://api.github.com/users/greenantdotcom/following{/other_user}","gists_url":"https://api.github.com/users/greenantdotcom/gists{/gist_id}","starred_url":"https://api.github.com/users/greenantdotcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenantdotcom/subscriptions","organizations_url":"https://api.github.com/users/greenantdotcom/orgs","repos_url":"https://api.github.com/users/greenantdotcom/repos","events_url":"https://api.github.com/users/greenantdotcom/events{/privacy}","received_events_url":"https://api.github.com/users/greenantdotcom/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T01:18:59Z","updated_at":"2016-07-21T01:18:59Z","body":"@ldiqual Should be done!"}}
{"actor":{"display_login":"greenantdotcom"}}