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

SDL encrypts payload of 1st frame of multi-frame message #3659

Closed
dboltovskyi opened this issue Mar 11, 2021 · 1 comment
Closed

SDL encrypts payload of 1st frame of multi-frame message #3659

dboltovskyi opened this issue Mar 11, 2021 · 1 comment

Comments

@dboltovskyi
Copy link
Contributor

dboltovskyi commented Mar 11, 2021

Bug Report

In case if RPC service has switched to protected mode and SDL sends multi-frame message payload of 1st frame is encrypted. However it shouldn't be encrypted and it's size should always be 8 bytes. (See #2384)

Reproduction Steps
  1. Start SDL, HMI, connect mobile device
  2. Register new App
  3. Switch RPC service to protected mode
    => SDL starts PTU through protected channel and sends encrypted OnSystemRequest notification to mobile with Policy Table Snapshot (PTS). In case if PTS is >16kb it would be split into a few frames.
  4. Check content of the 1st frame
Expected Behavior
  • Payload is non-encrypted
  • Size is 8 bytes
Observed Behavior
  • Payload is encrypted
  • Size is greater than 8 bytes (30-50 bytes)
OS & Version Information
Test Case, Sample Code, and / or Example App
Decode:	2	true	45	8	20522	2
[14:23:00,243] SDL->MOB:  N:	OnSystemRequest (encrypted)

`2` - first frame
`true` - encryption flag
`45` - size of the payload
@LitvinenkoIra
Copy link
Contributor

Luxoft team is going to provide a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants