{"action":"created","issue":{"url":"https://api.github.com/repos/defuse/php-encryption/issues/41","labels_url":"https://api.github.com/repos/defuse/php-encryption/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/defuse/php-encryption/issues/41/comments","events_url":"https://api.github.com/repos/defuse/php-encryption/issues/41/events","html_url":"https://github.com/defuse/php-encryption/issues/41","id":59425037,"number":41,"title":"Making it easier for people to use...","user":{"login":"mattsah","id":586346,"avatar_url":"https://avatars.githubusercontent.com/u/586346?v=3","gravatar_id":"","url":"https://api.github.com/users/mattsah","html_url":"https://github.com/mattsah","followers_url":"https://api.github.com/users/mattsah/followers","following_url":"https://api.github.com/users/mattsah/following{/other_user}","gists_url":"https://api.github.com/users/mattsah/gists{/gist_id}","starred_url":"https://api.github.com/users/mattsah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattsah/subscriptions","organizations_url":"https://api.github.com/users/mattsah/orgs","repos_url":"https://api.github.com/users/mattsah/repos","events_url":"https://api.github.com/users/mattsah/events{/privacy}","received_events_url":"https://api.github.com/users/mattsah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/defuse/php-encryption/labels/High%20Priority","name":"High Priority","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":51,"created_at":"2015-03-02T00:06:47Z","updated_at":"2015-03-04T16:29:29Z","closed_at":null,"body":"@defuse\r\n\r\nI came across your library in some of those slim threads and thought it might be great to use, as I've currently been investigating encryption libraries to finish my security module.\r\n\r\nThat said, two things I noticed immediately:\r\n\r\n1) It lacks composer support\r\n2) It takes over the exception handler (I understand this is for security)\r\n\r\nI'd like to fix these two problems and make use of your library, but based on the previous composer.json pull request that is open, I'd like to verify that you're interested first.\r\n\r\nWith respect to the exception handler, it would make more sense, if the exception handler was changed temporarily during the processes which could throw exceptions.  Your exception handler could be split to a separate class, and http://php.net/manual/en/function.restore-exception-handler.php can be used to restore the previous one once decrypting is done (for example).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/defuse/php-encryption/issues/comments/77191283","html_url":"https://github.com/defuse/php-encryption/issues/41#issuecomment-77191283","issue_url":"https://api.github.com/repos/defuse/php-encryption/issues/41","id":77191283,"user":{"login":"ircmaxell","id":660654,"avatar_url":"https://avatars.githubusercontent.com/u/660654?v=3","gravatar_id":"","url":"https://api.github.com/users/ircmaxell","html_url":"https://github.com/ircmaxell","followers_url":"https://api.github.com/users/ircmaxell/followers","following_url":"https://api.github.com/users/ircmaxell/following{/other_user}","gists_url":"https://api.github.com/users/ircmaxell/gists{/gist_id}","starred_url":"https://api.github.com/users/ircmaxell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ircmaxell/subscriptions","organizations_url":"https://api.github.com/users/ircmaxell/orgs","repos_url":"https://api.github.com/users/ircmaxell/repos","events_url":"https://api.github.com/users/ircmaxell/events{/privacy}","received_events_url":"https://api.github.com/users/ircmaxell/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T16:29:29Z","updated_at":"2015-03-04T16:29:29Z","body":"For the record, it works fine in 7 :-)"}}