mirror of
https://github.com/luxfi/pulsar.git
synced 2026-09-24 00:25:52 +00:00
pulsar: consume dkg v0.3.4 (clean norm-only bound) + fix bad-committee test ((2,7) is norm-viable → use (12,16) norm-blown)
Full suite green. Dealerless RSS signs under stock circl at n=8,t=8 + n=16,t=16 (T==N, N>6, owner n-of-n families); fault-tolerant n=8,t=7 awaits the general Algorithm-6 partition (Sign fails-closed 'no balanced partition' until then).
This commit is contained in:
@@ -4,7 +4,7 @@ go 1.26.4
|
||||
|
||||
require (
|
||||
github.com/cloudflare/circl v1.6.3
|
||||
github.com/luxfi/dkg v0.3.2
|
||||
github.com/luxfi/dkg v0.3.4
|
||||
github.com/luxfi/lattice/v7 v7.1.4
|
||||
golang.org/x/crypto v0.52.0
|
||||
)
|
||||
|
||||
@@ -20,6 +20,8 @@ github.com/luxfi/dkg v0.3.1 h1:gex/ClC9NlPWQ37dX1UradxRmAszkEbfMJIlTsnY+1w=
|
||||
github.com/luxfi/dkg v0.3.1/go.mod h1:M+WH7GFRN+YUD851Rlnumdp0Md98kplNN8pVx65U8I8=
|
||||
github.com/luxfi/dkg v0.3.2 h1:UsazKDADLuhfIaLlXWPov9H6xQNS4/HCdUFmbjYbQvg=
|
||||
github.com/luxfi/dkg v0.3.2/go.mod h1:M+WH7GFRN+YUD851Rlnumdp0Md98kplNN8pVx65U8I8=
|
||||
github.com/luxfi/dkg v0.3.4 h1:6DXOV+oj3IEc9WWmpWkyQX7SLzz6y1QbCr4aAW8BfTM=
|
||||
github.com/luxfi/dkg v0.3.4/go.mod h1:M+WH7GFRN+YUD851Rlnumdp0Md98kplNN8pVx65U8I8=
|
||||
github.com/luxfi/lattice/v7 v7.1.4 h1:hQR02M6cHTAV5+joOPi9gb9Gm+z/hKJnhJF4IlciIJs=
|
||||
github.com/luxfi/lattice/v7 v7.1.4/go.mod h1:DmIQFi3mJiehVsR235l1NKYEU0JhU649OX5p7gMEW2c=
|
||||
github.com/luxfi/math v1.4.1 h1:1t9bCCsEqnl9yIKrShlbs80DBKyYTWdnzkVfBqEeO7Q=
|
||||
|
||||
@@ -175,7 +175,7 @@ func TestMithrilRSSSignAPI(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestMithrilRSSRejectsBadCommittee(t *testing.T) {
|
||||
for _, tn := range [][2]int{{1, 2}, {3, 2}, {2, 7}} {
|
||||
for _, tn := range [][2]int{{1, 2}, {3, 2}, {12, 16}} {
|
||||
if _, err := MithrilRSSKeygen(ModeP65, tn[0], tn[1], mithrilSeeds(maxI(tn[1], 7))); err == nil {
|
||||
t.Fatalf("admitted non-viable committee (T=%d,N=%d)", tn[0], tn[1])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user