Skip to main content

proactive_refresh

Function proactive_refresh 

Source
pub fn proactive_refresh(
    current_key_packages: &BTreeMap<Identifier, KeyPackage>,
    requested_threshold: u16,
) -> Result<BTreeMap<Identifier, KeyPackage>, ThresholdError>
Expand description

Performs a proactive share refresh across all signers while preserving the exact same group verifying key.

CVE-2025-58359 Hardening: Explicitly enforces that requested_threshold == current.min_signers(). Any change to the threshold MUST be performed through a full resharing/DKG ceremony, not an in-place refresh.