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
proposal: x/crypto: include shamir secret sharing algorithm #47033
Comments
Is there any kind of standard message format or encoding for the secret parts? Any RFC or other document? I understand the algorithm; I am trying to understand whether this would need to or be able to interoperate with any other system. If there are no systems to interoperate with, that raises a question of why, and whether we need to add it to Go. /cc @FiloSottile |
That's a good question. I'm not aware of an RFC for this algorithm or any other authoritative standards document. It's primarily described by academic literature. Perhaps this isn't a good fit for |
Usually the reason to put something in the standard library (or x/crypto) is to interoperate with other code that would be using the same exact algorithms/protocols/etc. This doesn't seem to fit in that bucket. It would probably be best to start with a package outside the standard library. See https://golang.org/doc/faq#x_in_std for more. |
Ok, thanks @rsc for the clarification. Closing. |
This proposal has been added to the active column of the proposals project |
This proposal has been declined as retracted. |
I propose the inclusion of the Shamir's Secret Sharing algorithm into the
x/crypto
tree under a new package titledshamir
.This is a common solution to the problem of splitting a secret securely for distribution to multiple parties.
If this meets the criteria for inclusion, I would be happy to submit a patch. Thanks!
The text was updated successfully, but these errors were encountered: