{"action":"opened","issue":{"url":"https://api.github.com/repos/krzyzanowskim/ObjectivePGP/issues/116","repository_url":"https://api.github.com/repos/krzyzanowskim/ObjectivePGP","labels_url":"https://api.github.com/repos/krzyzanowskim/ObjectivePGP/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/krzyzanowskim/ObjectivePGP/issues/116/comments","events_url":"https://api.github.com/repos/krzyzanowskim/ObjectivePGP/issues/116/events","html_url":"https://github.com/krzyzanowskim/ObjectivePGP/issues/116","id":335282584,"node_id":"MDU6SXNzdWUzMzUyODI1ODQ=","number":116,"title":"Memory issue on encrypting large files","user":{"login":"tobiasjungnickel","id":2171646,"node_id":"MDQ6VXNlcjIxNzE2NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/2171646?v=4","gravatar_id":"","url":"https://api.github.com/users/tobiasjungnickel","html_url":"https://github.com/tobiasjungnickel","followers_url":"https://api.github.com/users/tobiasjungnickel/followers","following_url":"https://api.github.com/users/tobiasjungnickel/following{/other_user}","gists_url":"https://api.github.com/users/tobiasjungnickel/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasjungnickel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasjungnickel/subscriptions","organizations_url":"https://api.github.com/users/tobiasjungnickel/orgs","repos_url":"https://api.github.com/users/tobiasjungnickel/repos","events_url":"https://api.github.com/users/tobiasjungnickel/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasjungnickel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-25T07:02:50Z","updated_at":"2018-06-25T07:02:50Z","closed_at":null,"author_association":"NONE","body":"- ObjectivePGP version: 0.12.0\r\n- Platform (iOS/macOS): iOS 11.4 / iPhone 7\r\n- Installation method (CocoaPods/Carthage/...): CocoaPods\r\n\r\n# Description\r\n\r\nWhen encrypting a \"large\" file (tested with 100M) our App's ShareExtension target using ObjPGP terminated due to memory issue. No error is thrown, only console output:\r\n`Message from debugger: Terminated due to memory issue`\r\n`Program ended with exit code: 0`\r\n\r\n\r\n# Steps to reproduce\r\n\r\nSample code to reproduce the issue:\r\n\r\n```objective-c\r\n\r\nclass func encrypt(_ data: Data, addSignature sign: Bool, using keys: [Key], passphraseForKey passphraseBlock: ((Key) -> String?)? = nil) throws -> Data\r\n\r\n```\r\n"}}
{"actor":{"display_login":"tobiasjungnickel"}}