Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-01-31 | Move LIBIMOBILEDEVICE_API to public headers | Nikias Bassen | 1 | -28/+28 | |
2022-10-04 | lockdown: Fix error parsing for older iOS versions | Nikias Bassen | 1 | -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-05-02 | lockdownd: Fix memory leaks in error conditions | Sami Kortelainen | 1 | -0/+3 | |
2022-04-30 | [clang-tidy] Do not use else after return | Rosen Penev | 1 | -10/+10 | |
Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-04-22 | [clang-tidy] Fix bugprone string compare | Rosen Penev | 1 | -1/+1 | |
Found with bugprone-suspicious-string-compare Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-02-09 | Add support for wireless pairing | Nikias Bassen | 1 | -2/+10 | |
2021-09-01 | Remove common code in favor of new libimobiledevice-glue | Nikias Bassen | 1 | -1/+1 | |
2021-07-29 | lockdown: Replace udid and mux_id members from client struct with idevice_t ↵ | Nikias Bassen | 1 | -24/+18 | |
reference | |||||
2021-07-29 | lockdown: Get DeviceClass to make sure OS version dependent code is executed ↵ | Nikias Bassen | 1 | -1/+25 | |
correctly The code in lockdownd_client_new_with_handshake would call the function lockdownd_validate_pair based on the OS version being less than 7.0 without taking into account that Watch OS has a different versioning scheme compared to the other device classes. For this and any future version/device specific checks, the code now queries the DeviceClass and stores it in the idevice_private struct. | |||||
2021-07-29 | Handle error cases in relevant code when retrieving pair record fails | Nikias Bassen | 1 | -8/+40 | |
2020-09-10 | debugserver: Fix service startup for iOS 14b4+ | Nikias Bassen | 1 | -1/+4 | |
2020-06-10 | lockdown: Remove unused includes | Nikias Bassen | 1 | -9/+0 | |
2019-11-08 | Add new function lockdown_strerror() to get a readable description of a ↵ | Nikias Bassen | 1 | -62/+84 | |
lockdownd_error_t | |||||
2019-09-05 | idevice: Fix handling SSL/TLS version selection for OpenSSL 1.1.0+ and for ↵ | Nikias Bassen | 1 | -2/+2 | |
older devices | |||||
2019-06-23 | replace all occurrences of occured by occurred | Yves-Alexis Perez | 1 | -1/+1 | |
Do it in all comments and errors messages | |||||
2019-02-12 | lockdown: Make sure to return correct error code when pairing fails | Nikias Bassen | 1 | -1/+1 | |
2018-09-29 | lockdown: Pass along usbmux device id when saving pair records | Nikias Bassen | 1 | -1/+2 | |
2017-12-08 | lockdown: Plug small memory leak | Nikias Bassen | 1 | -0/+1 | |
Credit to Rudolf Tammekivi (Blefish), see issue #599 | |||||
2017-08-13 | lockdown: Don't explicitly validate pairing unless we're dealing with an ↵ | Nikias Bassen | 1 | -12/+25 | |
older device On newer iOS version, ValidatePair is not mandatory to gain trusted host status. Starting with iOS 11, the ValidatePair request has been removed from lockdownd and will throw an error. This commit adds a version check so that ValidatePair is only called on devices prior iOS 7. | |||||
2017-04-08 | Propagate lower level errors to callers instead of returning unknown | BALATON Zoltan | 1 | -36/+40 | |
error for most failures | |||||
2016-08-09 | lockdown: return LOCKDOWN_E_INVALID_HOST_ID when missing pair record | Jay Freeman (saurik) | 1 | -1/+1 | |
When the check of /var/db/lockdown was removed, lockdownd_do_pair started to always return LOCKDOWN_E_INVALID_CONF instead of usually (but not always...) returning LOCKDOWN_E_INVALID_HOST_ID for devices not currently paired. This change not only breaks some third-party code, but also breaks the other code in this library calling this function (lockdownd_client_new_with_handshake). | |||||
2016-07-27 | lockdown: remove unnecessary check for pair record file during pairing | Jay Freeman (saurik) | 1 | -7/+3 | |
During device pairing the code in lockdownd_do_pair() is checking if there is a pair record on disk for the current device, and then requests it from usbmuxd. This additional check is not only unnecessary since usbmuxd can obviously only return a pair record if it exists, but is also causing issues on newer versions of macOS where /var/db/lockdown is mode 700. | |||||
2016-04-01 | Avoid potential NULL pointer dereference (leading to segfault) if functions ↵ | BALATON Zoltan | 1 | -1/+1 | |
are called with NULL arguments | |||||
2015-07-15 | lockdown: Add new lockdownd_pair_with_options() function | Nikias Bassen | 1 | -9/+28 | |
2015-07-10 | lockdown: Add more error codes | Nikias Bassen | 1 | -1/+9 | |
2015-05-24 | lockdown: Remove unneeded plist_free() calls since entire dict is freed later | Nikias Bassen | 1 | -5/+0 | |
2015-01-28 | Remove trailing whitespace errors from all files | Martin Szulecki | 1 | -1/+1 | |
2015-01-12 | lockdown: Refactor internal error checking and add more native errors to enum | Martin Szulecki | 1 | -82/+123 | |
2014-12-10 | lockdown: Add new LOCKDOWN_E_SERVICE_LIMIT error to detect service limit states | Martin Szulecki | 1 | -0/+2 | |
2014-10-26 | lockdown: Fix error in re-pairing when previous record became invalid | BALATON Zoltan | 1 | -9/+5 | |
When connecting with an existing pair record failed we attempted to pair again which generated a new host id but then connect after successful pairing tried to use host id from the old record and failed. Make sure we forget the old host id when re-pairing. This also fixes a possible memory leak. | |||||
2014-10-05 | Convert int16_t macro error types into enum to improve debugging/type-checking | Martin Szulecki | 1 | -3/+5 | |
This simple change provides various benefits for developers like compile time errors, better auto-completition in editors and the ability of a debugger to show the constant instead of just the raw value. Thanks to Aaron Burghardt for the proposal. | |||||
2014-10-03 | Avoid exporting non-public symbols | Martin Szulecki | 1 | -27/+26 | |
2014-10-02 | lockdown: Added lockdownd_start_service_with_escrow_bag | Koby Boyango | 1 | -5/+79 | |
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org> | |||||
2014-08-06 | lockdown: Only set SystemBUID in pair_record_generate() if it actually ↵ | Nikias Bassen | 1 | -1/+2 | |
contains a value This will prevent a crash in libplist when plist_new_string() will be called with a NULL pointer. | |||||
2014-08-06 | lockdown: Silence compiler warning about ignored return value from asprintf() | Nikias Bassen | 1 | -8/+10 | |
2014-05-05 | lockdown: cleanup: remove pointless goto | Andreas Henriksson | 1 | -4/+0 | |
Minor cleanup. Drop useless code. We're already at "leave", so there's no need to (conditionally!) goto it. | |||||
2014-05-05 | lockdown: avoid crashing when getting system buid fails | Andreas Henriksson | 1 | -2/+3 | |
When userpref_read_system_buid fails to retrieve the buid, systembuid will be set to NULL. It was then unconditionally passed to plist_new_string - which will crash with a NULL argument. See https://bugs.debian.org/730756 for people reporting this happening in the real world. See https://github.com/libimobiledevice/libimobiledevice/commit/1331f6baa1799e41003aa812c0d1bf36193535ea ("lockdown: Make sure to set SystemBUID in generated pair records") for the commit where this problem was introduced. | |||||
2014-03-27 | Moved Doxygen comments from source files to public headers. | Aaron Burghardt | 1 | -278/+1 | |
Conflicts: include/libimobiledevice/afc.h | |||||
2014-03-27 | lockdown: Return error if getting a lockdown value failed to fix segfault | Martin Szulecki | 1 | -0/+2 | |
https://github.com/libimobiledevice/libimobiledevice/issues/67 The lockdownd_get_value() function is not properly handling an error situation. The code logic always returned success as long as the lockdown response was properly received. Thanks to Aaron Burghardt for spotting this. | |||||
2014-03-24 | lockdown: Prevent libplist assertion by checking result of ↵ | Nikias Bassen | 1 | -4/+10 | |
userpref_read_pair_record() | |||||
2014-03-22 | Update copyright in various files | Martin Szulecki | 1 | -0/+2 | |
2014-03-21 | lockdown: Fix starting unsecure services as needed during trust dialog pairing | Martin Szulecki | 1 | -14/+0 | |
2014-03-21 | lockdown: Fix fetching WiFi address for pair record after trust dialog pairing | Martin Szulecki | 1 | -12/+20 | |
2014-03-21 | lockdown: Correct a few comments within pair generation code | Martin Szulecki | 1 | -1/+2 | |
2014-03-21 | lockdown: Move HostID generation closer to code setting it in pair record | Martin Szulecki | 1 | -2/+1 | |
2014-03-21 | lockdown: Read HostID again after pairing to fix first pair workflow | Martin Szulecki | 1 | -0/+7 | |
2014-03-21 | userpref: merge pair_record_generate_from_device_public_key() into ↵ | Nikias Bassen | 1 | -15/+1 | |
pair_record_generate_keys_and_certs() | |||||
2014-03-21 | lockdown: Make sure failed pairing validation works with correct error code | Martin Szulecki | 1 | -1/+1 | |
2014-03-21 | lockdown: Plug memory leak due to missing free of public_key | Martin Szulecki | 1 | -0/+3 | |
2014-03-21 | lockdown: Make sure to set SystemBUID in generated pair records | Martin Szulecki | 1 | -1/+2 | |