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

Make 1st frame of multi-frame messages always unencrypted #168

Merged
merged 1 commit into from
May 29, 2019

Conversation

dboltovskyi
Copy link
Contributor

Summary:
In case of multi-frame messages 1st frame has to be always unencrypted.

Description:
1st frame incorporates Total message size and Number of consecutive frames data.
In case if it's encrypted SDL is unable to know how many consecutive frames it has to proceed.
Since SDL tries to do as much as possible sometimes this lack of knowledge does not lead to message drop.
However in case if number of frames > 64 it will very likely lead to message drop.
This PR makes 1st frame to be always unencrypted.

@dboltovskyi
Copy link
Contributor Author

This fix is also related to smartdevicelink/sdl_core#2384 and appropriate changes in scripts smartdevicelink/sdl_atf_test_scripts#2146

@dboltovskyi dboltovskyi merged commit ba1194b into develop May 29, 2019
@ShobhitAd ShobhitAd mentioned this pull request Oct 30, 2019
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

Successfully merging this pull request may close these issues.

2 participants