nikeee / node-jodel-api

Node.js Jodel API
GNU General Public License v3.0
32 stars 3 forks source link

Registering failed #17

Open ghost opened 5 years ago

ghost commented 5 years ago

Hello,

Unfortunately the API doesn't work anymore, despite the right extracted key from the Jodel App.

Registering...
Something failed:  {
  code: 477,
  text: 'unknown',
  content: '{"error":"Signed request expected","metadata":null}'
}
nikeee commented 5 years ago

Are you sure you have the right key? Have you tried other APIs (listed in Other-Projects.md) with that key?

ghost commented 5 years ago

I'm sure that I have the correct key, because i extracted it with the "ojoc-keyhack"-Tool out of the newest APK. I test the same Key with the Jodel-Python API. There I have the same mistake. https://github.com/nborrmann/jodel_api

nikeee commented 5 years ago

They might have changed the API or the signing process. If you find a working API, we can speed up fixing this. Otherwise, I'd have to reverse engineer these parts again (and that takes time).

ghost commented 5 years ago

I'm trying my best. When I have found a way I will contact you again.

Did you extract the protocol from the app? Or logged the https traffic? It'd be great if you could give me a little clue.

nikeee commented 5 years ago

I did both. Note that intercepting the Traffic requires you to patch the APK because they use certificate pinning (at least that time I checked it).

If you find an unofficial implementation that works, we can evaluate that instead.

ghost commented 5 years ago

I've searched several projects and found one that is supposed to work. I tried it myself, but I got the same Error. The author assured me it would be because the keys of Android and IOS are different.

https://github.com/marbink/jodel_ios_api

nikeee commented 5 years ago

Nice find! I'll see if I can work out the differences.