Open sharpordie opened 2 years ago
I think this is the same as https://github.com/JeffLIrion/adb_shell/issues/175
There are C++ and Java implementations. It looks kinda cryptic for me, but it could help you.
Any news on this ?
I'm trying to implement this but STLS/Pair needs SPAKE that in turn needs the export_keying_materials
OpenSSL function that is still not available for cpython3
https://github.com/python/cpython/pull/25255 https://github.com/python/cpython/issues/87931 https://github.com/python/cpython/pull/95366
I have a draft PR that implements STLS communication with already paired devices (pair through ADB or IntelliJ and then connect with adb_shell)
The only viable solutions are:
- use sslkeylog as a dependency https://sslkeylog.readthedocs.io/en/latest/index.html#sslkeylog.export_keying_material
You could add that as an extra dependency (like libusb1
and aiofiles
), especially if this feature should be considered experimental or if it will only work on certain platforms.
This is an important request...
It would be great to add this feature.
https://developer.android.com/studio/command-line/adb#connect-to-a-device-over-wi-fi-android-11+