tuckervento / Tinfoil-Twitter

For those users that require a Tinfoil Hat when logging in to Twitter. It creates a sandbox for Twitter's mobile site.
15 stars 6 forks source link

Encrypt cookies before syncing to storage #11

Open tuckervento opened 9 years ago

tuckervento commented 9 years ago

Not sure how possible this is, but a potentially useful feature would be the ability to encrypt the cookies used to persist the login session before storing them on the device. Currently that's accomplished using the CookieSyncManager which doesn't provide many(/any) extension points. One possible "workaround"(hack) would be to manually get/remove the cookie(s) from the CookieManager, encrypt them locally, re-add them, then flush/sync, all on exit of the WebView. Then do the opposite on open?