---
title: "Key Refresh — definition | Nuri Glossary"
description: "Replacing every share of a threshold key while keeping the same public key, so old shares become useless."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/key-refresh"
---

# Key Refresh

Replacing every share of a threshold key while keeping the same public key, so old shares become useless.

## Basically

Key refresh replaces the secret shares used to control a Bitcoin key. The public key and addresses stay the same, which limits the time an attacker can use a stolen share.

## Key Takeaways

- Key refresh replaces every participant's key share with a new one while keeping the aggregate public key and any associated on-chain addresses unchanged.
- The protocol adds shares of zero: each participant generates a random polynomial with a zero constant term, so the group secret stays the same while every individual share becomes a fresh, unrelated value.
- Refreshing limits the damage from a compromised share and supports changes to the signer set, making it a core building block for protocols like FROST and systems like Spark.

## What Is Key Refresh?

Key refresh is a cryptographic sub-protocol that re-randomises the key shares held by participants in a threshold signature scheme. After a refresh, every participant holds a brand-new share that is mathematically unrelated to the one it replaced, yet the group's aggregate public key remains identical. Any Bitcoin address, smart contract or on-chain commitment tied to that public key continues to work exactly as before.
Key refresh differs from a full distributed key generation (DKG) ceremony. A DKG creates an entirely new key pair with a new secret, a new public key and new addresses. Key refresh instead preserves the existing key pair while rotating the secret shares that protect it, like changing the locks on a safe without changing the safe: the contents stay the same, but old keys no longer open the door.

## How It Works

Key refresh relies on a property of Shamir's Secret Sharing: shares of the same secret can be added together, and the resulting shares reconstruct the same secret. Each participant contributes shares of zero, shifting every share to a new value without altering the secret.
The zero constant term in every polynomial means the sum of all constant terms is also zero. The group secret s = f(0) therefore remains unchanged. At every other evaluation point, the added randomness transforms the share into a completely new value.

## Verification

Participants need assurance that everyone else actually chose a zero constant term. A malicious participant who picks a non-zero constant would silently change the group secret and corrupt the key. The standard defence uses commitments: each participant publishes Pedersen commitments or Feldman commitments to their polynomial's coefficients, and the others verify that the constant-term commitment equals the identity element, the point at infinity for elliptic curves, which proves the constant is zero without revealing any other coefficient.

## Code Example

The frost-core Rust library, version 3.0, exposes refresh through dedicated functions. You can use these functions to run the refresh process.
A fully distributed, trustless refresh uses refresh_dkg_part1(), refresh_dkg_part2(), and refresh_dkg_shares(). These functions follow the same zero-polynomial approach and do not require a trusted dealer.

## Key Refresh vs. Full DKG

Key refresh keeps the existing key pair and replaces only the secret shares. A complete DKG creates a new secret, a new public key and new addresses.

## Why It Matters

Shares in any long-lived threshold signature deployment face exposure risk as servers get breached, devices get lost and employees leave organisations. An attacker who quietly collects shares over time is known as a "mobile adversary". Without refresh, that attacker can eventually accumulate enough shares to forge signatures.
Key refresh limits this window. A refresh tomorrow makes a share stolen today useless because it no longer corresponds to any participant's current share, and combining old and new shares cannot produce a valid signature. Proactive security is the name for this property.
Bitcoin Layer 2 protocols gain particular value from key refresh. Spark, for example, uses FROST-based signing where each transfer of a virtual UTXO involves rotating key shares between sender and recipient while keeping the same aggregate public key on the anchor transaction. The operator generates a new share for the recipient, adjusts its own share so the combined key stays fixed, and deletes the old share that corresponded to the sender, enabling off-chain ownership transfers without touching the blockchain.

## Proactive Security

Organisations running multisig or threshold wallets can schedule periodic refreshes daily, weekly or per-epoch to limit the exposure window. The process is the cryptographic equivalent of rotating passwords: even if a share leaks, the attacker has a limited time to exploit it. Proactive threshold schemes combine key refresh with secure deletion to enforce forward secrecy for custody operations.

## Changing the Signer Set

Key refresh allows adding or removing participants without generating a new key. When an employee leaves a custodial team, a refresh can redistribute shares to the remaining members, ensuring the departed employee's old share is worthless. When a new operator joins a network, refresh can issue them a valid share without exposing the secret or requiring all funds to migrate to a new address.

## Ownership Transfers

Statechains and Spark use key refresh as the core mechanism for transferring ownership of Bitcoin UTXOs off-chain. The refresh rotates the key share from the current owner to the new owner while the on-chain output locked to the aggregate public key remains untouched. Each transfer avoids the cost and latency of an on-chain transaction, and the Spark FROST signing performance analysis explains how this works in practice.

## Recovery and Repair

A refresh can immediately neutralise a leaked share when a participant suspects compromise through a stolen device, leaked backup or side-channel attack, without the disruption of generating a new key and migrating funds to a new address. Deleting the old share completes the recovery.

## Deletion Assumptions

Key refresh provides proactive security only if old shares are actually deleted. An adversary that captures both a pre-refresh and post-refresh share from the same participant may gain leaked information, and secure deletion is straightforward in hardware security modules but difficult to guarantee in software environments with backups, swap files and cloud storage. Protocols that rely on key refresh for ownership transfer, such as statechains, inherit this trust assumption: the operator must honestly delete old shares, and this cannot be verified cryptographically.

## Liveness Requirements

A refresh round requires at least t participants, the signing threshold, to be online and responsive, and it cannot complete if too many participants are offline. Systems that need frequent refreshes, such as every transfer or every epoch, therefore create a liveness dependency. A stalled refresh blocks ownership transfers or security rotations until quorum is restored.

## Abort and Rushing Attacks

A malicious participant can disrupt a refresh by aborting partway through, potentially learning other participants' deltas without contributing their own. Well-designed protocols include abort identification to detect and exclude malicious participants. A 2026 research paper also noted that publishing intermediate refresh tokens during an aborted round can leak the group secret, so careful protocol design matters.

## Threshold Cannot Change Freely

Standard key refresh preserves the existing threshold t, while changing it, for example from 2-of-3 to 3-of-5, requires a more complex resharing protocol. A security vulnerability, CVE-2025-58359, in the frost-core library demonstrated the risk: versions 2.0.0 through 2.1.0 allowed refreshing with a smaller min_signers value, which could reduce the scheme's security. The fix in version 2.2.0 enforces that refresh cannot lower the threshold.

## Coordination Overhead

Each refresh round requires an interactive protocol where participants exchange commitments and deltas, verify each other's contributions and update their local state. Communication overhead can become significant in networks with many participants or high refresh frequency. Some newer protocols offer non-interactive "catch-up" mechanisms that let offline participants derive their updated shares from public data when they return online, reducing the synchronisation burden.
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.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
