@bitkyc08/opencodex
Version:
Universal provider proxy for OpenAI Codex & Claude Code — use any LLM with Codex CLI/App/SDK and Claude Code
13 lines (10 loc) • 458 B
text/typescript
export interface SignatureThresholdKey {
keyId: string;
algorithm: string;
publicKey: string;
}
export interface SignatureThresholdEnvelope {
signatures: { keyFingerprint: string; signatureBox: string }[];
}
/** Cryptographic checking only: the caller establishes key authority and policy. */
export function verifySignatureThreshold(bytes: Uint8Array, envelope: SignatureThresholdEnvelope, keys: SignatureThresholdKey[], threshold: number): void;