]>
git.saurik.com Git - ldid.git/log
Jay Freeman (saurik) [Mon, 28 Sep 2015 10:08:33 +0000 (03:08 -0700)]
Windows doesn't use the mode parameter on mkdir().
Jay Freeman (saurik) [Mon, 28 Sep 2015 09:53:52 +0000 (02:53 -0700)]
Sadly, g++ doesn't let me cast empty initializers.
Jay Freeman (saurik) [Mon, 28 Sep 2015 09:48:10 +0000 (02:48 -0700)]
Avoid dirent::d_namlen (not there on Linux glibc).
Jay Freeman (saurik) [Mon, 28 Sep 2015 09:46:42 +0000 (02:46 -0700)]
Get access to std::auto_ptr by including <memory>.
Jay Freeman (saurik) [Mon, 28 Sep 2015 09:38:55 +0000 (02:38 -0700)]
Avoid FTS (broken in glibc, not present on Win32).
Jay Freeman (saurik) [Mon, 28 Sep 2015 08:13:27 +0000 (01:13 -0700)]
Finish implementating application bundle codesign.
Jay Freeman (saurik) [Mon, 28 Sep 2015 03:50:12 +0000 (20:50 -0700)]
Link libplist and switch to their C++ wrapper API.
Jay Freeman (saurik) [Mon, 28 Sep 2015 03:48:48 +0000 (20:48 -0700)]
Use std::string more often, and factor out Commit.
Jay Freeman (saurik) [Mon, 28 Sep 2015 03:43:40 +0000 (20:43 -0700)]
Slightly improve prototypes for Sign and Allocate.
Jay Freeman (saurik) [Mon, 28 Sep 2015 01:54:47 +0000 (18:54 -0700)]
Standardize _syscall as exactly one function call.
Jay Freeman (saurik) [Mon, 28 Sep 2015 01:53:45 +0000 (18:53 -0700)]
Allow more useful error messages in _assert macro.
Jay Freeman (saurik) [Sun, 27 Sep 2015 22:14:07 +0000 (15:14 -0700)]
Move Functor implementation to header for the API.
Jay Freeman (saurik) [Sun, 27 Sep 2015 22:02:22 +0000 (15:02 -0700)]
Rename resign to Sign and put into ldid namespace.
Jay Freeman (saurik) [Sun, 27 Sep 2015 10:35:27 +0000 (03:35 -0700)]
Simplify implementation of temporary reallocation.
Jay Freeman (saurik) [Sun, 27 Sep 2015 10:09:53 +0000 (03:09 -0700)]
Push few filename variables into the deeper scope.
Jay Freeman (saurik) [Mon, 21 Sep 2015 19:50:36 +0000 (12:50 -0700)]
Indirect support for .app signing via new -E flag.
Jay Freeman (saurik) [Mon, 21 Sep 2015 18:56:54 +0000 (11:56 -0700)]
Remove unused constructor in already-long Functor.
Jay Freeman (saurik) [Mon, 21 Sep 2015 18:56:22 +0000 (11:56 -0700)]
Correct incompatible flag checks (support for -s).
Jay Freeman (saurik) [Mon, 21 Sep 2015 18:54:17 +0000 (11:54 -0700)]
Be more consistent in how size constants are used.
Jay Freeman (saurik) [Mon, 21 Sep 2015 18:53:19 +0000 (11:53 -0700)]
Apply static to most (if not all) local functions.
Jay Freeman (saurik) [Mon, 21 Sep 2015 09:41:24 +0000 (02:41 -0700)]
Use PKCS12 files to compile a real code signature.
Jay Freeman (saurik) [Mon, 21 Sep 2015 08:09:34 +0000 (01:09 -0700)]
Generally prefer data.empty() to data.size() == 0.
Jay Freeman (saurik) [Mon, 21 Sep 2015 07:05:11 +0000 (00:05 -0700)]
Reimplement requirements using newer abstractions.
Jay Freeman (saurik) [Mon, 21 Sep 2015 06:44:16 +0000 (23:44 -0700)]
Move repetitive Blob magic/length logic to insert.
Jay Freeman (saurik) [Mon, 21 Sep 2015 06:28:25 +0000 (23:28 -0700)]
Abstract SuperBlob helper to support requirements.
Jay Freeman (saurik) [Mon, 21 Sep 2015 04:48:20 +0000 (21:48 -0700)]
Port ldid to build inside of Impactor for Windows.
Jay Freeman (saurik) [Mon, 21 Sep 2015 02:02:17 +0000 (19:02 -0700)]
Use an std::string to store the name being signed.
Jay Freeman (saurik) [Mon, 21 Sep 2015 01:52:15 +0000 (18:52 -0700)]
Complete padding of final fat code directory blob.
Jay Freeman (saurik) [Mon, 21 Sep 2015 01:45:09 +0000 (18:45 -0700)]
Avoid special case for removal of code signatures.
Jay Freeman (saurik) [Mon, 21 Sep 2015 00:45:13 +0000 (17:45 -0700)]
Update copyright year. (Wow, ldid is very old ;P.)
Jay Freeman (saurik) [Mon, 21 Sep 2015 00:43:56 +0000 (17:43 -0700)]
Drop dependency on minimal as we port to Impactor.
Jay Freeman (saurik) [Mon, 21 Sep 2015 00:38:34 +0000 (17:38 -0700)]
Internally stream signed output to std::streambuf.
Jay Freeman (saurik) [Sun, 20 Sep 2015 01:39:15 +0000 (18:39 -0700)]
Extract reallocation/signature to helper function.
Jay Freeman (saurik) [Tue, 25 Aug 2015 08:14:30 +0000 (01:14 -0700)]
Support LC_ENCRYPTION_INFO_64, for 64-bit decrypt.
Jay Freeman (saurik) [Tue, 25 Aug 2015 07:23:34 +0000 (00:23 -0700)]
Merge -r into -S and remove all non-obvious flags.
Jay Freeman (saurik) [Tue, 25 Aug 2015 00:01:43 +0000 (17:01 -0700)]
Avoid using minimal/mapping.h (use internal mmap).
Jay Freeman (saurik) [Mon, 24 Aug 2015 23:29:49 +0000 (16:29 -0700)]
The Archive Identity Editor is a separate project.
Jay Freeman (saurik) [Mon, 24 Aug 2015 23:12:32 +0000 (16:12 -0700)]
Avoid using minimal/string.h (prefer std::string).
Jay Freeman (saurik) [Sun, 23 Aug 2015 09:21:23 +0000 (02:21 -0700)]
Use OpenSSL to implement SHA1 instead of our copy.
Jay Freeman (saurik) [Fri, 21 Aug 2015 12:57:05 +0000 (05:57 -0700)]
Avoid sharing linkedit_data_commands in FAT files.
Jay Freeman (saurik) [Fri, 21 Aug 2015 12:53:29 +0000 (05:53 -0700)]
Separate lookup of LC_ENCRYPTION_INFO from usages.
Jay Freeman (saurik) [Fri, 21 Aug 2015 12:32:58 +0000 (05:32 -0700)]
Add libplist (and libcnary) so to sign Info.plist.
Jay Freeman (saurik) [Mon, 29 Jun 2015 19:04:31 +0000 (12:04 -0700)]
Maintain fat_arch.align when allocating fat files.
Jay Freeman (saurik) [Sat, 27 Jun 2015 04:32:50 +0000 (21:32 -0700)]
Align size of a final embedded Mach-O to 16 bytes.
Jay Freeman (saurik) [Sat, 27 Jun 2015 04:30:47 +0000 (21:30 -0700)]
Align __LINKEDIT segment vmsize to match filesize.
Jay Freeman (saurik) [Sat, 27 Jun 2015 04:23:23 +0000 (21:23 -0700)]
Older versions of Apple's compiler give me errors.
Jay Freeman (saurik) [Sat, 27 Jun 2015 04:18:46 +0000 (21:18 -0700)]
Use _syscall to verify that -S's truncate worked.
Jay Freeman (saurik) [Sat, 27 Jun 2015 04:18:40 +0000 (21:18 -0700)]
Apple's newer LLVM backends generate garbage code.
Jay Freeman (saurik) [Fri, 26 Jun 2015 11:30:42 +0000 (04:30 -0700)]
Remove some thankfully now-obsolete UNIX includes.
Jay Freeman (saurik) [Fri, 26 Jun 2015 10:26:52 +0000 (03:26 -0700)]
Avoid Depends: on odcctools for codesign_allocate.
Jay Freeman (saurik) [Fri, 26 Jun 2015 08:31:54 +0000 (01:31 -0700)]
Commit old logic to force codesign's install_name.
Jay Freeman (saurik) [Mon, 9 Feb 2015 04:35:13 +0000 (20:35 -0800)]
Fix compile using newer Xcode SDK or gcc on Linux.
Jay Freeman (saurik) [Tue, 31 Dec 2013 13:14:00 +0000 (05:14 -0800)]
Very minor (critical) changes to the build script.
Jay Freeman (saurik) [Thu, 5 Sep 2013 09:02:43 +0000 (02:02 -0700)]
Fix a typo mistake copying Telesphoreo description.
Jay Freeman (saurik) [Tue, 3 Sep 2013 05:55:37 +0000 (22:55 -0700)]
Add special cases to support old codesign_allocate.
Jay Freeman (saurik) [Tue, 3 Sep 2013 05:55:12 +0000 (22:55 -0700)]
The iOS package script installed ldid as ldid.arm.
Jay Freeman (saurik) [Sat, 1 Dec 2012 12:45:33 +0000 (04:45 -0800)]
Add MH_OBJECT and BIND_* definitions for later use.
Jay Freeman (saurik) [Sat, 1 Dec 2012 12:42:27 +0000 (04:42 -0800)]
Use || instead of |... not certain how that happnened.
Jay Freeman (saurik) [Sun, 4 Nov 2012 05:43:20 +0000 (22:43 -0700)]
Change license on ldid to AGPL3 (reflecting usage).
Jay Freeman (saurik) [Sun, 4 Nov 2012 05:02:42 +0000 (22:02 -0700)]
Add minimal as a git submodule for easier access.
Jay Freeman (saurik) [Fri, 7 Sep 2012 02:14:58 +0000 (19:14 -0700)]
Use the new -A cpu filter when using -r and -S.
Jay Freeman (saurik) [Fri, 7 Sep 2012 02:12:27 +0000 (19:12 -0700)]
Attept to autodetect support gcc architectures.
Jay Freeman (saurik) [Fri, 7 Sep 2012 02:11:58 +0000 (19:11 -0700)]
Add the cryptid= value to decryption report.
Jay Freeman (saurik) [Fri, 7 Sep 2012 02:10:28 +0000 (19:10 -0700)]
Add a build environment for iOS+Cydia packaging.
Jay Freeman (saurik) [Thu, 6 Sep 2012 13:23:01 +0000 (06:23 -0700)]
Provide -a and -A, used to dump and select archs.
Jay Freeman (saurik) [Thu, 6 Sep 2012 13:22:31 +0000 (06:22 -0700)]
Add -d and -D, used to dump and edit encryptions.
Jay Freeman (saurik) [Thu, 6 Sep 2012 13:18:18 +0000 (06:18 -0700)]
Add the -O flag I used to munge extracted dylibs.
Jay Freeman (saurik) [Thu, 6 Sep 2012 13:23:41 +0000 (06:23 -0700)]
Added a few _packed modifiers that were missing.
Jay Freeman (saurik) [Thu, 6 Sep 2012 13:19:15 +0000 (06:19 -0700)]
Fix a few compilation warnings: const, %z, unused.
Jay Freeman (saurik) [Wed, 4 Jul 2012 20:02:35 +0000 (13:02 -0700)]
Change software license from GPLv3 from Modified BSD.
Jay Freeman (saurik) [Sat, 22 Oct 2011 23:36:30 +0000 (16:36 -0700)]
Support ldid -r on fat, big-endian, and 64-bit.
Jay Freeman (saurik) [Sat, 22 Oct 2011 14:15:35 +0000 (07:15 -0700)]
Support read-only mmap when possible.
Jay Freeman (saurik) [Sat, 22 Oct 2011 14:13:41 +0000 (07:13 -0700)]
Add a -> operator to FatHeader for parity.
Jay Freeman (saurik) [Sat, 22 Oct 2011 14:13:15 +0000 (07:13 -0700)]
Add a ton more load command structs.
Jay Freeman (saurik) [Sat, 22 Oct 2011 14:11:53 +0000 (07:11 -0700)]
Add ldid -r: reverse ldid.
Jay Freeman (saurik) [Fri, 20 May 2011 03:52:39 +0000 (20:52 -0700)]
Support universal (fat) binaries.
Jay Freeman (saurik) [Thu, 10 Feb 2011 03:05:15 +0000 (19:05 -0800)]
Update copyright and description.
Jay Freeman (saurik) [Thu, 13 Jan 2011 13:23:54 +0000 (05:23 -0800)]
Have make.sh output what it is doing.
Jay Freeman (saurik) [Thu, 13 Jan 2011 13:23:33 +0000 (05:23 -0800)]
Support compilation on Mac OS X 10.4.
Jay Freeman (saurik) [Thu, 13 Jan 2011 13:18:45 +0000 (05:18 -0800)]
Fix swap on MH_DYLDLINK enforce.
Jay Freeman (saurik) [Mon, 8 Nov 2010 18:11:36 +0000 (10:11 -0800)]
Support running ldid on ppc.
Jay Freeman (saurik) [Fri, 5 Nov 2010 20:26:22 +0000 (13:26 -0700)]
Support ldid on PPC binaries.
Jay Freeman (saurik) [Fri, 5 Nov 2010 19:25:30 +0000 (12:25 -0700)]
Add a simple build environment.
Jay Freeman (saurik) [Fri, 5 Nov 2010 19:24:38 +0000 (12:24 -0700)]
Add support for i386 and x86_64 binaries.
Jay Freeman (saurik) [Fri, 5 Nov 2010 19:24:22 +0000 (12:24 -0700)]
Fix a stupid warning with printf().
Jay Freeman (saurik) [Thu, 13 Aug 2009 20:33:45 +0000 (20:33 +0000)]
Be a little more explicit about types for Cygwin.
Jay Freeman (saurik) [Wed, 20 May 2009 06:35:14 +0000 (06:35 +0000)]
Make ldid workaround the stupid inode issue.
Jay Freeman (saurik) [Tue, 21 Apr 2009 07:47:25 +0000 (07:47 +0000)]
Add MH_DYLDLINK before attempting codesign_allocate.
Jay Freeman (saurik) [Mon, 20 Apr 2009 06:44:55 +0000 (06:44 +0000)]
Checkpointing work on -n and -w before adding MH_DYLDLINK.
Jay Freeman (saurik) [Sun, 22 Feb 2009 12:09:42 +0000 (12:09 +0000)]
Added string.h for memset. (toelooper)
Jay Freeman (saurik) [Mon, 15 Sep 2008 09:13:41 +0000 (09:13 +0000)]
Added ldid -e.
Jay Freeman (saurik) [Tue, 22 Jul 2008 10:58:10 +0000 (10:58 +0000)]
Fixed a stupid bug in ldid that caused incorrect signatures occasionally.
Jay Freeman (saurik) [Sun, 20 Jul 2008 02:35:07 +0000 (02:35 +0000)]
Added usage to ldid.
Jay Freeman (saurik) [Fri, 18 Jul 2008 08:19:34 +0000 (08:19 +0000)]
Added codehash update-only and entitlement hashing.
Jay Freeman (saurik) [Sun, 6 Jul 2008 21:06:40 +0000 (21:06 +0000)]
Switched to minimal's strndup.
Jay Freeman (saurik) [Sun, 6 Jul 2008 20:56:57 +0000 (20:56 +0000)]
Added support for entitlement XML files.
Jay Freeman (saurik) [Mon, 16 Jun 2008 20:04:36 +0000 (20:04 +0000)]
Added .ar and .elc determinism.
Jay Freeman (saurik) [Mon, 16 Jun 2008 19:37:56 +0000 (19:37 +0000)]
Added a #define for a DYLIB_STUB, not that I need to use it, apparently.
Jay Freeman (saurik) [Sat, 14 Jun 2008 20:42:54 +0000 (20:42 +0000)]
Maintain permissions during codehashing.
Jay Freeman (saurik) [Sat, 14 Jun 2008 09:29:39 +0000 (09:29 +0000)]
Added requirement slots and armv6 support to ldid/codesign.