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

Doesn't work after one successful try. #37

Open
fjybiocs opened this issue Jan 18, 2024 · 3 comments
Open

Doesn't work after one successful try. #37

fjybiocs opened this issue Jan 18, 2024 · 3 comments

Comments

@fjybiocs
Copy link

I run it successfully once, and I can't start it again.

errors:

sudo python3 main.py            
Traceback (most recent call last):
  File "/Users/me/Downloads/kinesis-main 2/main.py", line 84, in <module>
    create_tunnel()
  File "/Users/me/Downloads/kinesis-main 2/main.py", line 79, in create_tunnel
    asyncio.run(start_quic_tunnel(rsd))
  File "/opt/homebrew/Cellar/[email protected]/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/Users/me/Downloads/kinesis-main 2/main.py", line 52, in start_quic_tunnel
    with create_core_device_tunnel_service(service_provider, autopair=True) as service:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/me/Downloads/kinesis-main 2/.venv/lib/python3.11/site-packages/pymobiledevice3/remote/core_device_tunnel_service.py", line 568, in create_core_device_tunnel_service
    service.connect(autopair=autopair)
  File "/Users/me/Downloads/kinesis-main 2/.venv/lib/python3.11/site-packages/pymobiledevice3/remote/core_device_tunnel_service.py", line 208, in connect
    if not self._validate_pairing():
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/me/Downloads/kinesis-main 2/.venv/lib/python3.11/site-packages/pymobiledevice3/remote/core_device_tunnel_service.py", line 440, in _validate_pairing
    peer_public_key = X25519PublicKey.from_public_bytes(data[PairingDataComponentType.PUBLIC_KEY])
                                                        ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: EnumIntegerString.new(3, 'PUBLIC_KEY')
@rborkow
Copy link

rborkow commented Jan 18, 2024

Same error here on a fresh install.

Seems like an issue with the pymobiledevice3 library, fixed in v2.32.0 : doronz88/pymobiledevice3#713

@marcusrohden
Copy link

also happening here. just tried

@N1-TR0
Copy link

N1-TR0 commented Mar 21, 2024

use it in a venv don't run it natively I got the same thing when trying to use it with another iPhone but it works flawlessly on my main device

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

4 participants