{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/conceal/issues/131","repository_url":"https://api.github.com/repos/facebook/conceal","labels_url":"https://api.github.com/repos/facebook/conceal/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/facebook/conceal/issues/131/comments","events_url":"https://api.github.com/repos/facebook/conceal/issues/131/events","html_url":"https://github.com/facebook/conceal/issues/131","id":145585047,"number":131,"title":"NativeGCMCipherException: The message could not be decrypted successfully.It has either been tampered with or the wrong resource is being decrypted.","user":{"login":"ir2pid","id":907075,"avatar_url":"https://avatars.githubusercontent.com/u/907075?v=3","gravatar_id":"","url":"https://api.github.com/users/ir2pid","html_url":"https://github.com/ir2pid","followers_url":"https://api.github.com/users/ir2pid/followers","following_url":"https://api.github.com/users/ir2pid/following{/other_user}","gists_url":"https://api.github.com/users/ir2pid/gists{/gist_id}","starred_url":"https://api.github.com/users/ir2pid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ir2pid/subscriptions","organizations_url":"https://api.github.com/users/ir2pid/orgs","repos_url":"https://api.github.com/users/ir2pid/repos","events_url":"https://api.github.com/users/ir2pid/events{/privacy}","received_events_url":"https://api.github.com/users/ir2pid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-04-04T05:01:45Z","updated_at":"2016-04-04T18:58:17Z","closed_at":null,"body":"When I kill the app and restart, decrypting gives the error: \r\n\r\n`NativeGCMCipherException: The message could not be decrypted successfully.It has either been tampered with or the wrong resource is being decrypted.`\r\n\r\nthe encryption and decryption works only when the app is in memory, killing it gives decryption error on the next run\r\nusing SharedPrefsBackedKeyChain and SystemNativeCryptoLibrary to get the Crypto instance."},"comment":{"url":"https://api.github.com/repos/facebook/conceal/issues/comments/205447582","html_url":"https://github.com/facebook/conceal/issues/131#issuecomment-205447582","issue_url":"https://api.github.com/repos/facebook/conceal/issues/131","id":205447582,"user":{"login":"helios175","id":1321382,"avatar_url":"https://avatars.githubusercontent.com/u/1321382?v=3","gravatar_id":"","url":"https://api.github.com/users/helios175","html_url":"https://github.com/helios175","followers_url":"https://api.github.com/users/helios175/followers","following_url":"https://api.github.com/users/helios175/following{/other_user}","gists_url":"https://api.github.com/users/helios175/gists{/gist_id}","starred_url":"https://api.github.com/users/helios175/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helios175/subscriptions","organizations_url":"https://api.github.com/users/helios175/orgs","repos_url":"https://api.github.com/users/helios175/repos","events_url":"https://api.github.com/users/helios175/events{/privacy}","received_events_url":"https://api.github.com/users/helios175/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T18:58:17Z","updated_at":"2016-04-04T18:58:17Z","body":"Oh, ok. I get it.\r\nSo when you wipe it's ok to wipe everything. Cool.\r\n\r\nIn that case you need to check that key for encryption is the same as kep for decryption. Does that happen in any case?"}}