Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2009-11-11 | Finish migration to latest plist API. | Jonathan Beck | 1 | -53/+22 | |
[#77 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-10-13 | Update to latest libplist API. | Jonathan Beck | 1 | -55/+29 | |
Signed-off-by: Matt Colyer <matt@colyer.name> [#77 state:resolved] | |||||
2009-09-12 | Public API rework, extension and adaption to latest libusbmuxd-1.0 API. | Nikias Bassen | 1 | -12/+14 | |
2009-08-01 | Avoid invalid memory accesses in lockdownd_client_new() | Bastien Nocera | 1 | -1/+1 | |
Valgrind complains: ==2678== Conditional jump or move depends on uninitialised value(s) ==2678== at 0x3ACD40646C: lockdownd_client_new (lockdown.c:662) ==2678== by 0x405BA6: g_vfs_afc_volume_new (afc-volume.c:113) ==2678== by 0x406541: g_vfs_afc_monitor_device_added (afc-volume-monitor.c:46) ==2678== by 0x4066B1: g_vfs_afc_volume_monitor_constructor (afc-volume-monitor.c:173) ==2678== by 0x3A7FE11A38: g_object_newv (in /lib64/libgobject-2.0.so.0.2000.4) ==2678== by 0x3A7FE12584: g_object_new_valist (in /lib64/libgobject-2.0.so.0.2000.4) ==2678== by 0x3A7FE126DB: g_object_new (in /lib64/libgobject-2.0.so.0.2000.4) ==2678== by 0x408AD5: monitor_try_create (gvfsproxyvolumemonitordaemon.c:1651) ==2678== by 0x408C20: g_vfs_proxy_volume_monitor_daemon_main (gvfsproxyvolumemonitordaemon.c:1694) ==2678== by 0x37E881EA2C: (below main) (in /lib64/libc-2.10.1.so) ==2678== Uninitialised value was created by a stack allocation ==2678== at 0x405B00: g_vfs_afc_volume_new (afc-volume.c:138) | |||||
2009-07-28 | Fix potential memory corruption in calls to gnutls function on 64 bit arch | Nikias Bassen | 1 | -3/+5 | |
[#60 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-07-25 | Conform to protocol and add session id argument to lockdownd_stop_session() | Martin Szulecki | 1 | -3/+3 | |
2009-07-25 | Update lockdown API and introduce new error codes | Martin Szulecki | 1 | -149/+156 | |
2009-07-25 | Improve API of userpref system | Martin Szulecki | 1 | -20/+38 | |
2009-07-24 | Use iphone_device_get_uuid() not lockdown, for less overhead where possible | Martin Szulecki | 1 | -11/+10 | |
2009-07-24 | Improve debug output messages by using __func__ everywhere and adjust wording | Martin Szulecki | 1 | -51/+44 | |
2009-07-15 | Implement lockdown set_value, remove_value and enter_recovery request API | Martin Szulecki | 1 | -4/+159 | |
2009-07-10 | Use new plist_copy instead of serialization workaround in lockdownd_et_value() | Martin Szulecki | 1 | -11/+1 | |
2009-07-07 | Cleanup lockdown request API and fix docs, tools, bindings and exports | Martin Szulecki | 1 | -417/+361 | |
2009-06-08 | lockdown: fix receive of large TLS-encapsulated plists | Nikias Bassen | 1 | -8/+12 | |
Signed-off-by: Martin Szulecki <opensuse@sukimashita.com> | |||||
2009-05-19 | lockdown: Check for gnutls errors and silence compiler warnings. general: ↵ | Nikias Bassen | 1 | -28/+42 | |
Removed some commented-out code. [#39 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-05-18 | Make use of usbmuxd and remove libusb dependencies | Nikias Bassen | 1 | -12/+13 | |
Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-05-10 | NotificationProxy support added.0.9.0 | Nikias Bassen | 1 | -0/+13 | |
[#27 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-04-23 | Detect unknown HostId in StartSession an trigger Pair again if needed. | Jonathan Beck | 1 | -1/+54 | |
2009-04-23 | Revert my previous change to accept Jonathan's fixes. | Matt Colyer | 1 | -1/+1 | |
2009-04-23 | Remove libiphone-initconf reference in the README. | Matt Colyer | 1 | -1/+1 | |
[#38 state:resolved] | |||||
2009-04-23 | Fix receive of plists larger than a packet for lockdown and MobileSync | Martin Szulecki | 1 | -10/+20 | |
[#35 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-04-19 | Make sure start_service returns an error if it fails to start the service | Martin Szulecki | 1 | -15/+21 | |
[#34 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-04-12 | Use less secure random number generation so we can generate private | Jonathan Beck | 1 | -75/+85 | |
keys on the fly. Drop libiphone-initconf. | |||||
2009-03-24 | Merge branch 'master' of git://github.com/MattColyer/libiphone into contact_sync | Jonathan Beck | 1 | -70/+46 | |
Conflicts: Makefile.am configure.ac src/AFC.h src/NotificationProxy.c src/lockdown.c | |||||
2009-03-23 | Remove lockdown gnutls buffer hack [#1 state:resolved] | Nikias Bassen | 1 | -64/+42 | |
Signed-off-by: Matt Colyer <matt@colyer.name> |