summaryrefslogtreecommitdiffstats
path: root/tools/idevicepair.c
AgeCommit message (Collapse)AuthorFilesLines
2022-04-30tools: Use getopt for option parsing in all toolsGravatar Nikias Bassen1-42/+50
2022-04-22[clang-tidy] Fix bugprone string compareGravatar Rosen Penev1-1/+1
Found with bugprone-suspicious-string-compare Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-09Add support for wireless pairingGravatar Nikias Bassen1-6/+179
2020-06-08idevicepair: Plug some memory leaks and fix option parsingGravatar Nikias Bassen1-48/+39
2020-06-05tools: Unify --network command line switch and add it where missingGravatar Nikias Bassen1-19/+14
2020-06-05tools: Add --version command line switchGravatar Nikias Bassen1-13/+15
2020-06-04Unify usage output in all tools and add bugreport URLGravatar Martin Szulecki1-6/+10
2019-09-28tools: Ignore SIGPIPE wherever possibleGravatar Nikias Bassen1-0/+6
2019-02-16idevicepair: Fix udid being freed before printing error message containing udidGravatar Nikias Bassen1-2/+3
2019-02-09idevicepair: Add another error case instead of printing 'unhandled error'Gravatar Nikias Bassen1-0/+1
2019-02-08idevicepair: Fix 'validate' command which was broken since iOS 11Gravatar Nikias Bassen1-3/+5
Apple removed the lockdownd command 'ValidatePair'. Validating a pairing can just be done by trying to use the present pairing record to try to start a lockdownd session: if it succeeds, the pairing is valid, otherwise obviously not. So this is what we do now.
2018-10-01tools: Remove length check on device UDID arguments to support newer devicesGravatar Nikias Bassen1-6/+6
The 40 characters length check on the device UDID made newer devices unusable with the libimobiledevice tools and was actually redundant since an invalid UDID will always fail to resolve. This commit removes the length check alltogether (but makes sure it is not an empty string "").
2018-07-24idevicepair: Fix possible memleak in option parsingGravatar Bastien Nocera1-0/+2
If some arguments are passed multiple times, don't leak the memory used for the value of the first arguments passed.
2015-10-06tools: Use PACKAGE_URL define for homepage project links in usage outputGravatar Martin Szulecki1-1/+5
2015-01-28Remove trailing whitespace errors from all filesGravatar Martin Szulecki1-4/+4
2015-01-27tools: Add link to project homepage on usage outputGravatar Martin Szulecki1-0/+1
2015-01-12idevicepair: Fix compilation due to renamed pairing dialog errorGravatar Martin Szulecki1-1/+1
2014-10-11tools: Make sure to print an error when lockdown connection failsGravatar Nikias Bassen1-1/+1
2014-03-24idevicepair: Don't call userpref_delete_pair_record as it is already done by ↵Gravatar Nikias Bassen1-2/+0
lockdownd_unpair
2014-03-22Update copyright in various filesGravatar Martin Szulecki1-0/+1
2014-03-21idevicepair: Synchronize usage between tool output and man pageGravatar Martin Szulecki1-6/+6
2014-03-21idevicepair: Refactor error message reporting to handle a pending trust dialogGravatar Martin Szulecki1-17/+24
2014-03-21Refactor pair record handling to use new usbmuxd pair record interfaceGravatar Martin Szulecki1-3/+9
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.
2013-09-17idevicepair: Port to use the new userpref API and add systembuid commandGravatar Martin Szulecki1-17/+32
2013-04-25common: Move debug and userpref code into libinternalcommonGravatar Martin Szulecki1-1/+1
2012-11-29tools: mass replace 'device' with 'phone' variable namesGravatar Nikias Bassen1-7/+7
2012-04-07Update comments of tools to use "device" instead of naming specific modelsGravatar Martin Szulecki1-2/+2
2012-03-22Mass replace UUID by UDID, which is the correct term for itGravatar Martin Szulecki1-30/+30
2012-03-18Completely remove glib dependency.Gravatar Nikias Bassen1-1/+2
2010-05-28Finish implementing idevicepair tool to allow managing pairings with devicesGravatar Martin Szulecki1-37/+75
2010-05-28idevicepair: Initial version of a simple pairing utilityGravatar Nikias Bassen1-0/+224