Siyuanw / kinesis

Location Spoofing for iOS 17
GNU General Public License v3.0
255 stars 52 forks source link

Fix the AttributeError: '_RSAPrivateKey' object has no attribute 'write' #32

Open kkpan11 opened 11 months ago

kkpan11 commented 11 months ago

Hello there,

Seems like there is a new implementation of the latest 2.33.2 version of pymobiledevice3, so causes the issue https://github.com/Siyuanw/kinesis/issues/30.

I've addressed the connection issue in this PR based on the latest version of pymobiledevice3. The modifications seem to resolve the problem, but I'd appreciate it if you could review and test the changes to ensure everything is working perfectly.

Thank you for your time and consideration.


fix(connection): resolve '_RSAPrivateKey' AttributeError

Introduce device selection for USB-connected devices.

Siyuanw commented 11 months ago

Thank you so much @kkpan11. I didn't notice that there were many changes in pymobiledevice3 and even the simulation method is changed in version 2.34.0. I decide to freeze the lib versions in the requirements.txt file so everyone got the same dependencies. The older version works well with the latest iOS and macOS. Appreciate again for looking into the issue and raise this PR.

theg00s3 commented 9 months ago

Using @kkpan11's forked repo was the only way I got kinesis working for me. iOS 17.3, MacOS 14.3 (M1)