Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zcash FROST keygen / sign #65

Merged
merged 80 commits into from
Mar 1, 2024
Merged

Zcash FROST keygen / sign #65

merged 80 commits into from
Mar 1, 2024

Conversation

drewstone
Copy link
Contributor

No description provided.

@drewstone
Copy link
Contributor Author

OK I updated the README here too @tbraun96, still stuck on same issue w/ message ordering

@drewstone drewstone requested a review from shekohex February 14, 2024 12:04
Copy link
Contributor

@shekohex shekohex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far! Aside from merge conflicts, which should be resolved soon after my #499 PR.

Comment on lines +39 to +61
/// Message from round 1
#[derive(Clone, Serialize, Deserialize, udigest::Digestable)]
#[serde(bound = "")]
#[udigest(bound = "")]
#[udigest(tag = "zcash.frost.keygen.threshold.round1")]
pub struct MsgRound1 {
pub msg: Vec<u8>,
}
/// Message from round 2
#[derive(Clone, Serialize, Deserialize, udigest::Digestable)]
#[serde(bound = "")]
#[udigest(bound = "")]
#[udigest(tag = "zcash.frost.keygen.threshold.round2")]
pub struct MsgRound2 {
pub msg: Vec<u8>,
}
/// Message from round 3
#[derive(Clone, Serialize, Deserialize)]
#[serde(bound = "")]
pub struct MsgRound3 {
pub msg: Vec<u8>,
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should start thinking about moving away from vec and start using actual message structure here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we'll need to generalize over the C: CipherSuite which unfortunately was causing me issues sharing between threads.

@tbraun96 tbraun96 merged commit 3010e4f into main Mar 1, 2024
3 of 13 checks passed
@shekohex shekohex deleted the drew/zcashfrost branch March 25, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants