0xMiden / 0xMiden/golden-dkg

1-of-N shares are not supported

Offen
#64 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
4
Forks
4
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
9

Beschreibung

I think this was implicitly acknowledged in #10, but one cannot create 1/2 or 1/3 etc because it ends with a zero share identify (or whatever the phrasing is).

Is this a known constraint, i.e. `1` of `N` shares are explicitly disallowed, and `1` of `1` was added as an exception? Or is this a bug?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Look at the code handling share creation, likely in a module like dkg.rs or share.rs. The issue mentions #10 for context. Check the validation logic for share identities, especially around zero values. Run existing tests related to share creation to see if 1-of-N cases are covered. The fix will involve adjusting the validation to allow 1-of-N shares while maintaining security properties.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
cryptography
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.