Live data from Hacker News

Please Stop Writing Secure Messaging Tools (2015)

dymaxion.org

21–30 of 73 posts

Re: Please Stop Writing Secure Messaging Tools (2015)

#21
Bandwidth and local storage considerations are missing from this. All of those features are great, but if my decentralized application uses all of my available bandwidth and disk space, then it is not very great.

This is very relevant because decentralized means that all that centralized storage and bandwidth needs to split up and amplified to account for offline users.

Re: Please Stop Writing Secure Messaging Tools (2015)

#22
post #12
post #10

The essay I wish she had written would have said, "we don't need more 'secure messaging systems' -- we should be making all the following tools secure by design" For example, (and whether you love them or hate them) Apple takes this seriously: your fingerprints don't leave the device and are implemented by a piece of hardware in such a way that even Apple doesn't have access to them. Compare that to the Android imple…

What? Google CTS demands that devices store fingerprints in TEE and they never can touch filesystem. Where did you get the idea that fingerprints are stored on a filesystem?! O.o (Android Fingerprint HAL document: https://source.android.com/security/authentication/fingerpri... ) (Note that the document allows storing fingerprints on FS, but they must be additionally encrypted. Better devices do not do that.)

If you read through the TEE design requirements the goal is DRM, and data exchange (not just a handshake) is permitted. Apple uses a dedicated mechanism so that the entire path (sensor->authentication) is hidden from apple by physically bonding the pieces together. This is why, when you get your screen replaced, you have to teach your phone your prints again: they are gone. The Android CTS permits a path from the sensor to the trusted environment, a path which could be subject to interception.

The need for a trusted path has been well understood since the 1960s at least (and its roots run back through the "break" key on the teletype); it's reflected in the rainbow books and of course in the design of Multics. Plenty of people at Google understand this well; some of them even participated in writing those rainbow books!

You can ship a device without passing CTS and it is very common (though TBF, things like my Mavic drone don't have a thumbprint sensor).

And just a few months ago, HTC shipped a phone with unencrypted fingerprints: https://www.theguardian.com/technology/2015/aug/10/htc-finge...

Again, I'm not holding Apple up as some paragon, it was simply the example I used to point out the importance of security design at depth, defense at depth, and integration into all aspects of a system.

Re: Please Stop Writing Secure Messaging Tools (2015)

#27
post #14
post #3

I love that list of needed tools!

I am hoping for recommendations based on that list to show up

I would love to know of an encrypted cloud based document editor. Something like googledocs but with privacy. Does anyone know of something like this?

Re: Please Stop Writing Secure Messaging Tools (2015)

#28
post #10

The essay I wish she had written would have said, "we don't need more 'secure messaging systems' -- we should be making all the following tools secure by design" For example, (and whether you love them or hate them) Apple takes this seriously: your fingerprints don't leave the device and are implemented by a piece of hardware in such a way that even Apple doesn't have access to them. Compare that to the Android imple…

I maintain the Fingerprint stack on Google Nexus/Pixel devices.

> your fingerprints don't leave the device and are implemented by a piece of hardware in such a way that even Apple doesn't have access to them.

This is true for Google, too.

> Compare that to the Android implementations which have fingerprints in the filesystem.

They're not stored in plaintext. They're encrypted with keys that remain in hardware. You can never read the keys, only encrypt files with them, from applications running in a separate physical address space, accessible only through the hypervisor.

This may not be as elegant as doing matching on the sensor, but keep in mind we have to play within the constraints of 2 difference vendors (SoC, Fingerprint Sensor).

Implying that Android is somehow less secure in the case of fingerprint is disingenuous.

Re: Please Stop Writing Secure Messaging Tools (2015)

#30
post #25

Just use Keybase!

I can't help but get an embrace, extend, extinguish vibe from keybase. It was a nifty key discovery service initially, but more and more feels like a closed platform, and gives me a sense of deja vu akin to XMPP on GTalk.

I get what you're saying, but realistically PGP will never cross the chasm, so there was not really a viable business there. I like that they have integrated it, but are moving in a direction that lowers the barrier to entry. There are risks to be sure, but it feels like the most promising of the secure messaging platforms.
Post reply on HN