Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-03-22 | debug: Use explicit size for string when debugging non-null terminated | Martin Szulecki | 1 | -1/+1 | |
The debug code to output the device public key was not taking into account that the key data is not null terminated. | |||||
2010-11-27 | Add a safety check in lockdownd_client_new_with_handshake() to fix a ↵ | Martin Szulecki | 1 | -1/+4 | |
possible crash | |||||
2010-06-06 | lockdown: correctly handle activation_record parameter in lockdownd_activate | Nikias Bassen | 1 | -1/+1 | |
The activation_record was inserted into the request plist and freed at the end. If the user app then uses plist_free to free the activation record, it gets an invalid free. By using plist_copy the activation_record is not touched. | |||||
2010-06-06 | Add special handling for unpair request; probably a bug in the iPhone OS | Martin Szulecki | 1 | -4/+13 | |
2010-06-04 | Document that lockdownd automatically drops the connection when idle | Martin Szulecki | 1 | -0/+7 | |
2010-05-13 | Plug some memory leaks in lockdownd due to missing free() calls | Bryan Forbes | 1 | -1/+4 | |
2010-04-11 | Fix memory leak and actually set the label supplied for new lockdown clients | Martin Szulecki | 1 | -1/+1 | |
2010-04-11 | plug memory leak in lockdownd_gen_pair_cert() | Petr Uzel | 1 | -0/+3 | |
2010-04-11 | plug memory leak in lockdownd_gen_pair_cert() | Petr Uzel | 1 | -0/+10 | |
2010-04-11 | plug memory leaks in generate_pair_record_plist() | Petr Uzel | 1 | -0/+7 | |
2010-03-24 | Remove unused and fix some includes | Nikias Bassen | 1 | -2/+0 | |
2010-03-16 | Complete documentation of public interface and fix a lot of bogus comments | Martin Szulecki | 1 | -79/+168 | |
This change unifies the documentation comment syntax, fixes a few bad documentation comments and completes documentation where it was missing. | |||||
2010-03-16 | Rename the *_int to *_private for better semantic and fix public typedefs | Martin Szulecki | 1 | -1/+1 | |
This changes the typedef logic slightly for the public headers in order for doxygen to correctly pickup and enable the client struct documentation. | |||||
2010-01-29 | Add LOCKDOWN_E_INVALID_ACTIVATION_RECORD if activation errors out | Martin Szulecki | 1 | -0/+12 | |
2010-01-29 | Global renames due to project rename to libimobiledevice | Nikias Bassen | 1 | -14/+14 | |
2010-01-26 | Auto-pair devices within lockdownd_client_new_with_handshake() | Martin Szulecki | 1 | -3/+16 | |
This brings back the automatic pairing feature if not yet paired. [#111 state:resolved] | |||||
2010-01-22 | Rename all *_recv functions to *_receive to match underlying API | Martin Szulecki | 1 | -13/+13 | |
2010-01-21 | Add LOCKDOWN_E_INVALID_SERVICE error and functionality | Martin Szulecki | 1 | -2/+11 | |
This error is returned if the service does not exist on the device. It comes handy to detect if for instance the AFC2 service is actually setup on a device or not. | |||||
2010-01-13 | lockdown/tools/python: use correct type for port parameter | Nikias Bassen | 1 | -2/+2 | |
2010-01-13 | Refactor pairing to allow implementations to fully handle pairing | Martin Szulecki | 1 | -56/+108 | |
Implementations can now supply a full pair record and thus use their own preferred method of managing pairing records if needed. | |||||
2010-01-13 | lockdown: Use more correct error code when SSL startup fails | Nikias Bassen | 1 | -0/+3 | |
2010-01-13 | lockdown/property_list_service: use new SSL code | Nikias Bassen | 1 | -196/+14 | |
2010-01-12 | Refactor and unify internal debug system for ease of use and verbosity | Martin Szulecki | 1 | -53/+53 | |
This introduces a new debug_info macro which automatically prints the calling function, file and line number information instead of having that information passed to every old log_debug_msg call. | |||||
2010-01-12 | Remove support for debug masks due to inconsistent use | Martin Szulecki | 1 | -41/+41 | |
2010-01-12 | Rename utils to debug as it does exactly that, contain debug code | Martin Szulecki | 1 | -1/+1 | |
2010-01-12 | Refactor lockdown session handling and expose it in public API | Martin Szulecki | 1 | -216/+218 | |
This splits out SSL code and allows implementations to manually handle session start and stop if needed. Also brings the API closer to the lockdown request protocol. | |||||
2010-01-12 | Introduce error code for lockdownd requests which require a running session | Martin Szulecki | 1 | -2/+8 | |
2010-01-12 | Allow lockdown client creation without performing full handshake | Martin Szulecki | 1 | -4/+36 | |
The lockdown constructor was doing more than needed. Pairing and session negotiation is now handled by lockdownd_client_new_with_handshake(). | |||||
2010-01-12 | Rename in_SSL to ssl_enabled within lockdown private struct | Martin Szulecki | 1 | -8/+8 | |
2010-01-12 | lockdownd: use new property_list_service | Nikias Bassen | 1 | -22/+24 | |
2010-01-11 | Make sure we can pass NULL as lockdown label to disable sending one | Martin Szulecki | 1 | -4/+10 | |
2010-01-11 | Validate pairing on lockdown client creation to ensure trusted host status | Martin Szulecki | 1 | -0/+3 | |
Apparently this is needed for every connection in order to ensure the lockdown value for TrustedHostAttached is true. In effect, this makes the device expose more functionality. | |||||
2010-01-10 | Extend lockdown_query_type to actually return the type of the service daemon | Martin Szulecki | 1 | -4/+18 | |
2010-01-10 | Merge branch 'master' of git://github.com/MattColyer/libiphone into martin | Martin Szulecki | 1 | -79/+19 | |
2010-01-09 | use new plist helper functions | Nikias Bassen | 1 | -79/+19 | |
2010-01-08 | Detect pairing failure for device having a password set | Martin Szulecki | 1 | -2/+16 | |
[#101 state:resolved] The first pairing fails if a user has a password set on the device. | |||||
2010-01-08 | Implement lockdown activate and deactive | Martin Szulecki | 1 | -0/+88 | |
Passing the right activiation record allows activating a phone using this functionality. | |||||
2010-01-08 | Implement lockdown unpair request | Martin Szulecki | 1 | -2/+23 | |
2010-01-08 | Lowercase HostID parameter like everywhere else | Martin Szulecki | 1 | -7/+7 | |
2010-01-08 | Allow set the label of a lockdown request, usually set to the program name | Martin Szulecki | 1 | -1/+45 | |
2009-12-07 | New function lockdownd_validate_pair() | Nikias Bassen | 1 | -7/+40 | |
This function allows the current host (or the host specified by the given HostID to become the trusted host of the device. [#89 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-12-07 | Allow passing NULL as HostID to lockdownd_pair() | Nikias Bassen | 1 | -1/+11 | |
When NULL is given as HostID, lockdownd_pair() will use the HostID available from userprefs. | |||||
2009-12-07 | cache device uuid in client struct | Nikias Bassen | 1 | -26/+25 | |
When accessing/storing key info with userprefs, a device uuid is required that makes it possible to distinguish between different devices. On execution of lockdownd_client_new, the uuid is queried via lockdown and now stored in the client struct for later reuse. This patch also removes the uuid parameter from lockdownd_pair(). | |||||
2009-12-07 | fix lockdownd_pair returning success on error | Nikias Bassen | 1 | -3/+2 | |
This fixes a bug where lockdown_check_result() might return -1 and lockdownd_pair() still returns success. Thanks to dborca for spotting this. | |||||
2009-12-07 | better handling of session_id | Nikias Bassen | 1 | -21/+26 | |
This will change session_id out of the lockdownd_client_int struct to a pointer instead of using a buffer of fixed size. The session_id is allocated anyway by libplist when reading it from the plist received from the device, so why don't just use it? [#94 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-12-07 | fix signature of lockdownd_stop_session | Nikias Bassen | 1 | -3/+3 | |
This removes the session_id parameter from lockdownd_stop_session because the session_id is stored in the lockdownd_client_int structure anyway. | |||||
2009-11-30 | Evaluate EnableSessionSSL key on session startup | Nikias Bassen | 1 | -2/+18 | |
This is required if the device does not send the EnableSessionSSL:true key-value pair in the answer to the StartSession request. [#92 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-11-19 | set ssl_certificate to NULL in lockdownd_client_new | Nikias Bassen | 1 | -0/+1 | |
[#87 state:resolved] | |||||
2009-11-17 | simplify gnutls_session_t use | Christophe Fergeau | 1 | -19/+18 | |
gnutls_session_t is already a pointer, we don't need to manipulate a gnutls_session_t* [#87 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-11-17 | don't leak memory allocated for gnutls credentials | Christophe Fergeau | 1 | -6/+6 | |