techlist.io

Encryption

3 posts

Toss2026-04-273 min readCurated summary

Why We Adopted Post-Quantum Cryptography a Decade Before Quantum Computers Arrive

Toss Payments’ biggest legacy-overhaul challenge was not the technology itself, but improving security without disrupting tens of thousands of merchants using decades-old integrations. Because payment systems depend on outdated client environments and small businesses with limited technical resources, security upgrades had to be gradual and carefully communicated. The effort ultimately led from modernizing transport security to adopting post-quantum cryptography in 2026. ## The Challenge of Changing a Legacy Payment Network - Toss Payments supports merchants integrated with its PG system for many years, sometimes decades. - Server-side clients are harder to update than browsers, which update automatically to support new standards. - Security changes such as upgrading TLS, removing weak ciphers, or changing encryption can affect every API call, payment window, and server connection. - Many merchants are small businesses without dedicated developers, making complex security requirements difficult to understand and implement. - As a result, security is a shared responsibility: Toss Payments can strengthen its systems, but legacy merchant environments may still leave connections partially exposed. ## Why Existing Encryption Is Becoming Unsafe - Modern HTTPS and payment systems commonly rely on public-key algorithms such as RSA and ECDSA. - These algorithms are considered secure because conventional computers cannot practically factor enormous numbers or solve elliptic-curve problems. - Quantum algorithms have been mathematically shown to solve these problems efficiently once sufficiently powerful quantum computers exist. - This would make current encryption systems vulnerable, undermining decades of digital-security assumptions. ## Q-Day and “Harvest Now, Decrypt Later” - “Q-Day” refers to the point when quantum computers can break today’s widely used encryption. - Attackers can already intercept and store encrypted payment communications that they cannot currently decrypt. - Once quantum computers become practical, the stored data could be decrypted in bulk. - Payment information is especially valuable because it can remain sensitive for years; data transmitted today could be exposed in the 2030s. - The threat therefore requires action before quantum computers are fully operational. ## A Four-Year Security Upgrade Toss Payments chose a phased approach rather than replacing its security stack all at once: - **2022:** Became the first payment gateway in Korea’s PG industry to implement HTTP/3. - **2022–2025:** Removed weak TLS cipher suites. - **2022–2025:** Completed the rollout of TLS 1.3. - **April 2026:** Implemented post-quantum cryptography (PQC). Each stage balanced stronger protection against the risk of disrupting merchant payments. The gradual rollout gave merchants time to update their systems while ensuring that security improvements continued instead of being postponed indefinitely. ## Starting with HTTP/3 - HTTP/3 is a newer web-transport protocol designed to improve speed and stability, especially on unreliable networks. - It requires TLS 1.3, meaning that adopting HTTP/3 also enforces the use of a modern security protocol. - Toss Payments began with HTTP/3 because it offered both performance improvements and a relatively direct path toward stronger encryption. The broader lesson is that legacy security cannot be improved through a single disruptive upgrade. A phased migration, combined with clear communication and preparation for post-quantum cryptography, allows payment providers to raise security standards while keeping existing merchants operational.

Cloudflare2026-03-052 min readCurated summary

Ending the "silent drop": how Dynamic Path MTU Discovery makes the Cloudflare One Client more resilient

Cloudflare’s Dynamic Path MTU Discovery (PMTUD) helps prevent connections from silently failing when network paths cannot carry large encrypted packets. Using active probing through MASQUE and QUIC, the Cloudflare One Client determines the largest reliable packet size and adjusts its virtual interface accordingly. This makes applications more resilient across restrictive, changing networks without relying on ICMP error messages. ## The PMTUD Black Hole Problem - Networks have a maximum transmission unit (MTU), typically 1500 bytes on Ethernet. - Encryption and security metadata reduce the space available for application data. - LTE/5G, satellite, public safety, and other specialized networks may support smaller MTUs, such as 1300 bytes. - Routers should send ICMP messages when packets are too large, but firewalls and middleboxes often drop those messages. - The sender continues transmitting oversized packets, leaving uploads, video calls, SSH sessions, or other applications stuck until they time out. ## Active Path Discovery with MASQUE - Cloudflare implements RFC 8899 Datagram Packetization Layer PMTUD. - The Cloudflare One Client sends encrypted probes of different sizes to the Cloudflare edge. - By observing which probes arrive, it identifies the usable MTU without depending on blocked ICMP feedback. - Probing narrows the range from the supported maximum toward the precise path capacity. - The process runs in the background and is designed not to disrupt active connections. ## Adapting to Changing Networks - The client dynamically changes its virtual interface MTU based on the discovered path. - It periodically revalidates the path, allowing it to respond when users move between networks. - For example, a connection can transition from 1500-byte Wi-Fi to 1300-byte cellular connectivity without interrupting application sessions. ## Benefits for Critical and Everyday Connectivity - First responders can maintain stable CAD and other mission-critical connections across NAT layers, tower handoffs, and fluctuating signal conditions. - Hybrid workers benefit from fewer stalled transfers and more reliable video calls on hotel, cellular, and double-NAT networks. - The client hides much of the underlying network instability from applications. Cloudflare One Client users running the MASQUE protocol can use PMTUD on Windows, macOS, and Linux at no additional cost.

Anthropic2025-06-184 min readCurated summary

Confidential Inference via trusted VMs

Anthropic is researching "Confidential Inference," a set of tools that lets it process user data in encrypted form and prove that the data is readable only inside servers it can verify as trustworthy. The approach serves two goals: protecting frontier model weights from increasingly capable threat actors, and giving users a cryptographic guarantee that their sensitive prompts stay private. The post, written with Pattern Labs, presents this as early research meant to start a discussion, not a finished product. ## Core Principle: Encrypted Except During Processing Sensitive data should stay encrypted everywhere except at the moment it is processed. Anthropic enforces this with confidential computing, building a chain of trust that attests to the security of its software and then uses that attestation to decide which software may access the encryption keys. - Two components handle cleartext user data: the API Server, which tokenizes prompts and runs most request logic, and the Inference Server, which runs the model on hardware accelerators. - For model weights, only the Inference Server handles sensitive data. - The post focuses on the Inference Server. The API Server's security is acknowledged as equally important but is outside its scope. ## Trusted Model Loader Design Because not all accelerators fully support confidential computing, Anthropic is exploring a design built around a small, secure "model loader and invoker": - The loader accepts encrypted data, decrypts it, and sends it to the accelerator. - It invokes accelerator operations and returns encrypted results to the caller. - Only the trusted loader can see decrypted data. The rest of the Inference Server is untrusted and can change often without affecting overall security, since it can only send requests to the loader. - In Anthropic's implementation, the loader runs on a separate virtual machine isolated by the hypervisor and presents itself as a "virtual accelerator" that is agnostic to model architecture. - The virtual accelerator accepts only programs signed by Anthropic's secure CI server, which ensures multiple engineers have reviewed any code that runs. If the loader runs correctly, confidentiality holds regardless of what the rest of the system does, so verifying that the loader is running correctly is critical. ## Establishing a Trusted Environment The loader runs in a confidential computing environment with three properties: - **Encrypted, hardware-isolated memory** separated from other workloads. This guards against some physical attacks and a malicious hypervisor, but sharing encrypted host memory with an accelerator is not yet well established. Until that gap closes, Anthropic relies on its compute providers for physical datacenter and hypervisor security. - **Disabled debugging features.** - **Cryptographic proof** that the correct code is running. The last two are achievable with widely supported practices, using a Trusted Platform Module (TPM) as the root of trust. The TPM measures each boot stage and produces a hash that attests the loader is isolated as expected, runs signed and reviewed code, and has debugging disabled. A keyserver checks this proof and releases decryption keys only to environments that prove they are secure. The keyserver ultimately decides what counts as trusted. Anthropic is also exploring setups where independent parties validate the trusted code and run their own keyservers, which could offer stronger confidentiality guarantees for each piece of data. ## Future Safeguards As models become more capable, Anthropic may add protections at the loader layer, such as: - Additional egress bandwidth limits on servers that hold cleartext model weights. - Requiring a signature from a safety classifier before inference can run. ## End-to-End Request Flow - The request is encrypted before it reaches Anthropic's servers. - The API Server decrypts, processes, and re-encrypts it before passing it on. - The Inference Server handles the request in encrypted form and decrypts it only when sending it to the trusted loader. - Completions are encrypted before leaving the loader and return to the caller through the API Server. - Model weights can be stored encrypted, decrypted only at the loader, and never released from it. ## Recommendation for Hardware Designers Chip makers that have not yet done so should build confidential computing into their hardware. A hardware root of trust attached to the accelerator would significantly shrink the trust boundary of systems like this one.