-
Notifications
You must be signed in to change notification settings - Fork 48
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
bug(ot): co15 doesnt enforce correct ot count #194
Comments
Is there currently an error type which can be sent between players to act as an abort? If there was, an easy way to solve this would be for the Sender to check the |
Something along the lines of #199 might help fix the issue. There's probably a better way of organizing the errors, definitely open to suggestions. |
Hi @n-lebel thanks for the attention on the issue. I should have specified that this issue pertains to the Regarding the solution, we specifically avoid returning error information to peers as doing so is a known avenue for attacks. Returning an error locally is sufficient for debugging purposes. |
Good to know, I'll have a look at that branch in that case. Just to make sure about the attack vector comment, you're talking about communicating errors more generally and not this specific solution (assuming everything is constant-time), correct? |
Yes, speaking in general we don't send errors over the wire |
Suppose, the receiver queues 60 OTs.
Suppose in
receive
the length ofSenderPayload
is 30.Why is it not an error that the receiver will get only 30 OTs out of the 60 that they intended to receive?
Originally posted by @themighty1 in #186 (comment)
The text was updated successfully, but these errors were encountered: