5 ms·
Boy, I'd love to see Moxie's comment on this after years of shilling SGX. I was always disappointed by that and never understood why someone as otherwise-brigh
by mmm_grayons 6y ago
Boy, I'd love to see Moxie's comment on this after years of shilling SGX. I was always disappointed by that and never understood why someone as otherwise-bright as him went for it.
- anonymousDan 6y agoThere have been several attacks like this already (and more likely more to come). The nice thing about the SGX design is many of these issues can be fixed immediately with a microcode update. Now if an attack is announced that can't be fixed with a microcode update that is another story :). In general, protecting against these kinds of attacks for any enclave is a hard problem, but it is an active area of research and there are already research proposals for more side channel resilient enclave designs (e.g. see the Keystone project from Berkeley). I expect some of these mitigations will be incorporated into future iterations of SGX, but it will take time.
- mmm_grayons 6y agoYou're right, and the idea of a secure enclave is not an inherently bad one. What is bad is treating it as an unassailable fortress, as in signal's address book feature. There's a difference between using it to make critical parts of existing computations more secure and using it to do stuff one wouldn't otherwise do.
- dane-pgp 6y ago> You're right, and the idea of a secure enclave is not an inherently bad one. Maybe it is when you're trusting private keys and proprietary technology controlled by a single entity that may be subject to commercial and political pressures that make their motives not aligned to yours.
- anonymousDan 6y agoI hope you're not typing that on an Intel processor :)
- dane-pgp 6y ago$ grep vendor_id /proc/cpuinfo vendor_id : AuthenticAMD
- AlexCoventry 6y ago> What is bad is treating it as an unassailable fortress It's also a pretty bad architecture/design failure, for a TEE to share computational resources with untrusted processes. I heard the decision to do so at Intel was due to marketing considerations outweighing the security concerns: Customers didn't want computational resources going fallow for the sake of security. I'm skeptical about whether a truly trustworthy TEE is possible, but it seems even less likely, given SGX's architecture.
- pstrateman 6y agoFor signal this issue actually cannot be fixed. One failure is a permanent leak of the profile and contact information for everybody with a weak pin (which is probably virtually everybody).
- anonymousDan 6y agoYes that's a fair point, of course anyone who is using this in production now will be impacted. I was more highlighting that it is a recoverable error in terms of being able to use existing SGX hardware in future.
- Spivak 6y agoBecause there's literally zero alternative to it. If you're running Signal and want to be sure that the server is running the code published on GH then it's all you can do.
- yjftsjthsd-h 6y ago> Because there's literally zero alternative to it. Iff you take Signal's overall design as a given. If we had a chat system that used GPG, the servers could be compromised without issue. Of course, usability would suffer, so maybe Signal is worth the tradeoff, but it's not as if Signal is the only way to do what Signal does.
- Multicomp 6y agoYou are correct that Signal is not the only way to do what Signal does. My medium-term plan is to go to Matrix once the P2P option matures. > if we had a chat system that used GPG FWIW DeltaChat uses email messages encrypted with AutoCrypt (a flavor of OpenPGP) and your contacts are simply emails you know. The first message will be unencrypted with OpenPGP setup info embedded in the body. If the other email client supports OpenPGP (or is DeltaChat) then further messages are returned encrypted. Someone on HN said that this was the NSAs dream since they could collect metadata on people who were sending encrypted messages via the various leaky parts of email delivery, SMTP relays etc.
- google234123 6y agoWell, Intel can improve it with each new processor design so it will continue to get better.
- coolspot 6y agoAfter the whole Signal’s PIN and SGX saga I am convinced Moxie is NSA/CIA asset. Maybe not from the beginning, but at some point they have decided that this is ideal point of influence and made an offer (not necessarily financial) he couldn’t turn down.