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 derive onStarAppConfig? #212

Closed
ddmore opened this issue Nov 30, 2022 · 2 comments
Closed

How to derive onStarAppConfig? #212

ddmore opened this issue Nov 30, 2022 · 2 comments

Comments

@ddmore
Copy link

ddmore commented Nov 30, 2022

Hi there,

First off, amazing project. Thank you for your continuing commitment and it's so neat having this configured with my Home Assistant.

However, I am confused:

"appId": "OMB_CVY_AND_5U0",
"appSecret": "NZbzagcuvTceQScyRTb6tiE78qzfBJVnHV7u",

How was this derived? It looks like it is an Android key, so I'm guessing load the APK in an enumerator and use tcpdump - is the key just in plaintext? Or.... how would one update this key, if the project ceased operations?

@samrum
Copy link
Owner

samrum commented Nov 30, 2022

Hi, they're encrypted within the APK! There's actually a java class someone created to pull the values from the APK available here: #208 (comment)

You can also grab them at runtime using an instrumentation tool like Frida.

@glassbase
Copy link

glassbase commented Nov 30, 2022

Use https://github.com/michaelwoods/onstar2mqtt for HA
Much easier

@ddmore ddmore closed this as completed Dec 1, 2022
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

3 participants