Skip to content

Commit

Permalink
Point out that aggregate coefficients need to be updated too
Browse files Browse the repository at this point in the history
  • Loading branch information
cygnusv committed May 21, 2024
1 parent 2f92a37 commit 9ffb75c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ferveo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,9 @@ mod test_dkg_full {
.refresh(&update_transcripts, &validator_map)
.unwrap();

// TODO: Assert new aggregate is different than original
// TODO: Assert new aggregate is different than original, including coefficients
assert_ne!(local_aggregate.aggregate, new_aggregate);

// TODO: Show that all participants obtain the same new aggregate transcript.

// Get decryption shares, now with the refreshed aggregate transcript:
Expand Down
2 changes: 1 addition & 1 deletion ferveo/src/pvss.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ impl<E: Pairing, T: Aggregate> PubliclyVerifiableSS<E, T> {
.collect();

let refresed_aggregate_transcript = Self {
coeffs: self.coeffs.clone(),
coeffs: self.coeffs.clone(), // FIXME: coeffs need to be updated too
shares: updated_blinded_shares,
sigma: self.sigma,
phantom: Default::default(),
Expand Down

0 comments on commit 9ffb75c

Please sign in to comment.