Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-07-10 | lockdown: Add more error codes | 1 | -1/+9 | ||
2015-05-24 | lockdown: Remove unneeded plist_free() calls since entire dict is freed later | 1 | -5/+0 | ||
2015-01-28 | Remove trailing whitespace errors from all files | 1 | -1/+1 | ||
2015-01-12 | lockdown: Refactor internal error checking and add more native errors to enum | 1 | -82/+123 | ||
2014-12-10 | lockdown: Add new LOCKDOWN_E_SERVICE_LIMIT error to detect service limit states | 1 | -0/+2 | ||
2014-10-26 | lockdown: Fix error in re-pairing when previous record became invalid | 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 | 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 | 1 | -27/+26 | ||
2014-10-02 | lockdown: Added lockdownd_start_service_with_escrow_bag | 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 ↵ | 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() | 1 | -8/+10 | ||
2014-05-05 | lockdown: cleanup: remove pointless goto | 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 | 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. | 1 | -278/+1 | ||
Conflicts: include/libimobiledevice/afc.h | |||||
2014-03-27 | lockdown: Return error if getting a lockdown value failed to fix segfault | 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 ↵ | 1 | -4/+10 | ||
userpref_read_pair_record() | |||||
2014-03-22 | Update copyright in various files | 1 | -0/+2 | ||
2014-03-21 | lockdown: Fix starting unsecure services as needed during trust dialog pairing | 1 | -14/+0 | ||
2014-03-21 | lockdown: Fix fetching WiFi address for pair record after trust dialog pairing | 1 | -12/+20 | ||
2014-03-21 | lockdown: Correct a few comments within pair generation code | 1 | -1/+2 | ||
2014-03-21 | lockdown: Move HostID generation closer to code setting it in pair record | 1 | -2/+1 | ||
2014-03-21 | lockdown: Read HostID again after pairing to fix first pair workflow | 1 | -0/+7 | ||
2014-03-21 | userpref: merge pair_record_generate_from_device_public_key() into ↵ | 1 | -15/+1 | ||
pair_record_generate_keys_and_certs() | |||||
2014-03-21 | lockdown: Make sure failed pairing validation works with correct error code | 1 | -1/+1 | ||
2014-03-21 | lockdown: Plug memory leak due to missing free of public_key | 1 | -0/+3 | ||
2014-03-21 | lockdown: Make sure to set SystemBUID in generated pair records | 1 | -1/+2 | ||
2014-03-21 | lockdown: Fix wrong pointer dereference of pair_record plist | 1 | -3/+3 | ||
2014-03-21 | lockdown: Remove obsolete debug output | 1 | -6/+0 | ||
2014-03-21 | Refactor pair record handling to use new usbmuxd pair record interface | 1 | -418/+112 | ||
This refactoring is mandatory as libimobiledevice should not interact with the pair record configuration directory which is owned by the usbmuxd user. This change also adds compatibility for the native usbmuxd and thus pair records saved by iTunes. | |||||
2014-03-20 | Bump dependency to libplist 1.11 and remove use of "plist_dict_insert_item()" | 1 | -39/+39 | ||
2014-03-18 | lockdown: make sure type is always free'd in lockdownd_client_new_with_handshake | 1 | -2/+2 | ||
2014-03-10 | lockdown: disable SSL in lockdownd_stop_session() | 1 | -0/+5 | ||
2014-03-10 | lockdown: removed outdated call to lockdownd_goodbye() in lockdown_client_free() | 1 | -4/+0 | ||
2014-01-25 | Revert "lockdown: do not send Goodbye when SSL session was active" | 1 | -2/+2 | ||
This reverts commit 56392428a49543bab4b12431451ec04bb799c411. Actually I committed this because of usbmuxd complaining about a TCP RST. But lockdownd is now complaining since it waits for the Goodbye packet (which I apparently didn't see during testing). | |||||
2014-01-15 | lockdown: do not send Goodbye when SSL session was active | 1 | -2/+2 | ||
2013-11-30 | lockdown: Make sure to free client->session_id for sure | 1 | -0/+4 | ||
2013-11-30 | Fix possible memory corruption by ensuring client pointers NULL'd after free | 1 | -0/+1 | ||
2013-11-30 | lockdown: Do not free session_id again after stop_session already did | 1 | -1/+0 | ||
2013-11-08 | lockdown: fix possible invalid free in GnuTLS cert generation code | 1 | -3/+3 | ||
2013-11-04 | Convert stray spaces to corresponding tabs | 1 | -0/+1 | ||
2013-10-09 | Remove duplicate newline from debug messages as one is added automatically | 1 | -1/+1 | ||
2013-10-09 | lockdown: Plug few possible memory leaks in generate_pair_record_plist() | 1 | -16/+6 | ||
2013-09-24 | lockdown: improve lockdownd_query_type result checking | 1 | -4/+11 | ||
2013-09-23 | lockdown: Remove EscrowBag feature for now as it caused services to not start | 1 | -7/+0 | ||
2013-09-21 | lockdown: Only sent EscrowBag if we are running in a secure session | 1 | -2/+6 | ||
2013-09-21 | lockdown: Send EscrowBag when starting service for automatic unlocking | 1 | -0/+3 | ||
2013-09-19 | lockdown: Remove pairing code which is obsoleted by usbmuxd's preflight handler | 1 | -53/+0 | ||
2013-09-19 | lockdown: Don't shutdown SSL during StopSession already or device complains | 1 | -7/+6 | ||
2013-09-17 | lockdownd: remove unused udid variable in reconnect function | 1 | -4/+0 | ||
2013-09-17 | lockdown: Refactor pair record generation/loading logic a bit for efficiency | 1 | -42/+47 | ||
The current code always requests the public key and set's the SystemBUID, even if a pair record already exists which has these values ready. The change moves logic to only do that during generation of new certificates. |