"""
private_key_shard_manager — MPC key shard management using Shamir's Secret Sharing: split a key into N shards (K-of-N required to reconstruct), reconstruct from K shards, or verify shard validity
PREMIUM SKILL — full implementation available to subscribers.
Subscribe: https://snowdrop.ai (launching soon)
AUTO-GENERATED STUB — do not edit manually.
Source of truth: snowdrop-core/skills/premium/technical/private_key_shard_manager.py
Regenerate: python scripts/build_public_stubs.py
"""
from __future__ import annotations # defers annotation evaluation (PEP 563)
from typing import Any, Optional, Union # FastMCP resolves annotations via get_type_hints()
from skills._paywall import paywall_response
TOOL_META = {
"name": "private_key_shard_manager",
"tier": "premium",
"description": "MPC key shard management using Shamir's Secret Sharing: split a key into N shards (K-of-N required to reconstruct), reconstruct from K shards, or verify shard validity. (Premium — subscribe at https://snowdrop.ai)",
}
def private_key_shard_manager(action: str, threshold: int, total_shards: int, key_data: str = '', shards: list[str] | None = None) -> dict:
"""Premium skill — subscribe to access full implementation."""
return paywall_response("private_key_shard_manager")