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

Store threshold in KeyFrags and CapsuleFrags? #6

Open
fjarri opened this issue Aug 6, 2020 · 2 comments
Open

Store threshold in KeyFrags and CapsuleFrags? #6

fjarri opened this issue Aug 6, 2020 · 2 comments
Labels
ABI Changes the format of serialized objects API Related to public API enhancement New feature or request
Milestone

Comments

@fjarri
Copy link
Contributor

fjarri commented Aug 6, 2020

Would make it easier to check the validity at the receiver's side.

@fjarri fjarri added enhancement New feature or request cryptography Needs attention of someone who knows what they're doing labels Aug 6, 2020
@tuxxy
Copy link

tuxxy commented Aug 12, 2020

Does this refer to the actual threshold number itself? If so, going along with my comments in #4, I think it might make more sense to try to let the developer compose this on their own rather than compose it in the library here.

@fjarri fjarri added the API Related to public API label Nov 29, 2020
@fjarri fjarri added this to the v0.1.0 milestone Apr 7, 2021
@fjarri fjarri removed the cryptography Needs attention of someone who knows what they're doing label Apr 19, 2021
@fjarri fjarri modified the milestones: v0.2.0, v1.0.0 Jun 13, 2021
@fjarri fjarri added the ABI Changes the format of serialized objects label Jun 21, 2021
@fjarri
Copy link
Contributor Author

fjarri commented Jun 22, 2021

Note: since decrypt_reencrypted() (or Capsule::open_reencrypted()) don't know the value of the threshold, it is possible to supply more cfrags than is necessary and get the expected result, but with decreased performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ABI Changes the format of serialized objects API Related to public API enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants