-
Notifications
You must be signed in to change notification settings - Fork 577
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
Cannot set AD for ChaCha20Poly1305 while processing a message #4568
Comments
I don't think OpenSC/SoftHSM being in the stack would make much change (absent a memory corruption or something like that completely making a mess, which is always possible - but nothing to indicate that so far) I've never seen anything like this and looking at the relevant calls to Is this with TLS 1.2 or 1.3?
Is more than one thread accessing a Things to try At the point this exception is thrown (line 58 of Run under helgrind (https://valgrind.org/docs/manual/hg-manual.html) and see if anything errors [it's really slow though] |
@larssilven Any update on this? If there is a bug here we absolutely want to find and fix it. But without any reproducing (or even sporadic) testcase on our end it's hard to make much progress. |
Found out the cause of the problem. Thank you for your help and for your excellent library. |
Could you please provide some information on this exception. I have got it at several occasions in TLS connections but not frequently. A test could be working without failures most of the times but then the exception just appear without anything changed.
In the latest occasion I was running a test that is transferring data between client and server in both directions (just to test the robustness of my protocol). 768 GiB was transferred by 12 threads on each side. I got the exception once on the server side and after this the failing server thread and the corresponding client thread was terminated. But the other threads continued without any failures. Some info about the test:
Maybe you could recommend some parameters for a new build to get more info about the problem?
Do you think it could be any problem with the OpenSC private key?
BR Lars
The text was updated successfully, but these errors were encountered: