-
Notifications
You must be signed in to change notification settings - Fork 38
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
Expose the caller's specifed key size in ConnectionRequest #216
Conversation
Thank you! This is a great improvement. I can help you get this merged too. Two things though:
Once the build is fixed, I'll get your changes merged. If you'd add a unit test as well, I'd appreciate that, but I won't block merging your PE on this. |
Ok, the macos build is failing, because of c library compilation failures, but we can deal with that later. |
You can quickly and easily run both clippy and fmt locally to avoid the CI build failures |
@robertream Hi, thank you for your help. I'll add the unit test later today – we can wait to merge until that's in. Oddly, I'm not able to see these clippy warnings or correct the formatting with the cargo commands. The clippy command seems to be getting stuck on the macos issues. |
These integration test failures we are seeing in CI here are the precise reason why I prefer determinist isolation tests ("unit tests") to non-deterministic integraion tests for coverage of determinist logic. |
Hi @robertream, I updated the PR to remove the integration test and instead include a unit test. Please let me know if it looks ok. |
Hi @robertream, can you please cut a release once the macos build is fixed? Also, is there anything I can do to help with the fix? |
Currently, it is not possible to retrieve the caller's specified key size when handling a
ConnectionRequest
.This means we must defer to the library to handle the key size. This presents a number of issues:
This PR adds a key size field to the
ConnectionRequest
type, which serves as a workaround for 1 and 2 and a solution for 3.It also includes: