Skip to content

Commit eeb51b2

Browse files
committed
fix(leapmotor): correct cert extraction description
APK uses Jiagu packer encryption; apktool+openssl don't work. Point users to leapmotor-ha for the cert files.
1 parent e598bf3 commit eeb51b2

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/devices/vehicles.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,9 +506,9 @@ Manche Modelle (z.B. Niro EV) schalten bei geringen Ladeströmen (< 8A) intern a
506506
507507
## Leapmotor
508508
509-
Benötigt das App-Zertifikat aus der Leapmotor Android APK.
510-
Die Zertifikatsdateien (`app-cert.pem` und `app-key.pem`) können mit Tools wie `apktool` und `openssl` aus der APK extrahiert werden.
511-
Nutzer der leapmotor-ha Home Assistant Integration haben diese Dateien bereits.
509+
Benötigt ein App-Zertifikat (`app-cert.pem` / `app-key.pem`), das in der Leapmotor Android APK enthalten ist.
510+
Die Extraktion aus der APK erfordert spezialisierte Reverse-Engineering-Tools, da die APK durch einen Packer verschlüsselt ist.
511+
Nutzer der [leapmotor-ha](https://github.com/kerniger/leapmotor-ha) Home Assistant Integration haben diese Dateien bereits.
512512
513513
<DeviceConfig
514514
code={`vehicles:

i18n/en/docusaurus-plugin-content-docs/current/devices/vehicles.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,9 +506,9 @@ Some models (e.g. Niro EV) switch internally to 2 phases at low charging current
506506
507507
## Leapmotor
508508
509-
Requires the app certificate extracted from the Leapmotor Android APK.
510-
The certificate files (`app-cert.pem` and `app-key.pem`) can be extracted from the APK using tools like `apktool` and `openssl`.
511-
Users of the leapmotor-ha Home Assistant integration already have these files.
509+
Requires an app certificate (`app-cert.pem` / `app-key.pem`) that is embedded in the Leapmotor Android APK.
510+
Extracting it from the APK requires specialised reverse engineering tools due to packer encryption.
511+
Users of the [leapmotor-ha](https://github.com/kerniger/leapmotor-ha) Home Assistant integration already have these files.
512512
513513
<DeviceConfig
514514
code={`vehicles:

0 commit comments

Comments
 (0)