Not ECDSA. Not Schnorr. Meet DahLIAS.
Combination signatures aren’t new. They’ve been round because the early 2000s. However constructing one that really works in Bitcoin’s safety mannequin, with Bitcoin’s elliptic curve, has by no means been confirmed. Builders speculated it is likely to be potential. They shared hand-wavy sketches and stated, “perhaps it’d work like MuSig2, however throughout transaction inputs.” The thought lingered for years as developer folklore, shut, by no means provably confirmed.
That modified just lately, when Jonas Nick and Tim Ruffing of Blockstream Analysis, along with Yannick Seurin of Ledger, printed a paper that turned this cryptographic ghost story right into a concrete, provable outcome. DahLIAS is the primary formal, safe building of a full constant-size mixture signature (CISA) scheme that works on Bitcoin’s native curve!
However that’s a number of phrases, so let’s break that down:
- Full aggregation: A number of signatures throughout completely different inputs are mixed into one — and the result’s a 64 byte signature whose dimension stays fixed, regardless of what number of signers or inputs.
- Cross-input: Every signer can authorize completely different inputs, and all mix into one signature.
It provides no vital new assumptions past these already relied on by Bitcoin. DahLIAS builds a brand new cryptographic primitive utilizing the identical math Bitcoin already depends on, unlocking a completely new sort of signature.
Let’s Discuss About Curves and Signatures
Digital signatures are how Bitcoin proves {that a} consumer has licensed a transaction. Whenever you go to spend bitcoin, your pockets makes use of a personal key to signal a message, and the community verifies that signature utilizing the matching public key.
Bitcoin makes use of the secp256k1 curve. It’s quick, environment friendly, and has been battle-tested over time. It helps signature schemes like ECDSA (Bitcoin’s authentic signature algorithm) and Schnorr (added by Taproot in 2021), that are at the moment the one signature schemes permitted by Bitcoin consensus.
Historically, full signature aggregation relied on mathematical operations not supported by Bitcoin’s curve, secp256k1, which made it appear out of attain. These options have usually relied on different varieties of elliptic curves. For instance, BLS (Boneh–Lynn–Shacham) signatures use a particular sort of curve known as a pairing-friendly curve, which permits superior operations like combining many signatures, even on completely different messages, into one.
The issue is that BLS signatures don’t work on secp256k1. Whereas Schnorr was a pure improve from ECDSA, since each depend on the identical sort of elliptic curve, including BLS can be a a lot larger leap and a departure from Bitcoin’s current safety mannequin. Although technically potential, it will introduce new cryptographic assumptions and add vital complexity to the protocol. Supporting a curve that’s pairing-friendly, like BLS12-381, can be a significant change for Bitcoin.
That is a part of why full signature aggregation has by no means been achieved on secp256k1.
Till now.
What Combination Signatures Really Do
Most Bitcoin customers are accustomed to multisignatures. In a multisig pockets, a number of individuals collectively authorize the spending of a single UTXO or some particular “coin”. Everybody indicators the identical enter information. This setup is helpful for issues like shared custody wallets.
Combination signatures work otherwise. As an alternative of a number of individuals signing the identical enter or coin, every signer authorizes a distinct UTXO in a transaction. These separate signatures are then compressed into one compact proof. With DahLIAS, which means a single 64-byte signature on Bitcoin’s secp256k1 curve that verifies all inputs without delay.
Meaning if in case you have 5 inputs from 5 completely different individuals, the transaction wants 5 completely different signatures. With an mixture signature, all of these could be bundled into one. Even when every signer is spending a distinct enter and signing a distinct a part of the transaction, the result’s one signature that proves your entire transaction was correctly licensed.
It’s like zipping an entire listing of approvals into one file. The signature is compact, however nonetheless verifiably proves that every signer licensed their particular UTXO.
As an alternative of verifying 10 separate signatures, you confirm one.
This helps realign incentives for privateness. By decreasing the signature overhead to a single 64-byte proof, DahLIAS lowers the price of combining inputs in CoinJoins, making it financially smarter to decide on privateness than to go with out it.
Why Half-Aggregation Acquired Shut
Shortly after Schnorr signatures have been launched on Bitcoin, builders explored half-aggregation, as a strategy to compress a number of signatures however they weren’t mounted dimension. Every enter contributes to the dimensions of the signature, so the transaction nonetheless grows with each participant. DahLIAS fixes this by enabling full-aggregation throughout inputs and signers. Irrespective of how many individuals are concerned or what they’re signing, all their signatures compress into one constant-size, 64-byte proof.
What DahLIAS Really Unlocks
The principle profit right here is that DahLIAS are decreasing the dimensions of advanced transactions.
DahLIAS makes use of a two-round interactive signing course of. It’s just like MuSig2 in that regard, however it isn’t a multisignature protocol as a result of it doesn’t require all members to co-sign the identical message. As an alternative, it aggregates completely different signatures on completely different messages throughout the transaction.
DahLIAS can also be sooner to confirm than checking every signature individually, as much as twice as quick in some instances. Decrease verification prices make it simpler for extra individuals to run full nodes, which helps protect Bitcoin’s decentralization over time.
Importantly, DahLIAS comes with sturdy cryptographic ensures. The scheme consists of formal safety proofs. Earlier ‘folklore’ approaches to full signature aggregation lacked this, and a few have been even later proven to be insecure. Thankfully they weren’t adopted prematurely.
It’s value repeating: DahLIAS will not be a multisig protocol. It isn’t corresponding to MuSig2 or FROST from a useful standpoint, even when it shares comparable cryptographic constructing blocks. It serves a distinct function. It provides a brand new strategy to encode many impartial approvals into one clear, verifiable package deal.
Future Instructions
You may suppose: if DahLIAS is so highly effective, why isn’t it a BIP? Why not suggest it for Bitcoin consensus?
DahLIAS signatures don’t appear like Schnorr or ECDSA signatures. The verification algorithm is completely different. As an alternative of taking a single public key, message, and signature, a DahLIAS verifier takes lists of public keys and messages, and a single 64-byte proof.
This makes DahLIAS incompatible with Bitcoin’s present consensus guidelines. Supporting it on the base layer would require a consensus change. This paper doesn’t suggest that change, however it does one thing equally vital.
This paper exhibits {that a} full signature aggregation scheme for Bitcoin’s native curve is feasible.
That alone is a significant step ahead.
To make DahLIAS a part of Bitcoin, somebody would want to jot down a Bitcoin Enchancment Proposal (BIP), perhaps even utilizing secp256k1lab. Meaning specifying the scheme intimately, contemplating its implications for consensus and implementation, and constructing group assist. This paper lays the cryptographic basis for that dialog.
The true worth of the DahLIAS paper is what it proves. Full signature aggregation on secp256k1 isn’t just a thought experiment. It’s concrete. It’s environment friendly. It’s safe. For years, the thought lived in developer folklore. Now, it’s written down, analyzed, and confirmed. All that’s left is to convey it to Bitcoin—if we would like it.
It is a visitor submit by Kiara Bickers. Opinions expressed are fully their very own and don’t essentially replicate these of BTC Inc or Bitcoin Journal.
This submit Not ECDSA. Not Schnorr. Meet DahLIAS. first appeared on Bitcoin Magazine and is written by Kiara Bickers.