hn.today

Secure Messaging and AI Remain In Conflict Despite the Promise of TEEs

eff.org7 points0 comments
Screenshot of Secure Messaging and AI Remain In Conflict Despite the Promise of TEEs

Secure messaging that depends on end-to-end encryption protects message content from service operators, but integrating cloud-based AI features undermines that guarantee when devices offload data for processing. Trusted execution environments (TEEs) - used by services such as Apple’s Private Cloud Compute, Google’s Private AI Compute, WhatsApp’s Private Processing, and some chatbots - promise to run code on servers without exposing plaintext to operators. TEEs do improve privacy versus running in the clear, but they are engineering solutions, not math-based encryption: they carry exploitable bugs, side-channel attacks, and the practical difficulty of keeping cryptographic keys isolated on the same hardware. Homomorphic encryption could hide inputs mathematically but remains too slow for typical LLM use, so TEEs are a pragmatic but weaker substitute that can still require physical or sophisticated attacks to breach.

The practical consequence is clear: when an end-to-end encrypted chat sends messages to a cloud TEE for summarization, review, or storage, those messages leave the device and the system ceases to be genuinely end-to-end encrypted. The recommendation is uncompromising: do not design systems that automatically exfiltrate E2EE data to TEEs; give device holders explicit control and pause before any upload. Users should disable automatic data-sending features if present. TEEs still have valid on-device uses (secure enclaves for biometrics, key storage, backups), but cloud TEEs are a downgrade from true end-to-end encryption and must be treated accordingly.

Read on eff.org0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.