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

All signers know the signature #400

Open
JesseAbram opened this issue Sep 14, 2023 · 5 comments
Open

All signers know the signature #400

JesseAbram opened this issue Sep 14, 2023 · 5 comments
Assignees
Labels
Feature introduces a new feature

Comments

@JesseAbram
Copy link
Member

When the signing protocol happens currently at the end of the process the user and validators end up with the signature, which is fine when it is a tx but isn't if it is a message or for a login of sorts.

Proposed Solution

  • @fjarri had the concept of stopping at the last round and having a user build their signature theirselves
  • require the sig_account sig on random messages to accompany the sign in process
@JesseAbram JesseAbram added the Feature introduces a new feature label Sep 14, 2023
@HCastano
Copy link
Collaborator

Is this something that would be handled as part of core, server, or on the crypto side of things?

@JesseAbram
Copy link
Member Author

Is this something that would be handled as part of core, server, or on the crypto side of things?

core but then also sdk, as the client would have to rebuild the signature itself which would require compiling synedrion to webassembly to run in node/browser

@fjarri
Copy link
Member

fjarri commented Oct 11, 2023

The last step is just summing up curve scalars, which can be done easily in JS; the problem is what to do if the resulting signature is invalid. The CGGMP protocol has a branch for this, which involves calculating a bunch of ZK proofs using the saved randomness. So the nodes will have to keep that for some time in case the user requests an investigation.

@HCastano
Copy link
Collaborator

Should we have a set of SDK and Synedrion issues for this as well then?

@fjarri
Copy link
Member

fjarri commented Oct 11, 2023

I wasn't exactly sure if this functionality is needed; but fair enough, opened entropyxyz/synedrion#38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature introduces a new feature
Projects
None yet
Development

No branches or pull requests

4 participants