ringtail

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package ringtail implements a post-quantum lattice-based threshold signature scheme.

Ringtail provides quantum-resistant threshold signatures using lattice cryptography, specifically designed for high-security applications requiring protection against quantum computer attacks.

The protocol supports:

  • (t,n)-threshold signatures where t parties can sign
  • Post-quantum security based on Module-LWE hardness
  • Efficient key generation and signing
  • Share refresh for proactive security
  • Compatible with Lux's threshold infrastructure

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keygen

func Keygen(selfID party.ID, participants []party.ID, threshold int, pl *pool.Pool) protocol.StartFunc

Keygen initiates the Ringtail threshold key generation protocol.

This creates a new lattice-based key pair with the private key shared among n participants such that any t of them can collaborate to sign.

func Refresh

func Refresh(config *Config, participants []party.ID, newThreshold int, pl *pool.Pool) protocol.StartFunc

Refresh initiates the share refresh protocol.

This updates all shares while maintaining the same public key, providing proactive security against gradual key compromise.

func Sign

func Sign(config *Config, signers []party.ID, message []byte, pl *pool.Pool) protocol.StartFunc

Sign initiates the Ringtail threshold signing protocol.

Given a message and a set of signers (at least threshold many), this produces a valid Ringtail signature.

func VerifySignature

func VerifySignature(publicKey []byte, message []byte, signature []byte) bool

VerifySignature verifies a Ringtail signature against a public key and message.

This is a standalone verification that doesn't require threshold participation.

Types

type Config

type Config = config.Config

Config holds the configuration for a Ringtail threshold signing participant

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL