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

wrongly expect encrypted alerts after ServerHello flight #19

Open
Julien00859 opened this issue Apr 13, 2024 · 1 comment
Open

wrongly expect encrypted alerts after ServerHello flight #19

Julien00859 opened this issue Apr 13, 2024 · 1 comment

Comments

@Julien00859
Copy link
Owner

In case siotls acts as a server and that the other side sends an alert (e.g. for a bad certificate) that alert is going to be sent by the client in clear text but at the moment (because we are post ServerHello flight) siotls expects to read encrypted data. Deciphering clear-text just doesn't work.

@Julien00859
Copy link
Owner Author

there are bits on the state machine telling that we should ignore the decrypts errors

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