{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/4193","repository_url":"https://api.github.com/repos/google/ExoPlayer","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/4193/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/4193/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/4193/events","html_url":"https://github.com/google/ExoPlayer/issues/4193","id":318977473,"number":4193,"title":"Add support for AndroidKeystore Symmetric Keys with AESCipherDataSource and AESCipherDataSink","user":{"login":"CodyDunlap","id":3633741,"avatar_url":"https://avatars3.githubusercontent.com/u/3633741?v=4","gravatar_id":"","url":"https://api.github.com/users/CodyDunlap","html_url":"https://github.com/CodyDunlap","followers_url":"https://api.github.com/users/CodyDunlap/followers","following_url":"https://api.github.com/users/CodyDunlap/following{/other_user}","gists_url":"https://api.github.com/users/CodyDunlap/gists{/gist_id}","starred_url":"https://api.github.com/users/CodyDunlap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodyDunlap/subscriptions","organizations_url":"https://api.github.com/users/CodyDunlap/orgs","repos_url":"https://api.github.com/users/CodyDunlap/repos","events_url":"https://api.github.com/users/CodyDunlap/events{/privacy}","received_events_url":"https://api.github.com/users/CodyDunlap/received_events","type":"User","site_admin":false},"labels":[{"id":106814991,"url":"https://api.github.com/repos/google/ExoPlayer/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"erdemguven","id":16116340,"avatar_url":"https://avatars1.githubusercontent.com/u/16116340?v=4","gravatar_id":"","url":"https://api.github.com/users/erdemguven","html_url":"https://github.com/erdemguven","followers_url":"https://api.github.com/users/erdemguven/followers","following_url":"https://api.github.com/users/erdemguven/following{/other_user}","gists_url":"https://api.github.com/users/erdemguven/gists{/gist_id}","starred_url":"https://api.github.com/users/erdemguven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erdemguven/subscriptions","organizations_url":"https://api.github.com/users/erdemguven/orgs","repos_url":"https://api.github.com/users/erdemguven/repos","events_url":"https://api.github.com/users/erdemguven/events{/privacy}","received_events_url":"https://api.github.com/users/erdemguven/received_events","type":"User","site_admin":false},"assignees":[{"login":"erdemguven","id":16116340,"avatar_url":"https://avatars1.githubusercontent.com/u/16116340?v=4","gravatar_id":"","url":"https://api.github.com/users/erdemguven","html_url":"https://github.com/erdemguven","followers_url":"https://api.github.com/users/erdemguven/followers","following_url":"https://api.github.com/users/erdemguven/following{/other_user}","gists_url":"https://api.github.com/users/erdemguven/gists{/gist_id}","starred_url":"https://api.github.com/users/erdemguven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erdemguven/subscriptions","organizations_url":"https://api.github.com/users/erdemguven/orgs","repos_url":"https://api.github.com/users/erdemguven/repos","events_url":"https://api.github.com/users/erdemguven/events{/privacy}","received_events_url":"https://api.github.com/users/erdemguven/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-30T17:52:06Z","updated_at":"2018-04-30T19:14:36Z","closed_at":null,"author_association":"NONE","body":"I'm attempting to implement offline playback, using ExoPlayer 2 CacheDataSource with an AesCipherDataSource and an AesCipherDataSink. The content is stored offline in a service that runs in the background. Currently the only way I have found to provide a key is by generating it myself using SecureRandom and providing the bytes to the AesCipherDataSink constructor. In order to securely and dynamically generate secret keys for use in both the AesCipherDataSink during caching and the AesCipherDataSource during playback, I'd like to be able to use the AndroidKeystore. As designed, the AndroidKeystore will not provide the key material for use inside of the app. Can you implement a way for us to use a keystore along with keyalias and any protection parameters require to retrieve the key from the keystore and then use that during encryption and decryption?\r\n\r\nI'm currently using ExoPlayer 2.7.3\r\n"},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/385499802","html_url":"https://github.com/google/ExoPlayer/issues/4193#issuecomment-385499802","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/4193","id":385499802,"user":{"login":"AquilesCanta","id":8539544,"avatar_url":"https://avatars1.githubusercontent.com/u/8539544?v=4","gravatar_id":"","url":"https://api.github.com/users/AquilesCanta","html_url":"https://github.com/AquilesCanta","followers_url":"https://api.github.com/users/AquilesCanta/followers","following_url":"https://api.github.com/users/AquilesCanta/following{/other_user}","gists_url":"https://api.github.com/users/AquilesCanta/gists{/gist_id}","starred_url":"https://api.github.com/users/AquilesCanta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AquilesCanta/subscriptions","organizations_url":"https://api.github.com/users/AquilesCanta/orgs","repos_url":"https://api.github.com/users/AquilesCanta/repos","events_url":"https://api.github.com/users/AquilesCanta/events{/privacy}","received_events_url":"https://api.github.com/users/AquilesCanta/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T19:14:36Z","updated_at":"2018-04-30T19:14:36Z","author_association":"CONTRIBUTOR","body":"@erdemguven, would you mind taking a look at this?"}}
{"actor":{"display_login":"AquilesCanta"}}