Abstract
Tandem is a novel cryptographic framework designed to secure private keys using threshold cryptography without sacrificing user privacy. By decoupling identity verification from key usage through "one-time-use key-share tokens," Tandem enables critical security features like remote key blocking and rate-limiting while ensuring that a central server cannot track or deanonymize user transaction patterns. This paper demonstrates the protocol's efficiency, adding minimal latency while providing robust protection against device compromise.
Introduction
Most users store their cryptographic keys on devices that are notoriously difficult to secure, such as smartphones or laptops. If these devices are compromised, the keys—and the assets or identities they protect—are lost. Threshold cryptography offers a solution by splitting a key into shares: one held by the user and another by a central Trust Server (TS). To perform a transaction, both parties must cooperate, meaning an attacker would need to compromise both the user's device and the server.
However, existing threshold schemes introduce a significant privacy trade-off. If the server is involved in every transaction, it can observe exactly when and how often a user utilizes their key. This metadata can be used to deanonymize users by correlating server requests with public activity, such as blockchain updates. Tandem addresses this by "wrapping" threshold-cryptographic schemes in a protocol that preserves anonymity and hides usage patterns.
The Tandem Protocol
The core innovation of Tandem is the one-time-use key-share token. This mechanism separates the moment a user authenticates to the server from the moment they actually use their key share.
As illustrated in the figure above, the protocol follows four distinct phases:
- Registration: The user and server jointly generate a long-term key. The server's share ($x_S$) is stored securely, and the user remains unaware of its raw value.
- Token Acquisition: While authenticated, the user "pre-fetches" a batch of tokens. Each token contains a randomized, blinded version of the server's key share.
- Anonymous Usage: When performing a transaction, the user connects to the server via an anonymous communication channel (such as Tor) and presents a one-time token. Because the share is randomized and the channel is anonymous, the server cannot link the request to the user’s identity or previous transactions.
- Blocking: If a device is stolen, the user can instruct the server to invalidate all unused tokens, effectively blocking the key.
This approach relies on linear randomization. Tandem is compatible with any cryptographic scheme where shifting key shares by a random value results in a valid threshold protocol, such as Schnorr signatures and BBS+ credentials.
Performance and Comparison
Tandem provides a unique combination of security and privacy features that are often mutually exclusive in other systems. As shown in the comparison below, Tandem is the only solution that simultaneously offers anonymous key usage, hidden key-usage patterns, and the ability to block keys.
In practical evaluations using a custom C prototype (utilizing the RELIC library), Tandem demonstrated high efficiency:
- Latency: The user-side overhead is a mere 5–25 ms, while the server-side overhead is approximately 50–100 ms. This is negligible compared to the typical 1–2 second latency of anonymous networks like Tor.
- Bandwidth: Obtaining a token requires roughly 26 KiB, and using it requires 12 KiB.
- Scalability: A standard 4-core server can process approximately 50 transactions per second, making it suitable for large-scale deployments.
Conclusion and Future Work
Tandem successfully achieves the "holy trinity" of threshold security: key protection, remote blocking, and usage privacy. While currently optimized for additive schemes, it provides a robust framework for privacy-preserving identity management. Future research will focus on extending Tandem's compatibility to multiplicative schemes like ECDSA and further reducing the computational overhead of the registration and token-fetching phases through more efficient range proofs.
Summary updated