Better HN
topnewbestaskshowjobs
Log inSign up

subiye

13 karma · joined Oct 24, 2012 (14y ago) · 4 submissions

Submissions

comment 12y ago · link · parent

Conceal ships with a default Keychain implementation which stores the key in SharedPreferences in the internal storage. You can totally customize this if you want to store this in a DB or somewhere else.

We realize that most apps already have their own implementation of caches and we'd rather look at this as a library that helps extend the app specific storage into external storage without letting other apps read this data.

comment 12y ago · link · parent

Conceal ships with a default Keychain implementation which stores the key in SharedPreferences in the internal storage. You can totally customize this.

comment 12y ago · link · parent

Hey guys I worked on Conceal, AMA

comment 14y ago · link · parent

Another author here. With regards to TextSecure specifically, I will quote the code in the paper here:

schemeRegistry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80)); schemeRegistry.register(new Scheme("https", SSLSocketFactory.getSocketFactory(), 443)); ... HttpHost target = new HttpHost(hostUrl.getHost(), hostUrl.getPort(), HttpHost.DEFAULT_SCHEME_NAME); ... HttpResponse response = client.execute(target, request);

Viewing the code sample from the paper it can be seen that an SSLSocket was meant to be used if the connection was over HTTPS. However this use of the API results in a request being sent over HTTP instead of HTTPS. The argument for CAs not having correct certs makes less sense here in conjunction with the use of SSL API.

We clearly qualify in the paper that this is not exploitable directly.