-
Notifications
You must be signed in to change notification settings - Fork 19
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
Make it impossible to create less than threshold
kfrags in generate_kfrags()
?
#48
Comments
fjarri
changed the title
Make it impossible to create less than
Make it impossible to create less than May 19, 2021
threshold
kfrags in generate_kfrags()
threshold
kfrags in generate_kfrags()
?
Following the discussion in nucypher/nucypher#2774, we're renaming |
This is related to #85 - should we just panic if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the user can supply
num_kfrags < threshold
, rendering the resulting kfrags useless. We can passoverhead
(or some other name) instead ofnum_kfrags
, and returnthreshold + overhead
kfrags. If boththreshold
andoverhead
are unsigned, it will be impossible to create a set of useless kfrags.The text was updated successfully, but these errors were encountered: