Key Share

One party's piece of a threshold key, useless alone and dangerous if enough pieces gather.

Basically

A key share is one piece of a secret key, held by different people or systems. A set minimum number must work together to sign.

Key Takeaways

  • A key share is a fragment of a private key, and no single share reveals the underlying secret. A minimum threshold of shares must cooperate to produce a valid digital signature.
  • Modern threshold signature schemes like FROST let key shares generate partial signatures that combine into a valid signature. The full private key is never reconstructed.
  • Spark uses key shares to manage virtual UTXOs across a federated Statechain Entity. This enables off-chain Bitcoin transfers with no single point of compromise.

What Is a Key Share?

A key share is one piece of a cryptographic private key divided among multiple participants. A single key share on its own reveals zero information about the original secret. A predetermined minimum number of shares, called the threshold, must come together to reconstruct the key or, in modern protocols, produce a valid signature without reconstructing it at all.

The concept comes from Adi Shamir's 1979 paper "How to Share a Secret", which introduced Shamir's Secret Sharing (SSS). In a t-of-n scheme, a secret is split into n shares so any t shares can recover it, but t-1 or fewer shares provide no information whatsoever. The property is information-theoretic and holds even against an adversary with unlimited computing power.

Key shares remove single points of failure from cryptographic keys. You spread key material across multiple parties, locations or devices instead of giving one device or person the entire private key. An attacker must compromise the threshold number of shares to gain control.

How It Works

Key share schemes use polynomial interpolation over finite fields. The maths makes the threshold exact: t shares always suffice, while t-1 shares never do.

Splitting a Secret

Shamir's Secret Sharing uses a dealer to construct a random polynomial of degree t-1. The polynomial's constant term equals the secret.

Lagrange interpolation reconstructs the polynomial from t evaluation points. Shares from a subset S of t participants then recover the secret.

From Secret Sharing to Threshold Signatures

Classic SSS has a critical limitation: reconstruction brings the full secret into one location and creates a temporary single point of failure. Modern threshold signature protocols solve this through "interpolation in the exponent".

FROST (Flexible Round-Optimized Schnorr Threshold Signatures, standardised as RFC 9591 in 2024) lets each signer use their key share to compute a partial signature. These partial signatures are aggregated into a complete Schnorr signature that is mathematically valid and indistinguishable from a single-signer signature. The full private key never exists in any location during this process.

FROST signing works in two rounds. You need both rounds to produce the signature.

The coordinator sums the partial signatures into a final signature. Standard Schnorr verification checks it against the group public key, so no observer can tell that multiple signers were involved.

Generating Key Shares Without a Dealer

Classic SSS requires a trusted dealer who knows the entire secret during share distribution. Distributed Key Generation (DKG) removes this requirement by letting participants generate shares together.

The group secret key is implicitly the sum of all participants' constant terms, but no single participant ever knows it. The group public key is computed from the published commitments. FROST uses this approach for key generation, and it is essential for protocols like statechains where no party should hold the complete key.

Key Shares vs. Multisig

Key shares and multisig wallets both distribute signing authority. They differ in fundamental ways.

Taproot makes threshold-signed transactions using FROST appear as standard key-path spends. An observer sees a single 64-byte Schnorr signature and cannot determine whether one party or twenty produced it. Spark chose threshold key shares over on-chain multisig for these privacy and efficiency advantages; for a detailed comparison, see the research article on MPC vs. multisig custody.

Institutional Custody

Custodians like Fireblocks, Coinbase and BitGo use threshold key shares, commonly 2-of-3 or 3-of-5, to secure digital assets. Different shares reside on separate hardware security modules in different data centres or jurisdictions, so an attacker who breaches one facility gains nothing without the threshold number of shares. Key share refresh lets custodians rotate shares periodically, invalidating any previously compromised material without changing the public key or moving funds on-chain.

Statechain Transfers

Statechains use key shares to transfer Bitcoin ownership off-chain without broadcasting transactions. Spark's model gives each virtual UTXO a 2-of-2 arrangement: one key share belongs to the user, and the Statechain Entity (SE) federation collectively holds the other using FROST threshold signatures.

Alice transfers to Bob through Spark's off-chain process. The key-share arrangement controls the ownership change.

The on-chain UTXO never moves, and from Bitcoin's perspective nothing happened. Ownership still transferred securely off-chain. For a deeper look at this architecture, see the Spark Layer 2 overview and the statechains deep dive.

Distributed Backup and Recovery

Key shares provide resilient backup for private keys. You can split your key into 3 shares with a threshold of 2 and store them separately in a home safe, a bank deposit box and with a trusted family member; losing any single share does not compromise the key, and any two shares reconstruct it. The approach is more flexible than all-or-nothing seed phrase backups; for more detail, see the research on Shamir backup strategies.

MPC Wallets

MPC wallets distribute key shares between your device and one or more servers, typically in a 2-of-3 setup with one share on your phone, one on the wallet provider's server and one in cold storage for recovery. The wallet provider cannot move funds unilaterally because it holds only one share, while you can transact normally with your device share plus the server share. This model improves key management UX while preserving user control.

Key Share Refresh

Key share schemes are refreshable. Participants can run a "zero-secret DKG", where the implicit secret is zero, and each participant adds the resulting new share to their existing share.

The refresh gives each participant a new share. The group keeps the same secret and public key.

Long-lived keys benefit from this protection. Even if an attacker obtained a share months ago, a refresh renders it worthless. Spark's SE federation can refresh shares periodically to maintain security without requiring users to take any action.

Nonce Management

FROST and similar threshold signing protocols require each signer to generate fresh, random nonces for every signing session. Reusing a nonce leaks the signer's key share, just as nonce reuse in standard Schnorr signatures leaks the full private key. Implementations must use cryptographically secure random number generators and never persist nonces across sessions.

DKG Security Assumptions

DKG assumes that fewer than t participants are malicious during distributed key generation. An adversary controlling t or more parties during DKG can bias the resulting key or learn the group secret. The threshold property holds after DKG completes, so an attacker still needs t shares to sign, and the vulnerability window is limited to the generation ceremony itself.

Key Deletion Cannot Be Proven

Statechain protocols rely on operators deleting old key shares after ownership transfers, but deletion is an operational promise with no cryptographic proof that data has been destroyed. Spark mitigates this through federation: the Statechain Entity consists of multiple independent operators, and security requires only one operator to delete its share honestly. The resulting 1-of-n trust model is significantly stronger than relying on a single operator.

Communication Overhead

Multisig signers can produce signatures independently, but threshold signing requires interactive communication rounds. Signers must exchange commitments and partial signatures in real time, which introduces latency and requires reliable networking. If a signer goes offline during a signing session, the remaining signers can complete the signature only if they still meet the threshold.

Implementation Complexity

Threshold cryptography implementations are notoriously difficult to get right. Subtle bugs in share verification, nonce handling or Lagrange coefficient computation can create catastrophic vulnerabilities, so independent cryptographic audits are essential for any production deployment of key share infrastructure.

The glossary entry is for informational purposes only and does not constitute financial or investment advice. You should always do your own research before using any protocol or technology.

0

← All 1876 glossary terms