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

KeyknoxClientError: Adding more than 30 participants to a group triggers 50005 10kb meta param limit error #160

Closed
thecannabisapp opened this issue Apr 16, 2023 · 1 comment

Comments

@thecannabisapp
Copy link

thecannabisapp commented Apr 16, 2023

Describe the bug
Creating an encryption group with more than 30 participants causes the meta param to exceed the 10kb limit and prevents the group from being created.

image

To Reproduce
Steps to reproduce the behaviour:

  1. Pass in string[] with more than 30 strings into const users = await eThree.findUsers(members);
  2. Pass the FindUsersResult with more than 30 users into const group = await eThree.createGroup(c.cid, users);
  3. This causes the meta param to exceed the 10kb limit.

image

Expected behaviour
I couldn't find documentation on the maximum number of participants supported by group encryption. Maybe some warnings in the doc would be useful. Also, I don't know why the meta-param size is relational to the number of participants added to a group. A clear explanation would be useful.

Additional context
"@virgilsecurity/e3kit-browser": "2.5.1",

@thecannabisapp
Copy link
Author

Handling the limit in my app, so no more than 30 users get added or removed in one op.

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

1 participant