{"action":"created","issue":{"url":"https://api.github.com/repos/indisoluble/AesGcm/issues/8","repository_url":"https://api.github.com/repos/indisoluble/AesGcm","labels_url":"https://api.github.com/repos/indisoluble/AesGcm/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/indisoluble/AesGcm/issues/8/comments","events_url":"https://api.github.com/repos/indisoluble/AesGcm/issues/8/events","html_url":"https://github.com/indisoluble/AesGcm/issues/8","id":262831299,"number":8,"title":"Library for aes/gcm/nopadding","user":{"login":"marinofaggiana","id":8616947,"avatar_url":"https://avatars0.githubusercontent.com/u/8616947?v=4","gravatar_id":"","url":"https://api.github.com/users/marinofaggiana","html_url":"https://github.com/marinofaggiana","followers_url":"https://api.github.com/users/marinofaggiana/followers","following_url":"https://api.github.com/users/marinofaggiana/following{/other_user}","gists_url":"https://api.github.com/users/marinofaggiana/gists{/gist_id}","starred_url":"https://api.github.com/users/marinofaggiana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marinofaggiana/subscriptions","organizations_url":"https://api.github.com/users/marinofaggiana/orgs","repos_url":"https://api.github.com/users/marinofaggiana/repos","events_url":"https://api.github.com/users/marinofaggiana/events{/privacy}","received_events_url":"https://api.github.com/users/marinofaggiana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-04T15:29:50Z","updated_at":"2017-10-09T08:26:59Z","closed_at":null,"author_association":"NONE","body":"Hi, thanks for your work, I wand decrypt a file from Android with  aes/gcm/nopadding , the library CCCryptorGCM is perfect but is not public ... how call your library? I don't have the \r\n\r\nNSData *aad = [@\"AdditionalAuthenticatedData\" dataUsingEncoding:NSUTF8StringEncoding];\r\n : \r\n\r\nI have only Data, ckey and cIv [16]\r\n\r\nCCCryptorStatus cryptStatus = CCCryptorGCM(operation,\r\n                                               kCCAlgorithmAES128,\r\n                                               cKey,\r\n                                               kCCKeySizeAES128,\r\n                                               cIv,\r\n                                               kCCBlockSizeAES128,\r\n                                               nil,\r\n                                               0,\r\n                                               contentData.bytes,\r\n                                               contentData.length,\r\n                                               operationBytes,\r\n                                               tag.bytes,\r\n                                               &tagLength);\r\n\r\n\r\nThanks a lot\r\n"},"comment":{"url":"https://api.github.com/repos/indisoluble/AesGcm/issues/comments/335093502","html_url":"https://github.com/indisoluble/AesGcm/issues/8#issuecomment-335093502","issue_url":"https://api.github.com/repos/indisoluble/AesGcm/issues/8","id":335093502,"user":{"login":"marinofaggiana","id":8616947,"avatar_url":"https://avatars0.githubusercontent.com/u/8616947?v=4","gravatar_id":"","url":"https://api.github.com/users/marinofaggiana","html_url":"https://github.com/marinofaggiana","followers_url":"https://api.github.com/users/marinofaggiana/followers","following_url":"https://api.github.com/users/marinofaggiana/following{/other_user}","gists_url":"https://api.github.com/users/marinofaggiana/gists{/gist_id}","starred_url":"https://api.github.com/users/marinofaggiana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marinofaggiana/subscriptions","organizations_url":"https://api.github.com/users/marinofaggiana/orgs","repos_url":"https://api.github.com/users/marinofaggiana/repos","events_url":"https://api.github.com/users/marinofaggiana/events{/privacy}","received_events_url":"https://api.github.com/users/marinofaggiana/received_events","type":"User","site_admin":false},"created_at":"2017-10-09T08:26:59Z","updated_at":"2017-10-09T08:26:59Z","author_association":"NONE","body":"@indisoluble how I have to pass variable to plainDataByAuthenticatedDecryptingCipheredData for initializationVector and KeyData [for kCCBlockSizeAES128] if I have a NSString ? I think that this is the issue. thanks\r\n\r\n> .D.: I noticed that the keyData as well as the initVectorData are built with base64 strings while the additional authentication data is a UTF8 empty string.\r\n\r\nWhere is the issue ? additional authentication data is empty [0] ... "}}
{"actor":{"display_login":"marinofaggiana"}}