Skip to content

Fork Sync #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 142 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
fe82727
Allow using limd as a submodule
kabiroberai Sep 4, 2022
377dda2
Support OpenSSL built without OPENSSL_ENGINE
kabiroberai Sep 4, 2022
b5ce444
Fix iOS SDK build
kabiroberai Sep 4, 2022
ef7cf8e
restore: Remove incorrect invocation of free() in restored_get_value
nikias Sep 14, 2022
5debcee
mobilebackup: Fix version check to allow operability with really old …
nikias Oct 4, 2022
b314f04
lockdown: Fix error parsing for older iOS versions
nikias Oct 4, 2022
a6775bc
tools: Add idevicedevmodectl tool
nikias Dec 10, 2022
f781905
tools/ideviceimagemounter: Notify user of missing Developer Mode on i…
nikias Dec 10, 2022
06f212e
[github-actions] Fix build workflow for Linux/ubuntu
nikias Dec 10, 2022
7a8e432
idevicebackup2: Fix missing break in switch case statement
nikias Dec 10, 2022
8455d43
idevice: Simplify TLS version selection code for older devices
nikias Jan 11, 2023
a15a316
idevice: Fix connections to <= iOS 5 devices with OpenSSL 3
nikias Jan 11, 2023
9a5e78f
idevice: Use more reliable version check macro for OpenSSL 3 specific…
nikias Jan 11, 2023
c797c2a
reverse_proxy: Fix use-after-free
nikias Feb 21, 2023
cc540a2
3rd_party: Prevent installation of internal headers
nikias Mar 1, 2023
963083b
installation_proxy: Handle BundleIDs in instproxy_client_options_add
nikias Mar 23, 2023
eda2c5e
Updated to use latest libplist API changes
nikias Apr 21, 2023
860ffb7
git-version-gen: Prevent multiple lines of output
nikias Apr 30, 2023
a172604
idevice: Use network addresses as is from what we get from (lib)usbmuxd
nikias Jun 27, 2023
806ab8d
idevice: Fix network address handling in other code paths too
nikias Jun 28, 2023
23c1d30
idevice: Add missing include for Windows
nikias Jun 28, 2023
81b12f0
tools/idevicedevmodectl: Add missing include
nikias Jun 29, 2023
643a46c
tools/idevicedebug: Add missing default case for switch statement
nikias Jun 29, 2023
f4c30d5
3rd_party/ed25519: Silence compiler warning about missing return valu…
nikias Jun 30, 2023
52ab7b7
3rd_party/libsrp6a-sha512: Update function definitions to modern style
nikias Jun 30, 2023
474fd92
3rd_party/libsrp6a-sha512: Updated to work with OpenSSL 3.0+ API
nikias Jul 4, 2023
e57b6e7
Updated OpenSSL-specific code to use OpenSSL 3.0+ API
nikias Jul 5, 2023
8163ca0
Silence (v)asprintf related compiler warnings
nikias Jul 5, 2023
6fc41f5
tools/idevicecrashreport: Silence compiler warning
nikias Jul 5, 2023
ba2fb48
automake: Reorder CFLAGS to fix build issues and use correct SSL libr…
nikias Oct 6, 2023
04c0233
[github-actions] Update checkout and upload-artifact to v3
nikias Oct 6, 2023
9ecd81d
Fix iOS 1 SSL connection
tihmstar Dec 12, 2023
9f29d3b
Fix idevicebackup2 man page
nikias Dec 12, 2023
5452024
sbservices: Read setIconState response
dnicolson Nov 16, 2023
8819a30
Fix GitHub Action for Cython on macOS
dnicolson Nov 24, 2023
a7f993d
cython: Fix Python 3 LockdownClient exception
dnicolson Nov 23, 2023
b18bfef
Remove bashisms in configure.ac
l-pt May 7, 2023
54135e4
mobilebackup: Add missing include
nikias Dec 15, 2023
d86140f
lockdown-cu: Fix the build with LibreSSL >= 3.5.0
orbea Apr 11, 2023
d872130
idevice: Update for LibreSSL >= 3.6.0
orbea Apr 11, 2023
d379401
idevicedevmodectl: Include unistd.h for usleep()
kraj May 10, 2023
76f924c
idevicesyslog: Allow writing output to a file with command line option
nikias Dec 22, 2023
7f781eb
tools: Add afcclient utility
nikias Dec 30, 2023
4cb84a7
Updated README
nikias Dec 30, 2023
f723a44
tools/idevicedevmodectl: Fix action success check and device reboot d…
nikias Jan 11, 2024
63bbac5
Move LIBIMOBILEDEVICE_API to public headers
nikias Jan 31, 2024
0bdef85
Add afc_strerror function to interface
nikias Jan 31, 2024
3c88faf
tools/afcclient: Print human readable description of AFC error code o…
nikias Jan 31, 2024
73b6fd1
tools/afcclient: Allow removing non-empty directories with -r
nikias Feb 1, 2024
7b1faa0
Add libimobiledevice_version() function to interface
nikias Mar 16, 2024
49f4ceb
autoconf: Add LibreSSL specific check
nikias Mar 17, 2024
9649448
tools: Fix memory leak in idevicedevmodectl
nikias Mar 27, 2024
fb1dec7
cython: fixed notification_proxy callback gil lock
aymenim Mar 15, 2016
9eee3d1
cython: Allow passing null to lockdown set value
aymenim Mar 21, 2016
59ec38c
cython: Fix cython3 noexcept compilation error
IridiumXOR Jan 11, 2024
1ec2c2c
cython: Set explicit language_level to 3str
nikias Apr 1, 2024
3cea605
[github-actions] Use newer cython version (macOS/Linux)
nikias Apr 2, 2024
3969bc9
autoconf: Require cython 3.0 for python bindings
nikias Apr 2, 2024
5f08342
automake: Prevent `dist` or `distcheck` when uncommitted changes are …
nikias Apr 16, 2024
9d74aed
libsrp6a-sha512: disable BN_mod_exp_mont_word() with LibreSSL
orbea Apr 23, 2024
80d5f46
common/userpref: remove X509V3_EXT_cleanup()
orbea Apr 23, 2024
f2d3d40
[github-actions] Update actions in build workflow to newer versions
nikias Apr 27, 2024
77c727b
[github-actions] Fix cython installation for macOS build
nikias Apr 28, 2024
469d21c
common: Add libimobiledevice-glue to dependencies
nikias May 16, 2024
d4efb4e
tools/afcclient: Allow get folder from device to local.
tomriddly Apr 28, 2024
8bed93c
tools/afcclient: Allow put directory to device
tomriddly Apr 28, 2024
d2374c3
.gitignore: Ignore build target for afcclient
tomriddly Apr 28, 2024
3d2ef97
tools/afcclient: get/put operations use '-f' to allow overwrite, '-r'…
tomriddly May 2, 2024
db0e022
tools/afcclient: Update get/put options in help message
tomriddly May 2, 2024
d4bd267
docs/Makefile.am: add man doc build for afcclient
tomriddly May 2, 2024
af3d102
docs: Update manpage for afcclient
tomriddly May 2, 2024
753844b
tools/afcclient: Prevent too much blank lines from recursive put
tomriddly May 2, 2024
80e13a3
tools/afcclient: Fix build for Windows
nikias May 18, 2024
9ccc522
tools/afcclient: Add missing argument count check for `get` command
nikias May 20, 2024
ed0d66d
Update libimobiledevice-glue dependency to 1.3.0 and use its SHA1 imp…
nikias Jun 27, 2024
68df374
Add support for iOS 17+ Personalized Developer Disk image mounting
nikias Jun 27, 2024
87788ae
Updated README.md to mention libtatsu dependency
nikias Jun 27, 2024
927898c
tools/afcclient: Add missing time.h header.
nikias Jun 27, 2024
d1a98e0
[github-actions] Fix build workflow for new libtatsu dependency
nikias Jun 27, 2024
2a0a6d5
tools: Fix heap buffer overflow in ideviceimagemounter
nikias Jul 1, 2024
42f2553
tools: Fix typo in Makefile.am regarding idevicebtlogger_CFLAGS
nikias Aug 7, 2024
ed9703d
tools: Add detection and note about passcode requirement for iOS 16.1
nikias Sep 16, 2024
8811029
3rd_party/libsrp6a: Remove unnecessary allocator code and just use ma…
nikias Oct 8, 2024
c60d70c
win32: Add missing include for Sleep
nikias Oct 22, 2024
12c1c5e
Updated README
nikias Oct 22, 2024
2726ee5
idevicecrashreport: Allow removing crash logs without copying.
nikias Oct 25, 2024
dc445fd
docs: Update manpage for idevicecrashreport
nikias Oct 25, 2024
205fd58
idevice: Use proper cast for pointer to fd
nikias Oct 26, 2024
3b5d3e5
tools: Some Makefile fine-tuning
nikias Oct 27, 2024
5aebbc0
configure: Fine-tuning for MinGW/msys build
nikias Oct 27, 2024
ba829e6
tools: Add --insecure option to idevicenotificationproxy tool
nikias Nov 14, 2024
bcced6c
Fix attempts to detect Windows using _WIN32
mrexodia Nov 27, 2024
563f912
Switch to better initializer strategy
mrexodia Nov 27, 2024
9bc95a0
Fix compilation on MSVC
mrexodia Nov 27, 2024
b9b78f2
[github-actions] Run build workflow on pull_request
nikias Nov 29, 2024
a911066
[github-actions] Bump dawidd6/action-download-artifact from 3 to 6
nikias Nov 29, 2024
add40b9
tools: Fix build due to missing sys/stat.h
nikias Nov 29, 2024
ac617a8
Updated ax_python_devel.m4
nikias Nov 29, 2024
c8cdf20
configure: Remove unused check
nikias Dec 2, 2024
1b09adc
tools/idevicebackup2: Fix free disk space calculation
nikias Jan 6, 2025
e198940
tools: Fix afclient compilation by adding libimobiledevice-glue depen…
nikias Jan 22, 2025
f61a3bb
tools: Fix usage output for ideviceimagemounter
nikias Jan 22, 2025
8dad5e2
tools/afcclient: Fix missing last letter of file name when put/get to…
tomriddly May 22, 2024
a6b6c35
tool/afcclient: Fix local file name error on pulling folder from device
tomriddly Jul 25, 2024
0bf0f9e
[cython] Fix build
nikias Jun 1, 2025
f4d8e4f
Add idevice_strerror() to interface
kkuehl Jun 6, 2025
eae0cd2
idevicesetlocation: Print proper lockdown error message when connecti…
Fidetro Jun 7, 2025
72456f2
idevicesetlocation: Return positive values from main()
nikias Jun 7, 2025
2e1ee28
lockdown: Move ProductVersion and DeviceClass query into lockdownd_cl…
nikias Jun 7, 2025
e3f2d60
Add new idevice_get_device_version() to interface
nikias Jun 7, 2025
0480584
idevicebackup2: Use new idevice_get_device_version helper
nikias Jun 7, 2025
170b9eb
idevicesetlocation: Add note about non-compatibility with iOS 17+
nikias Jun 7, 2025
5af887d
ideviceimagemounter: Use new idevice_get_device_version and helper ma…
nikias Jun 7, 2025
e3f3558
ideviceprovision: Use new idevice_get_device_version and helper macro…
nikias Jun 7, 2025
f1e99c0
lockdown: Fix implicit fallthrough in switch case statement
nikias Jun 7, 2025
58baf02
ideviceprovision: [Windows] Add missing include
nikias Jun 7, 2025
c40be27
Use SHA256 signature instead of SHA1 for iOS 4 and newer when creatin…
mickacompelson Jun 7, 2025
009b982
idevice: Fix build
nikias Jun 7, 2025
4c50979
Add unmatch filter option to idevicesyslog.
xingheng Jun 7, 2025
b9ff67f
Use updated libplist API if available
nikias Jun 9, 2025
796d09d
Add milliseconds to debug messages and remove unnecessary allocations
nikias Jun 9, 2025
9d26a16
idevice: Remove unused assignment in SSL bio callback for OpenSSL < 3.0
nikias Jun 10, 2025
8b316af
debug: Silence some compiler warnings
nikias Jun 12, 2025
c65b19d
lockdown-cu: Silence compiler warning
nikias Jun 12, 2025
eeb320d
Add os_trace_relay service implementation
nikias Jun 12, 2025
d3aec6d
idevicesyslog: Use new ostrace service implementation (iOS 9+)
nikias Jun 12, 2025
3bf294f
lockdown: Only query ProductVersion and DeviceClass if we are talking…
nikias Jun 12, 2025
483d040
ostrace: Use void*/const void* and size_t
nikias Jun 12, 2025
421b6e5
ostrace: Remove commented-out code
nikias Jun 12, 2025
5058a1e
idevicesyslog: Fix unplug handling
nikias Jun 12, 2025
b88632c
idevicesyslog: Another small fix for device detection with ostrace
nikias Jun 12, 2025
8c60ad8
idevicesyslog: Add 'pidlist' and 'archive' commands
nikias Jun 13, 2025
4c9bfc5
idevicesyslog: Add synonyms for --syslog_relay option
nikias Jun 13, 2025
3aac510
idevicesyslog: Sort pidlist by pid numerically
nikias Jun 14, 2025
8d048f4
ostrace: Use smaller timeout in receive loop
nikias Jun 14, 2025
34b170f
idevicesyslog: Use ostrace's pid filter if possible
nikias Jun 14, 2025
39357c0
idevicesyslog: Use --syslog-relay in description and man page
nikias Jun 27, 2025
9049ffb
afc: Add afc_get_file_info_plist and afc_get_device_info_plist functions
nikias Jun 28, 2025
cb34a17
tools: Use new afc_get_file_info_plist/afc_get_device_info_plist func…
nikias Jun 29, 2025
967fa8a
[github-actions] Update build workflow to use windows-latest
nikias Jul 10, 2025
efcbdb6
tools: Print error and exit if invalid command is passed to idevicesy…
nikias Jul 10, 2025
c269d7e
idevicesyslog: Fix initial device enumeration
nikias Jul 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 3rd_party/libsrp6a-sha512/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include_HEADERS = srp.h srp_aux.h cstr.h

AM_CFLAGS = -DHAVE_CONFIG_H
if HAVE_OPENSSL
AM_CFLAGS += -DOPENSSL=1 -DOPENSSL_ENGINE=1 $(openssl_CFLAGS)
AM_CFLAGS += -DOPENSSL=1 $(openssl_CFLAGS)
else
if HAVE_GCRYPT
AM_CFLAGS += -DGCRYPT=1 $(libgcrypt_CFLAGS)
Expand Down
5 changes: 3 additions & 2 deletions 3rd_party/libsrp6a-sha512/t_math.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ typedef BIGNUM * BigInteger;
typedef BN_CTX * BigIntegerCtx;
typedef BN_MONT_CTX * BigIntegerModAccel;
#include <limits.h>
# ifdef OPENSSL_ENGINE
# ifndef OPENSSL_NO_ENGINE
# define OPENSSL_ENGINE
# include "openssl/engine.h"
static ENGINE * default_engine = NULL;
# endif /* OPENSSL_ENGINE */
Expand Down Expand Up @@ -951,7 +952,7 @@ BigIntegerModAccelFree(accel)
BigIntegerResult
BigIntegerInitialize()
{
#if OPENSSL_VERSION_NUMBER >= 0x00907000
#if OPENSSL_VERSION_NUMBER >= 0x00907000 && defined(OPENSSL_ENGINE)
ENGINE_load_builtin_engines();
#endif
return BIG_INTEGER_SUCCESS;
Expand Down
2 changes: 1 addition & 1 deletion git-version-gen
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SRCDIR=`dirname $0`
if test -n "$1"; then
VER=$1
else
if test -d "${SRCDIR}/.git" && test -x "`which git`" ; then
if test -r "${SRCDIR}/.git" && test -x "`which git`" ; then
git update-index -q --refresh
if ! VER=`git describe --tags --dirty 2>/dev/null`; then
COMMIT=`git rev-parse --short HEAD`
Expand Down
3 changes: 2 additions & 1 deletion src/lockdown-cu.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
#include <sys/sysctl.h>
#include <SystemConfiguration/SystemConfiguration.h>
#include <CoreFoundation/CoreFoundation.h>
#include <TargetConditionals.h>
#endif

#include "property_list_service.h"
Expand Down Expand Up @@ -647,7 +648,7 @@ LIBIMOBILEDEVICE_API lockdownd_error_t lockdownd_cu_pairing_create(lockdownd_cli

/* HOST INFORMATION */
char hostname[256];
#ifdef __APPLE__
#if defined(__APPLE__) && !defined(TARGET_OS_IPHONE)
CFStringRef cname = SCDynamicStoreCopyComputerName(NULL, NULL);
CFStringGetCString(cname, hostname, sizeof(hostname), kCFStringEncodingUTF8);
CFRelease(cname);
Expand Down