]> git.saurik.com Git - ldid.git/log
ldid.git
2 years agoCorrectly handle nesting frameworks in frameworks.
Jay Freeman (saurik) [Thu, 27 Jan 2022 09:05:29 +0000 (01:05 -0800)] 
Correctly handle nesting frameworks in frameworks.

3 years agoThe comment says to use a nullbuf, so let's do it! v2.1.5
Jay Freeman (saurik) [Wed, 15 Sep 2021 03:01:28 +0000 (20:01 -0700)] 
The comment says to use a nullbuf, so let's do it!

3 years agoFix LDID_NOPLIST (used by Cydia Substrate on iOS).
Jay Freeman (saurik) [Mon, 14 Jun 2021 07:36:11 +0000 (00:36 -0700)] 
Fix LDID_NOPLIST (used by Cydia Substrate on iOS).

3 years agoImplement DER encoding of entitlements for iOS 15.
Jay Freeman (saurik) [Fri, 11 Jun 2021 09:28:58 +0000 (02:28 -0700)] 
Implement DER encoding of entitlements for iOS 15.

3 years agoFix regression on FAT files (from 64-bit support). v2.1.4
Jay Freeman (saurik) [Mon, 12 Apr 2021 18:54:53 +0000 (11:54 -0700)] 
Fix regression on FAT files (from 64-bit support).

3 years agoHit an unfriendly assertion if not signing bundle. v2.1.3
Jay Freeman (saurik) [Mon, 22 Feb 2021 23:41:31 +0000 (15:41 -0800)] 
Hit an unfriendly assertion if not signing bundle.

3 years agoAdd -d to pair with -D, and also -h compatibility.
Jay Freeman (saurik) [Mon, 22 Feb 2021 23:07:02 +0000 (15:07 -0800)] 
Add -d to pair with -D, and also -h compatibility.

3 years agoSupport CodeDirectory version 0x20400 ("to spec").
Jay Freeman (saurik) [Mon, 22 Feb 2021 04:32:44 +0000 (20:32 -0800)] 
Support CodeDirectory version 0x20400 ("to spec").

3 years agoAdd a flag for checkra1n that does codesign -dvvv.
Jay Freeman (saurik) [Sat, 20 Feb 2021 10:26:35 +0000 (02:26 -0800)] 
Add a flag for checkra1n that does codesign -dvvv.

3 years agoRemove this Digest struct that had become Hash :(.
Jay Freeman (saurik) [Sat, 20 Feb 2021 10:25:59 +0000 (02:25 -0800)] 
Remove this Digest struct that had become Hash :(.

3 years agoPlease to be not resigning all my Firefox.apps :/.
Jay Freeman (saurik) [Sat, 20 Feb 2021 10:12:59 +0000 (02:12 -0800)] 
Please to be not resigning all my Firefox.apps :/.

3 years agoImprove, but not really fix :/, support for macOS.
Jay Freeman (saurik) [Sat, 20 Feb 2021 03:17:00 +0000 (19:17 -0800)] 
Improve, but not really fix :/, support for macOS.

3 years agoDon't sign symlinks as part of old "files" schema.
Jay Freeman (saurik) [Sat, 20 Feb 2021 01:27:47 +0000 (17:27 -0800)] 
Don't sign symlinks as part of old "files" schema.

3 years agoSign "nested" symlinks (suggested by kabiroberai).
Jay Freeman (saurik) [Sat, 20 Feb 2021 01:26:31 +0000 (17:26 -0800)] 
Sign "nested" symlinks (suggested by kabiroberai).

5 years agoSupport signing dyld (sbingner tested this patch).
Jay Freeman (saurik) [Tue, 5 Nov 2019 01:40:30 +0000 (17:40 -0800)] 
Support signing dyld (sbingner tested this patch).

5 years agoThe behavior of usage made absolutely no sense :/. v2.1.2
Jay Freeman (saurik) [Mon, 4 Nov 2019 23:26:13 +0000 (15:26 -0800)] 
The behavior of usage made absolutely no sense :/.

5 years agoSupport entitlement merges with unentitled binary. v2.1.1
Jay Freeman (saurik) [Wed, 20 Feb 2019 02:49:40 +0000 (18:49 -0800)] 
Support entitlement merges with unentitled binary.

5 years agoProvide a -M flag to merge entitlements into file. v2.1.0
Jay Freeman (saurik) [Tue, 19 Feb 2019 07:06:17 +0000 (23:06 -0800)] 
Provide a -M flag to merge entitlements into file.

5 years agoImprove compatibility across different Cydia eras.
Jay Freeman (saurik) [Tue, 19 Feb 2019 05:55:19 +0000 (21:55 -0800)] 
Improve compatibility across different Cydia eras.

5 years agoProvide compatibility with Sam Bingner's era ldid.
Jay Freeman (saurik) [Tue, 19 Feb 2019 05:25:00 +0000 (21:25 -0800)] 
Provide compatibility with Sam Bingner's era ldid.

5 years agoUpdate build environment to support sbigner's era.
Jay Freeman (saurik) [Tue, 19 Feb 2019 05:12:35 +0000 (21:12 -0800)] 
Update build environment to support sbigner's era.

5 years agoPort hash agility support to use OpenSSL 0.9.x :D.
Jay Freeman (saurik) [Tue, 19 Feb 2019 04:59:10 +0000 (20:59 -0800)] 
Port hash agility support to use OpenSSL 0.9.x :D.

6 years agoFix compilation via macOS 10.12 targetting iOS 11.
Jay Freeman (saurik) [Sat, 13 Jan 2018 18:31:04 +0000 (10:31 -0800)] 
Fix compilation via macOS 10.12 targetting iOS 11.

6 years agoLet the user set values for CS flags and platform.
Jay Freeman (saurik) [Sun, 31 Dec 2017 10:08:59 +0000 (02:08 -0800)] 
Let the user set values for CS flags and platform.

6 years agoSupport signing binaries without any symbol table.
Jay Freeman (saurik) [Sun, 31 Dec 2017 10:07:16 +0000 (02:07 -0800)] 
Support signing binaries without any symbol table.

5 years agoSwap libplist with CoreFoundation (for Substrate).
Jay Freeman (saurik) [Sun, 3 Feb 2019 10:54:37 +0000 (02:54 -0800)] 
Swap libplist with CoreFoundation (for Substrate).

6 years agoFix build when defining LDID_NOSMIME (no openssl).
Jay Freeman (saurik) [Sat, 13 Oct 2018 07:34:28 +0000 (00:34 -0700)] 
Fix build when defining LDID_NOSMIME (no openssl).

6 years agoOverride entitlements on frameworks to executable.
Jay Freeman (saurik) [Fri, 21 Sep 2018 09:53:17 +0000 (02:53 -0700)] 
Override entitlements on frameworks to executable.

6 years agoClarify progress output for multiple architecture.
Jay Freeman (saurik) [Fri, 21 Sep 2018 09:14:45 +0000 (02:14 -0700)] 
Clarify progress output for multiple architecture.

6 years agoAdd name of hash algorithm to Algorithm structure.
Jay Freeman (saurik) [Fri, 21 Sep 2018 09:14:21 +0000 (02:14 -0700)] 
Add name of hash algorithm to Algorithm structure.

6 years agoPKCS12_parse returns NULL instead of empty stacks.
Jay Freeman (saurik) [Wed, 19 Sep 2018 08:10:33 +0000 (01:10 -0700)] 
PKCS12_parse returns NULL instead of empty stacks.

6 years agoWrap assertion strings, for configuration by host.
Jay Freeman (saurik) [Mon, 17 Sep 2018 09:54:58 +0000 (02:54 -0700)] 
Wrap assertion strings, for configuration by host.

6 years agoSupport hash agility and invert certificate chain.
Jay Freeman (saurik) [Mon, 17 Sep 2018 09:24:22 +0000 (02:24 -0700)] 
Support hash agility and invert certificate chain.

6 years agoMatch rule behavior of recent version of codesign.
Jay Freeman (saurik) [Mon, 17 Sep 2018 07:22:36 +0000 (00:22 -0700)] 
Match rule behavior of recent version of codesign.

6 years agoFully implement CSSLOT_REQUIREMENTS like codesign.
Jay Freeman (saurik) [Mon, 17 Sep 2018 07:21:22 +0000 (00:21 -0700)] 
Fully implement CSSLOT_REQUIREMENTS like codesign.

6 years agoRename requirement to requirements (pluralize it).
Jay Freeman (saurik) [Mon, 17 Sep 2018 07:19:29 +0000 (00:19 -0700)] 
Rename requirement to requirements (pluralize it).

6 years agoLDID_NOSMIME should ignore the given key argument.
Jay Freeman (saurik) [Sun, 16 Sep 2018 10:43:05 +0000 (03:43 -0700)] 
LDID_NOSMIME should ignore the given key argument.

6 years agoDon't include fields for later directory versions.
Jay Freeman (saurik) [Sun, 16 Sep 2018 10:15:28 +0000 (03:15 -0700)] 
Don't include fields for later directory versions.

6 years agoRequire user to store streambufs for UnionFolders.
Jay Freeman (saurik) [Wed, 27 Dec 2017 09:38:22 +0000 (01:38 -0800)] 
Require user to store streambufs for UnionFolders.

6 years agoAdd support for alternate SHA256 code directories.
Jay Freeman (saurik) [Mon, 11 Dec 2017 08:25:25 +0000 (00:25 -0800)] 
Add support for alternate SHA256 code directories.

6 years agoUpdate the URL for libplist (sadly, to GitHub :/).
Jay Freeman (saurik) [Sat, 9 Dec 2017 11:46:00 +0000 (03:46 -0800)] 
Update the URL for libplist (sadly, to GitHub :/).

7 years agoReport progress (in terms of percent and logging).
Jay Freeman (saurik) [Sun, 12 Mar 2017 23:58:35 +0000 (16:58 -0700)] 
Report progress (in terms of percent and logging).

7 years agoAvoid duplicate Find when remapped during iterate.
Jay Freeman (saurik) [Sun, 12 Mar 2017 11:19:48 +0000 (04:19 -0700)] 
Avoid duplicate Find when remapped during iterate.

7 years agoWe need Path in DiskFolder subclass to forge flag.
Jay Freeman (saurik) [Mon, 13 Feb 2017 02:21:15 +0000 (18:21 -0800)] 
We need Path in DiskFolder subclass to forge flag.

7 years agoMake Folder::Find const, removing internal Save().
Jay Freeman (saurik) [Sun, 12 Feb 2017 14:07:19 +0000 (06:07 -0800)] 
Make Folder::Find const, removing internal Save().

7 years agoSupport separate provisioning for bundled plugins.
Jay Freeman (saurik) [Mon, 6 Feb 2017 14:48:38 +0000 (06:48 -0800)] 
Support separate provisioning for bundled plugins.

7 years agoAdd #include <set> that was semi-missing from hpp.
Jay Freeman (saurik) [Wed, 11 Jan 2017 13:34:51 +0000 (05:34 -0800)] 
Add #include <set> that was semi-missing from hpp.

7 years agoAvoid blowing up the stack hashing large binaries.
Jay Freeman (saurik) [Sat, 7 Jan 2017 02:54:37 +0000 (18:54 -0800)] 
Avoid blowing up the stack hashing large binaries.

7 years agoProvide a simple to use implementation of ldid -e.
Jay Freeman (saurik) [Thu, 22 Dec 2016 00:44:35 +0000 (16:44 -0800)] 
Provide a simple to use implementation of ldid -e.

8 years agoSimulated memory map doesn't tolerate limit Align.
Jay Freeman (saurik) [Thu, 13 Oct 2016 10:21:47 +0000 (03:21 -0700)] 
Simulated memory map doesn't tolerate limit Align.

8 years agoIf team ID is not specified, don't output its NUL.
Jay Freeman (saurik) [Sun, 4 Sep 2016 00:39:43 +0000 (17:39 -0700)] 
If team ID is not specified, don't output its NUL.

8 years agoVerify we do not overflow annoying 0x3000 padding.
Jay Freeman (saurik) [Sun, 4 Sep 2016 00:37:23 +0000 (17:37 -0700)] 
Verify we do not overflow annoying 0x3000 padding.

8 years agoAdd guarantee that allocations shouldn't overflow.
Jay Freeman (saurik) [Sat, 27 Aug 2016 07:50:40 +0000 (00:50 -0700)] 
Add guarantee that allocations shouldn't overflow.

8 years agoFix requirement allocation (covered by 0x3000 :/).
Jay Freeman (saurik) [Sat, 27 Aug 2016 07:50:04 +0000 (00:50 -0700)] 
Fix requirement allocation (covered by 0x3000 :/).

8 years agoOnly exclude nested files when bundles are nested.
Jay Freeman (saurik) [Fri, 26 Aug 2016 07:51:12 +0000 (00:51 -0700)] 
Only exclude nested files when bundles are nested.

8 years agoSupport iOS applications that embed WatchKit apps.
Jay Freeman (saurik) [Fri, 26 Aug 2016 07:42:22 +0000 (00:42 -0700)] 
Support iOS applications that embed WatchKit apps.

8 years agoDrastic improvements to nested support (and Mac!).
Jay Freeman (saurik) [Fri, 26 Aug 2016 06:24:52 +0000 (23:24 -0700)] 
Drastic improvements to nested support (and Mac!).

8 years agoChop bool Open() into void Open() and bool Look().
Jay Freeman (saurik) [Fri, 26 Aug 2016 05:06:33 +0000 (22:06 -0700)] 
Chop bool Open() into void Open() and bool Look().

8 years agoAdd support for signing symbolic links (sort of?).
Jay Freeman (saurik) [Fri, 26 Aug 2016 05:05:23 +0000 (22:05 -0700)] 
Add support for signing symbolic links (sort of?).

8 years agoDiskFolder still hasn't been tested #if __WIN32__.
Jay Freeman (saurik) [Fri, 26 Aug 2016 04:17:26 +0000 (21:17 -0700)] 
DiskFolder still hasn't been tested #if __WIN32__.

8 years agoStore SHA256 as hash2 in files2 for CodeDirectory.
Jay Freeman (saurik) [Fri, 26 Aug 2016 02:47:46 +0000 (19:47 -0700)] 
Store SHA256 as hash2 in files2 for CodeDirectory.

8 years agoSupport signing DiskFolders with nested resources.
Jay Freeman (saurik) [Fri, 26 Aug 2016 02:23:27 +0000 (19:23 -0700)] 
Support signing DiskFolders with nested resources.

8 years agoAdd -q and -Q to dump and sign "requirement data".
Jay Freeman (saurik) [Fri, 26 Aug 2016 00:38:13 +0000 (17:38 -0700)] 
Add -q and -Q to dump and sign "requirement data".

8 years agoApparently, I never pushed this fix to ldid -s :/.
Jay Freeman (saurik) [Fri, 26 Aug 2016 00:35:46 +0000 (17:35 -0700)] 
Apparently, I never pushed this fix to ldid -s :/.

8 years agoRemove an extraneous variable I did not ever need.
Jay Freeman (saurik) [Fri, 26 Aug 2016 00:31:46 +0000 (17:31 -0700)] 
Remove an extraneous variable I did not ever need.

8 years agoDetect "non-standard" Mach-O binaries to codesign.
Jay Freeman (saurik) [Sun, 31 Jul 2016 02:59:16 +0000 (19:59 -0700)] 
Detect "non-standard" Mach-O binaries to codesign.

8 years agoDefine local functions static to avoid collisions.
Jay Freeman (saurik) [Sun, 31 Jul 2016 02:58:35 +0000 (19:58 -0700)] 
Define local functions static to avoid collisions.

8 years agoProvide a way to maintain file permissions in IPA.
Jay Freeman (saurik) [Fri, 29 Jul 2016 12:57:28 +0000 (05:57 -0700)] 
Provide a way to maintain file permissions in IPA.

8 years agoSupport renaming files under an ldid::UnionFolder.
Jay Freeman (saurik) [Fri, 29 Jul 2016 07:58:22 +0000 (00:58 -0700)] 
Support renaming files under an ldid::UnionFolder.

8 years agoEmbed team identifier of certificate in signature.
Jay Freeman (saurik) [Fri, 29 Jul 2016 05:33:01 +0000 (22:33 -0700)] 
Embed team identifier of certificate in signature.

8 years agoSign embedded dylibs (that are in top-level .app).
Jay Freeman (saurik) [Fri, 29 Jul 2016 05:32:47 +0000 (22:32 -0700)] 
Sign embedded dylibs (that are in top-level .app).

8 years agoOur list of excluded files/folders was incomplete.
Jay Freeman (saurik) [Thu, 28 Jul 2016 23:54:37 +0000 (16:54 -0700)] 
Our list of excluded files/folders was incomplete.

8 years agoUnionFolder clobbered sub-paths in nested bundles.
Jay Freeman (saurik) [Thu, 28 Jul 2016 04:39:23 +0000 (21:39 -0700)] 
UnionFolder clobbered sub-paths in nested bundles.

9 years agoIf the binary has an embedded Info.plist, sign it.
Jay Freeman (saurik) [Fri, 13 Nov 2015 08:46:45 +0000 (00:46 -0800)] 
If the binary has an embedded Info.plist, sign it.

9 years agoMake the sha1 interface also work for std::vector.
Jay Freeman (saurik) [Fri, 13 Nov 2015 08:19:12 +0000 (00:19 -0800)] 
Make the sha1 interface also work for std::vector.

9 years agoRemove a number of now-ancient MachHeader helpers.
Jay Freeman (saurik) [Fri, 13 Nov 2015 08:14:42 +0000 (00:14 -0800)] 
Remove a number of now-ancient MachHeader helpers.

9 years agoAllow -K argument to not specify a key (why not?).
Jay Freeman (saurik) [Fri, 13 Nov 2015 08:01:48 +0000 (00:01 -0800)] 
Allow -K argument to not specify a key (why not?).

9 years agoImprove alignment (end-of-file and non-FAT files).
Jay Freeman (saurik) [Fri, 13 Nov 2015 08:01:40 +0000 (00:01 -0800)] 
Improve alignment (end-of-file and non-FAT files).

9 years agoAdd another hastily and poorly-thought-out #ifdef.
Jay Freeman (saurik) [Thu, 12 Nov 2015 10:02:03 +0000 (02:02 -0800)] 
Add another hastily and poorly-thought-out #ifdef.

9 years agoAdd -u, which prints the current_version of UIKit.
Jay Freeman (saurik) [Sun, 18 Oct 2015 20:47:25 +0000 (13:47 -0700)] 
Add -u, which prints the current_version of UIKit.

9 years agoSome of my build environments litter object files.
Jay Freeman (saurik) [Sun, 11 Oct 2015 10:29:21 +0000 (03:29 -0700)] 
Some of my build environments litter object files.

9 years agoTechnically, I should have these two header files.
Jay Freeman (saurik) [Sun, 11 Oct 2015 10:29:07 +0000 (03:29 -0700)] 
Technically, I should have these two header files.

9 years agoAdd hacky flags to turn off more complex features.
Jay Freeman (saurik) [Sun, 11 Oct 2015 00:09:28 +0000 (17:09 -0700)] 
Add hacky flags to turn off more complex features.

9 years agoAdd hacky flag to dis-require hash(), removing -T.
Jay Freeman (saurik) [Sun, 11 Oct 2015 00:06:02 +0000 (17:06 -0700)] 
Add hacky flag to dis-require hash(), removing -T.

9 years agoUse internal build of libplist instead of -lplist.
Jay Freeman (saurik) [Sat, 10 Oct 2015 23:55:18 +0000 (16:55 -0700)] 
Use internal build of libplist instead of -lplist.

9 years agoUse Apple's CommonCrypto for SHA-1 when __APPLE__.
Jay Freeman (saurik) [Sat, 10 Oct 2015 22:36:30 +0000 (15:36 -0700)] 
Use Apple's CommonCrypto for SHA-1 when __APPLE__.

9 years agoPort to Apple's pathetic third-world toolchain :/.
Jay Freeman (saurik) [Sat, 10 Oct 2015 21:40:36 +0000 (14:40 -0700)] 
Port to Apple's pathetic third-world toolchain :/.

9 years agoSort of support signing bundles with entitlements.
Jay Freeman (saurik) [Sat, 10 Oct 2015 21:07:32 +0000 (14:07 -0700)] 
Sort of support signing bundles with entitlements.

9 years agoUnionFolder (code for Impactor) should be in ldid.
Jay Freeman (saurik) [Sat, 10 Oct 2015 21:04:44 +0000 (14:04 -0700)] 
UnionFolder (code for Impactor) should be in ldid.

9 years agoSubFolder should take a reference (not a pointer).
Jay Freeman (saurik) [Sat, 10 Oct 2015 21:03:39 +0000 (14:03 -0700)] 
SubFolder should take a reference (not a pointer).

9 years agoAdd ldid::Bundle to the header file, for Impactor.
Jay Freeman (saurik) [Mon, 28 Sep 2015 11:02:15 +0000 (04:02 -0700)] 
Add ldid::Bundle to the header file, for Impactor.

9 years agoAvoid libplist++ (it's slow and slightly awkward).
Jay Freeman (saurik) [Mon, 28 Sep 2015 10:43:53 +0000 (03:43 -0700)] 
Avoid libplist++ (it's slow and slightly awkward).

9 years agoReplace Windows stat::st_mode with dirent::d_type.
Jay Freeman (saurik) [Mon, 28 Sep 2015 10:16:41 +0000 (03:16 -0700)] 
Replace Windows stat::st_mode with dirent::d_type.

9 years agoWindows doesn't use the mode parameter on mkdir().
Jay Freeman (saurik) [Mon, 28 Sep 2015 10:08:33 +0000 (03:08 -0700)] 
Windows doesn't use the mode parameter on mkdir().

9 years agoSadly, g++ doesn't let me cast empty initializers.
Jay Freeman (saurik) [Mon, 28 Sep 2015 09:53:52 +0000 (02:53 -0700)] 
Sadly, g++ doesn't let me cast empty initializers.

9 years agoAvoid dirent::d_namlen (not there on Linux glibc).
Jay Freeman (saurik) [Mon, 28 Sep 2015 09:48:10 +0000 (02:48 -0700)] 
Avoid dirent::d_namlen (not there on Linux glibc).

9 years agoGet access to std::auto_ptr by including <memory>.
Jay Freeman (saurik) [Mon, 28 Sep 2015 09:46:42 +0000 (02:46 -0700)] 
Get access to std::auto_ptr by including <memory>.

9 years agoAvoid FTS (broken in glibc, not present on Win32).
Jay Freeman (saurik) [Mon, 28 Sep 2015 09:38:55 +0000 (02:38 -0700)] 
Avoid FTS (broken in glibc, not present on Win32).

9 years agoFinish implementating application bundle codesign.
Jay Freeman (saurik) [Mon, 28 Sep 2015 08:13:27 +0000 (01:13 -0700)] 
Finish implementating application bundle codesign.

9 years agoLink libplist and switch to their C++ wrapper API.
Jay Freeman (saurik) [Mon, 28 Sep 2015 03:50:12 +0000 (20:50 -0700)] 
Link libplist and switch to their C++ wrapper API.