Repository navigation
What's Changed
Patch release: additive APIs and internal hardening. No public items change or are removed, and protocol messages are byte-identical to 0.6.1, so 0.6.1 and 0.6.2 parties interoperate.
Share repair (protocols::repair)
- Rebuilds a lost party's share under the same group key, for secp256k1 and secp256r1.
Party::repair_termgives each of at leastthresholdhelpers a masked term (RepairTerm).- The masks are zero-sum shares from the helpers' pairwise zero-share seeds.
- They are bound to the session, the share's public key, the repair id, the target and the helper set.
repair_assemblechecks the terms and returns a hollow party:- it validates the package, the target and the helper indices;
- the helpers must agree on session id, chain code and group key;
- the sum must match the target's verifying share.
- The hollow party signs after a complete refresh across all parties.
- Requirements, documented in
docs/security.md:- The application authenticates the target.
- Terms travel over a confidential channel.
- Every party erases its pre-repair share after the refresh.
Other changes
ZeroShare::try_compute: reports a counterparty without a seed.computeis unchanged.- Constant-time OT bits: OT choice and correlation bits are selected in constant time with
subtle. This covers the base OT encryption proof, the OT extension andfield_mul, the multiplication, the fast refresh andre_key. - Zeroization: the temporary polynomials of DKG, the refreshes and
re_key, and the zero-share, fast-refresh and hashing temporaries.
Upgrade notes
Drop-in for 0.6.1; no action required. To repair a lost share, see the protocols::repair docs.
Published Crates
Acknowledgements
The share-repair design comes from José A.P. (@Jossec101) in libtss #8.
Full Changelog: v0.6.1...v0.6.2