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

How to decryto the encrypted_data when request the media_detail_state? #339

Open
Whirlwind opened this issue Dec 11, 2024 · 3 comments
Open

Comments

@Whirlwind
Copy link

The GetMediaDetailState command will get the message:

{
    actionStatus {
    }
    vehicleData {
      encrypted_data {
        field_number: media_detail_state
        ciphertext: 94BEC155137DC775BB27A8EC98A2C7434EF583B5735A1E227038FDF7D352F73CDA
        tag: DFFD3C8F0B9D1DAF0FFE088ADD1A58FE728BD6B2B56067571EF9493D
      }
      media_detail_state {
      }
      supports_optional_fields: true
    }
}

I don't find how to decryto the encrypted_data, could somebody help me?

@sethterashima
Copy link
Collaborator

This encryption method is no longer used in 2023.38+, and we don't intended to add SDK support. SDK support for the newer encryption method was added in #330 .

@Whirlwind
Copy link
Author

@sethterashima I get the encrypted_data response from the Model 3 with 2023.38.8, and use the newer encryption method.

@sethterashima
Copy link
Collaborator

Is this over BLE or over the Internet? You might get this format if the car is offline, since location data cached on the server is encrypted using the older method.

@sethterashima sethterashima reopened this Dec 16, 2024
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

2 participants