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

Reconstruct private key #15

Open
khaq opened this issue May 9, 2021 · 3 comments
Open

Reconstruct private key #15

khaq opened this issue May 9, 2021 · 3 comments
Assignees

Comments

@khaq
Copy link

khaq commented May 9, 2021

Is there any example to reconstruct private key from each private keys or share keys?

@omershlo omershlo self-assigned this May 9, 2021
@omershlo
Copy link
Contributor

omershlo commented May 9, 2021

Hi @khaq ,
ideally we want to avoid reconstructing the key, because it misses the point of running threshold (distributed) signing.
It can be useful for recovery. I suggest you look in gotham-city where we describe theory and implement such recovery.
In the general threshold case we don't have such example (but intuitively it should work the same way)

@khaq
Copy link
Author

khaq commented May 9, 2021

Yes, I am looking for the solution for development verification and disaster recovery, not for normal use case. Let me check the gotham city code. I found the example for ecdsa here https://github.com/ZenGo-X/multi-party-ecdsa/blob/master/src/protocols/multi_party_ecdsa/gg_2020/orchestrate.rs#L819 but it may not work with eddsa. Thank you.

@lucky1024
Copy link

@omershlo In thresholdsig, I know the lefthalf of sha512(private key) can be reconstructed from shared keys. But, this is not a Ed25519 private key, can not be used in other Ed25519 library directly.

Is it possible to reconstruct the standard Ed25519 private key?

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

No branches or pull requests

3 participants