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
Disable SSLv3 - lockdown error: -5 #294
Comments
You are right sir. I had the same problem and I tried everything till I came across your post. and also ERROR: Could not connect to lockdownd, error "code -5" I am running arch linux and did the following: I am currently running libimobiledevice 1.2.0-1, 1.0.2.e-1, libplist 1.12-4, usbmuxd 1.1.0-2, ifuse 1.1.3-3, ideviceinstaller-git 1.1.0.r12.g824bb9a-1, libideviceactivation 1.0.0-3, libusbmuxd 1.0.10-1, and libplist 1.12-4. It is all working now. Thank you Qwertylex |
elder version of use SSLv3, so if you use openssl without SSLv3, it will fail. Newer versions also support TLS |
Supposedly the old iOS device I have does not support TLS. |
Subscribing, I also experience the same issue here. |
@Qwertylex no they don't support TLS, that's why you need SSLv3 |
As an alternative to use old iOS devices in Arch is building latest upstream libimobiledevice with |
Update - Ignore everything I said below. I think I was using the wrong libimobiledevice (the one ubuntu had installed). After re-reading this issue I realised it was about compatibility with an old iOS version, whereas I'm using a new one. I fully removed Ubuntu's 1.1 libimobiledevice and made sure I was actually using 1.2.1 built off master (also using latest usbmuxd build off master). I built normally (OpenSSL, not GnuTLS) and it works perfectly on iOS 9.3.1. ------ ignore below here ------- Just to add to this - right now I'm getting "lockdown error: -5" when trying to run I tried @randomize's trick which appears to have switched my compile to GnuTLS:
But I still get the -5 error when trying This is on |
My comment will be off-topic, since I'm addressing a makepkg issue, not a libimobiledevice issue, but just to help the above commenter, @andrewmichaelsmith: If you have already installed the libimobiledevice-git package from AUR, you will need to locally create the PKGBUILD file that @randomize suggested, then run I'll confirm that using |
@webavant there are 3 options, you pick, which suits you best
|
@mexmer thanks for clarifying! Should be helpful for anyone confused. I meant to answer @andrewmichaelsmith's question, although now I'm realizing my response wasn't even appropriate for his problem, although it might be helpful to anyone unfamiliar with makepkg. Feel free to delete. |
Can you check if it works with my latest commit? SSLv23_method() should be available from my understanding. |
Should be fixed with latest code from git master. |
Gaah! This is killing me! I have compiled several times with latest master and --disable-openssl option. Always get the "GnuTLS error: Error in the pull function." message when running ideviceinfo or ifuse. paring and validating works as expected. I have also tried to downgrade openssl to "1.0.1e" and compile with openssl but that does not work either. Same result: "GnuTLS error: Error in the pull function.". Should I even get that message when using openssl? Have been testing 3 different devices on versions 9.3.5 and 9.3.2 and I'm running out of ideas. Any specific version of gnutls required for this to work? My best guess right now is bad gnutls version. |
@pmnordkvist #365 (comment) rebuild nettle and then gnutls and let me know how goes. |
this worked for me appium/appium#6597 (comment) =) |
@VasilijSviridov that is a totally unrelated issue on OSX. I am on Linux. |
@joecool1029 thought this will help you : brew uninstall libimobiledevice && brew install --HEAD libimobiledevice |
@VasilijSviridov you thought wrong |
The pairing record generation with newer GnuTLS was broken. I just fixed it with commit 23069d1. |
Also getting the same issue on 16.04 Ubuntu. Any debug info that would be helpful ? |
using ubuntu 16.04 i successfully updated Iphone6 ios 10.1.1, stil as I mention in my above comment i am unable to get ideviceinfo it says ERROR: Could not connect to lockdownd, error code -5 |
Same issue. iPhone 6S, IOS: 10.1.1 (14B100)
|
check SSL version you have and what SSL version libimobiledevice using |
Everything from official repository. |
I have an iPad Mini (1st gen) on iOS 6.1.3, after upgrading Arch Linux, which upgraded packages:
My iPad Mini stopped connecting to linux, leaving messages:
I deleted /var/lib/lockdown and I reinstalled libimobiledevice and usbmuxd, same issue.
I downgraded libimobiledevice and openssl and everything worked normally.
The text was updated successfully, but these errors were encountered: