Skip to content

Sign round3 results with verifying share#3

Draft
arminsabouri wants to merge 2 commits intofeature/final-additional-tweakfrom
round3-attestations
Draft

Sign round3 results with verifying share#3
arminsabouri wants to merge 2 commits intofeature/final-additional-tweakfrom
round3-attestations

Conversation

@arminsabouri
Copy link
Owner

No description provided.

Copy link

@lamafab lamafab left a comment

Choose a reason for hiding this comment

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

Concept ACK.

I cannot judge those hand-implemented signature creation and verification mechanisms. Maybe it's worth it to use higher-level abstractions for this? Unless you're confident that this is safe, would like a second opinion on this - Claude.AI says it looks okay, though :)


let vpk = public_key_package.verifying_key();
let G = <Secp256K1Sha256TR as Ciphersuite>::Group::generator();
// TODO: figure out ordering of keys in public_key_package and signatures
Copy link

Choose a reason for hiding this comment

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

It would probably be better to use a BTreeMap type for attestations.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Good idea!

@arminsabouri
Copy link
Owner Author

Unless you're confident that this is safe,

Only as confident as you are. This code should be audited by a thirdparty

@arminsabouri arminsabouri requested a review from lamafab March 28, 2025 11:46
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.

2 participants