summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-12-16lockdown-cu: Fix the build with LibreSSL >= 3.5.0Gravatar orbea1-2/+2
In LibreSSL >= 3.5.0 many structs are defined as opaque as they are in OpenSSL 1.1.
2023-12-16mobilebackup: Add missing includeGravatar Nikias Bassen1-0/+1
2023-12-16Remove bashisms in configure.acGravatar Luca Petrucci1-8/+8
2023-12-16cython: Fix Python 3 LockdownClient exceptionGravatar Dave Nicolson1-2/+3
Fixes #1110
2023-12-16Fix GitHub Action for Cython on macOSGravatar Dave Nicolson1-1/+11
2023-12-16sbservices: Read setIconState responseGravatar Dave Nicolson1-1/+4
This allows the same connection to be used again after sbservices_set_icon_state is called. Fixes #928.
2023-12-12Fix idevicebackup2 man pageGravatar Nikias Bassen1-1/+1
Thanks to @SCOTT-HAMILTON for pointing this out.
2023-12-12Fix iOS 1 SSL connectionGravatar tihmstar1-0/+14
Detect if we're talking to iOS 1 `if (connection->device->version == 0)` and set `SSL_CTX_set_min_proto_version(ssl_ctx, 0);` to support SSL3. iOS 1 doesn't understand TLS1_VERSION, it can only speak SSL3_VERSION. However, modern OpenSSL is usually compiled without SSLv3 support. So if we set min_proto_version to SSL3_VERSION on an OpenSSL instance which doesn't support it, it will just ignore min_proto_version altogether and fall back to an even higher version. To avoid accidentally breaking iOS 2.0+, we set min version to 0 instead.
2023-10-07[github-actions] Update checkout and upload-artifact to v3Gravatar Nikias Bassen1-6/+6
2023-10-07automake: Reorder CFLAGS to fix build issues and use correct SSL library ↵Gravatar Nikias Bassen5-32/+23
flags across Makefiles
2023-07-05tools/idevicecrashreport: Silence compiler warningGravatar Nikias Bassen1-1/+1
2023-07-05Silence (v)asprintf related compiler warningsGravatar Nikias Bassen2-4/+7
2023-07-05Updated OpenSSL-specific code to use OpenSSL 3.0+ APIGravatar Nikias Bassen3-8/+69
2023-07-043rd_party/libsrp6a-sha512: Updated to work with OpenSSL 3.0+ APIGravatar Nikias Bassen4-7/+74
2023-06-303rd_party/libsrp6a-sha512: Update function definitions to modern styleGravatar Nikias Bassen4-122/+40
2023-06-303rd_party/ed25519: Silence compiler warning about missing return value for freadGravatar Nikias Bassen1-1/+1
2023-06-29tools/idevicedebug: Add missing default case for switch statementGravatar Nikias Bassen1-0/+5
2023-06-29tools/idevicedevmodectl: Add missing includeGravatar Nikias Bassen1-0/+1
2023-06-28idevice: Add missing include for WindowsGravatar Nikias Bassen1-0/+1
2023-06-28idevice: Fix network address handling in other code paths tooGravatar Nikias Bassen1-4/+37
2023-06-27idevice: Use network addresses as is from what we get from (lib)usbmuxdGravatar Nikias Bassen1-19/+8
2023-04-30git-version-gen: Prevent multiple lines of outputGravatar Nikias Bassen1-0/+1
2023-04-21Updated to use latest libplist API changesGravatar Nikias Bassen10-62/+34
2023-03-23installation_proxy: Handle BundleIDs in instproxy_client_options_addGravatar Nikias Bassen1-1/+1
BundleIDs are passed as an array so we need to make sure it gets added as such. In fact though we just copy the node from the va_arg :)
2023-03-013rd_party: Prevent installation of internal headersGravatar Nikias Bassen1-3/+2
2023-02-21reverse_proxy: Fix use-after-freeGravatar Nikias Bassen1-1/+2
2023-01-11idevice: Use more reliable version check macro for OpenSSL 3 specific thingsGravatar Nikias Bassen1-1/+1
OpenSSL versions pre 3.0 do not define OPENSSL_VERSION_MAJOR etc.
2023-01-11idevice: Fix connections to <= iOS 5 devices with OpenSSL 3Gravatar Nikias Bassen1-1/+10
Thanks @tihmstar for pointing this out.
2023-01-11idevice: Simplify TLS version selection code for older devicesGravatar Nikias Bassen1-6/+4
Turns out that SSL_CTX_set_options does *not* clear options that have been set before.
2022-12-10idevicebackup2: Fix missing break in switch case statementGravatar Nikias Bassen1-0/+1
2022-12-10[github-actions] Fix build workflow for Linux/ubuntuGravatar Nikias Bassen1-1/+1
2022-12-10tools/ideviceimagemounter: Notify user of missing Developer Mode on iOS 16+Gravatar Nikias Bassen1-0/+14
2022-12-10tools: Add idevicedevmodectl toolGravatar Nikias Bassen4-0/+516
2022-10-04lockdown: Fix error parsing for older iOS versionsGravatar Nikias Bassen1-35/+19
A logical bug did prevent parsing the 'Error' node since the code path is never reached when a 'Result' node is found first. This is mitigated by always checking for the 'Error' node first.
2022-10-04mobilebackup: Fix version check to allow operability with really old iOS ↵Gravatar Nikias Bassen1-2/+18
versions
2022-09-14restore: Remove incorrect invocation of free() in restored_get_valueGravatar Nikias Bassen1-1/+1
The free would cause a use-after-free when the plist is later freed, which eventually ends up in a crash. Thanks @TrungNguyen1909 for catching this.
2022-09-04Fix iOS SDK buildGravatar Kabir Oberai1-1/+2
2022-09-04Support OpenSSL built without OPENSSL_ENGINEGravatar Kabir Oberai2-3/+4
2022-09-04Allow using limd as a submoduleGravatar Kabir Oberai1-1/+1
2022-08-24[github-actions] Add a scheduled build every 1st of the month so we always ↵Gravatar Nikias Bassen1-1/+4
have an artifact
2022-07-03idevicedebugserverproxy: Add support for 'qLaunchGDBServer' command of lldbGravatar Ruipu Ma2-2/+34
2022-07-03idevice: Fix OpenSSL 3.0 internal error on read timeoutGravatar Ruipu Ma1-0/+12
2022-06-09tools: Fix idevicebackup2 option parsing for --password optionGravatar Nikias Bassen1-1/+1
Thanks @EmilienCourt for pointing this out!
2022-05-31Remove lockdown.h include from lockdown.hGravatar Nikias Bassen1-1/+0
Header guards should prevent recursive inclusion but there is no point in including the file itself.
2022-05-23idevicesyslog: Update to reflect color macro name change in ↵Gravatar Nikias Bassen1-12/+12
libimobiledevice-glue
2022-05-10idevicebackup2: Fix option parsingGravatar Nikias Bassen1-0/+1
2022-05-10idevice: Restore original behavior for idevice_event_unsubscribe()Gravatar Nikias Bassen1-0/+1
Due to an implementation detail from the past, a call to idevice_event_unsubscribe would not cause the callback function to be called with IDEVICE_DEVICE_REMOVE events, even though originally it was planned to be that way. Due to the internal changes for the newer idevice_events_subscribe/unsubscribe API, that behavior changed and it would call the callback. Now to not break current software implementations depending on the original behavior we modify the old API to behave the same as before the change.
2022-05-09instproxy: Use synchronous mode when callbacks are NULL, as documentedGravatar Marc Prud'hommeaux1-6/+6
Synchronous modes for `instproxy_install`, `instproxy_upgrade`, `instproxy_uninstall`, `instproxy_archive`, `instproxy_restore`, and `instproxy_remove_archive` appear to be ignoring the documented behavior that “If NULL is passed, this function will run synchronously”. This commit fixes the advertised behavior.
2022-05-09Add new idevice_events_subscribe/unsubscribe API with contextGravatar Nikias Bassen4-16/+89
The older API idevice_event_subscribe/unsubscribe can only be used by a single instance. With the addition of a context, is is now possible to register multiple callback functions in different threads. For backwards compatibility the old API will still be available for a while before being removed in a future release.
2022-05-05idevicebtlogger: Fix typo in man page and code commentGravatar Nikias Bassen2-2/+3