Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-09-29 | lockdown: Pass along usbmux device id when saving pair records | Nikias Bassen | 2 | -3/+4 | |
2018-04-27 | userpref: [GnuTLS] Use valid serial for >= 3.6.0 | Bastien Nocera | 1 | -3/+3 | |
Another change in 3.6.0 is that a serial of '\0' is not valid anymore. Bump it to one. | |||||
2018-04-27 | userpref: [GnuTLS] Fix 3.6.0 SHA1 compatibility | Bastien Nocera | 1 | -3/+3 | |
Verification will fail if a special flag is not passed. Use gnutls_x509_crt_sign2() instead of gnutls_x509_crt_sign() to make sure that passing this flag works in 3.6.0 and stays working with 3.6.1. | |||||
2016-11-04 | userpref: [GnuTLS] Fix pairing record generation and improve error handling | Nikias Bassen | 1 | -40/+45 | |
In newer GnuTLS versions the parameters supplied to gnutls_x509_privkey_import_rsa_raw() are actually checked for somewhat sane values. Since we were passing the same values for all parameters, this check fails and the device certificate is never generated. However due to missing checks the pairing record was saved anyway, with an empty device certificate. This led to TLS errors during communication, leading to the "GnuTLS: Error in pull function" error message appearing and the communication to fail. This commit fixes the issue by passing some sane values, and also improves the overall error handling during generation of the paring record. | |||||
2016-07-27 | userpref: Remove obsoleted function userpref_has_pair_record() | Jay Freeman (saurik) | 1 | -29/+0 | |
Since pair records are meanwhile handled by usbmuxd there is no need to check for the existence of a pair record on disk. Asking usbmuxd for a pair record of a given UDID is sufficient to know if it exists or not. | |||||
2016-04-01 | idevicebackup: fix some timestamps that are relative to the Mac epoch ↵ | BALATON Zoltan | 1 | -0/+2 | |
instead of Unix one | |||||
2015-12-29 | common: [security fix] Make sure sockets only listen locally | Joshua Hill | 1 | -2/+2 | |
2015-10-09 | common: Add missing gnutls/openssl CFLAGS to Makefile.am | Nikias Bassen | 1 | -1/+1 | |
2015-01-28 | Remove trailing whitespace errors from all files | Martin Szulecki | 7 | -21/+21 | |
2015-01-13 | thread: Introduce thread_new and thread_free to cover handle leaks on WIN32 | Martin Szulecki | 2 | -5/+13 | |
2015-01-12 | common: Convert int16_t macro error types of userpref module into enum | Martin Szulecki | 1 | -10/+10 | |
2014-12-08 | Replace () with (void) in libinternalcommon and tools for consistency | Martin Szulecki | 2 | -2/+2 | |
2014-10-27 | debug: Fix linking failure on OS X by keeping debug level symbol internal | Martin Szulecki | 2 | -3/+12 | |
This change keeps the debug level symbol within the internal convenience library and makes it accessible using an internal helper. This fixes linking, prevents new exported symbols and finally allows proper control of enabling debug messages. | |||||
2014-10-26 | debug: Fix symbol locality for linker so debug messages are printed again | Martin Szulecki | 1 | -16/+3 | |
2014-10-26 | common: Remove obsolete symbol hiding macros from userpref module | Martin Szulecki | 1 | -14/+6 | |
2014-10-26 | Supress printing very long plists in debug output | BALATON Zoltan | 1 | -1/+7 | |
2014-10-22 | common: Move size format helper to utils and use it in idevicebackup tools | Martin Szulecki | 2 | -0/+23 | |
2014-10-22 | common: Move string_toupper() helper to utils and use it in idevicebackup tools | Martin Szulecki | 2 | -0/+11 | |
2014-10-22 | common: Share idevicebackup helper string_build_path() from utils | Martin Szulecki | 2 | -0/+30 | |
2014-10-22 | common: Change stpcpy() signature code style slightly | Martin Szulecki | 2 | -2/+2 | |
2014-10-03 | common: Fix distcheck target | Martin Szulecki | 2 | -2/+2 | |
2014-10-03 | Avoid exporting non-public symbols | Martin Szulecki | 3 | -14/+7 | |
2014-09-13 | common: Fix Win32 linking by adding ws2_32 to libraries | Nikias Bassen | 1 | -1/+1 | |
2014-08-06 | userpref: Fix wrong documentation about return values of ↵ | Nikias Bassen | 1 | -7/+10 | |
userpref_read_system_buid() Also, add a debug message that will print the actual error code. | |||||
2014-08-06 | common/utils: Silence compiler warning about ignored return value from fread() | Nikias Bassen | 1 | -1/+4 | |
2014-05-21 | Silence compiler warning about format strings using PRIu64 | Martin Szulecki | 1 | -1/+1 | |
2014-05-21 | ideviceinfo: Move plist print helper code to common | Nikias Bassen | 2 | -0/+197 | |
2014-05-20 | common: Add missing libusbmuxd_CFLAGS and libusbmuxd_LIBS to Makefile.am | Nikias Bassen | 1 | -2/+2 | |
2014-03-22 | Update copyright in various files | Martin Szulecki | 2 | -2/+2 | |
2014-03-21 | implement global thread safe library initialization | Nikias Bassen | 1 | -4/+0 | |
2014-03-21 | common: add THREAD_ID macro | Nikias Bassen | 1 | -0/+2 | |
2014-03-21 | common: add thread_once() implementation | Nikias Bassen | 2 | -0/+25 | |
2014-03-21 | userpref: Try to output similar error messages in GnuTLS and OpenSSL logic | Martin Szulecki | 1 | -1/+5 | |
2014-03-21 | userpref: fix GnuTLS key generation | Nikias Bassen | 1 | -7/+3 | |
2014-03-21 | userpref: merge pair_record_generate_from_device_public_key() into ↵ | Nikias Bassen | 2 | -251/+139 | |
pair_record_generate_keys_and_certs() | |||||
2014-03-21 | userpref: fix mixed up root/host certificate storage | Nikias Bassen | 1 | -2/+2 | |
2014-03-21 | userpref: Remove obsolete dict item check as plist_dict_set_item() takes care | Martin Szulecki | 1 | -5/+0 | |
2014-03-21 | userpref: Fix invalid plist_free() which caused pair process to fail | Martin Szulecki | 1 | -3/+6 | |
2014-03-21 | userpref: Use correct import helper for keys and certs | Martin Szulecki | 1 | -9/+9 | |
2014-03-21 | Refactor pair record handling to use new usbmuxd pair record interface | Martin Szulecki | 4 | -585/+469 | |
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()" | Martin Szulecki | 1 | -2/+2 | |
2014-03-04 | common: Include config.h for proper handling of HAVE_STPCPY define | Martin Szulecki | 1 | -0/+4 | |
2013-12-04 | userpref.c: removed excessive plist_free of a plist dict item. | Aaron Burghardt | 1 | -1/+0 | |
2013-11-06 | userpref: Fix memory leak in userpref_device_record_get_certs_as_pem() | Martin Szulecki | 1 | -0/+7 | |
2013-11-06 | userpref: fix incorrect use of BIO_get_mem_data() when generating keys ↵ | Nikias Bassen | 1 | -4/+29 | |
(closing #32) | |||||
2013-10-25 | userpref: Use RSA_generate_key_ex() in favor of deprecated RSA_generate_key() | Martin Szulecki | 1 | -2/+10 | |
The RSA_generate_key function has been deprecated in OpenSSL in favour of the newer function RSA_generate_key_ex. RSA_generate_key_ex with its current interface has been part of OpenSSL starting from version 0.9.8 (July 2005). | |||||
2013-10-09 | Remove duplicate newline from debug messages as one is added automatically | Martin Szulecki | 1 | -1/+1 | |
2013-10-09 | userpref: Free string in internal_set_value() to fix a memory leak | Martin Szulecki | 1 | -0/+2 | |
2013-10-08 | userpref: Free some plist return values to fix a few memory leaks | Martin Szulecki | 1 | -0/+15 | |
2013-09-27 | userpref: rename 'index' parameter to silece compiler warning on the Pi | Nikias Bassen | 1 | -2/+2 | |