]>
git.saurik.com Git - ldid.git/log
Jay Freeman (saurik) [Fri, 23 Aug 2024 18:34:03 +0000 (11:34 -0700)]
Fix range check error re-hashing degenerate files.
Jay Freeman (saurik) [Fri, 23 Aug 2024 18:31:59 +0000 (11:31 -0700)]
Make -s support re-hashing all hash algorithms :(.
Jay Freeman (saurik) [Fri, 21 Jun 2024 05:16:33 +0000 (22:16 -0700)]
Add -k (to dump pkcs7 of embedded signature slot).
Jay Freeman (saurik) [Sun, 4 Sep 2022 05:31:42 +0000 (22:31 -0700)]
Pass names to OBJ_create for new OpenSSL versions.
Jay Freeman (saurik) [Sat, 3 Sep 2022 11:54:43 +0000 (04:54 -0700)]
Support the newer DER-encoded hash X509 attribute.
Jay Freeman (saurik) [Thu, 27 Jan 2022 09:05:29 +0000 (01:05 -0800)]
Correctly handle nesting frameworks in frameworks.
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!
Jay Freeman (saurik) [Mon, 14 Jun 2021 07:36:11 +0000 (00:36 -0700)]
Fix LDID_NOPLIST (used by Cydia Substrate on iOS).
Jay Freeman (saurik) [Fri, 11 Jun 2021 09:28:58 +0000 (02:28 -0700)]
Implement DER encoding of entitlements for iOS 15.
Jay Freeman (saurik) [Mon, 12 Apr 2021 18:54:53 +0000 (11:54 -0700)]
Fix regression on FAT files (from 64-bit support).
Jay Freeman (saurik) [Mon, 22 Feb 2021 23:41:31 +0000 (15:41 -0800)]
Hit an unfriendly assertion if not signing bundle.
Jay Freeman (saurik) [Mon, 22 Feb 2021 23:07:02 +0000 (15:07 -0800)]
Add -d to pair with -D, and also -h compatibility.
Jay Freeman (saurik) [Mon, 22 Feb 2021 04:32:44 +0000 (20:32 -0800)]
Support CodeDirectory version 0x20400 ("to spec").
Jay Freeman (saurik) [Sat, 20 Feb 2021 10:26:35 +0000 (02:26 -0800)]
Add a flag for checkra1n that does codesign -dvvv.
Jay Freeman (saurik) [Sat, 20 Feb 2021 10:25:59 +0000 (02:25 -0800)]
Remove this Digest struct that had become Hash :(.
Jay Freeman (saurik) [Sat, 20 Feb 2021 10:12:59 +0000 (02:12 -0800)]
Please to be not resigning all my Firefox.apps :/.
Jay Freeman (saurik) [Sat, 20 Feb 2021 03:17:00 +0000 (19:17 -0800)]
Improve, but not really fix :/, support for macOS.
Jay Freeman (saurik) [Sat, 20 Feb 2021 01:27:47 +0000 (17:27 -0800)]
Don't sign symlinks as part of old "files" schema.
Jay Freeman (saurik) [Sat, 20 Feb 2021 01:26:31 +0000 (17:26 -0800)]
Sign "nested" symlinks (suggested by kabiroberai).
Jay Freeman (saurik) [Tue, 5 Nov 2019 01:40:30 +0000 (17:40 -0800)]
Support signing dyld (sbingner tested this patch).
Jay Freeman (saurik) [Mon, 4 Nov 2019 23:26:13 +0000 (15:26 -0800)]
The behavior of usage made absolutely no sense :/.
Jay Freeman (saurik) [Wed, 20 Feb 2019 02:49:40 +0000 (18:49 -0800)]
Support entitlement merges with unentitled binary.
Jay Freeman (saurik) [Tue, 19 Feb 2019 07:06:17 +0000 (23:06 -0800)]
Provide a -M flag to merge entitlements into file.
Jay Freeman (saurik) [Tue, 19 Feb 2019 05:55:19 +0000 (21:55 -0800)]
Improve compatibility across different Cydia eras.
Jay Freeman (saurik) [Tue, 19 Feb 2019 05:25:00 +0000 (21:25 -0800)]
Provide compatibility with Sam Bingner's era ldid.
Jay Freeman (saurik) [Tue, 19 Feb 2019 05:12:35 +0000 (21:12 -0800)]
Update build environment to support sbigner's era.
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.
Jay Freeman (saurik) [Sat, 13 Jan 2018 18:31:04 +0000 (10:31 -0800)]
Fix compilation via macOS 10.12 targetting iOS 11.
Jay Freeman (saurik) [Sun, 31 Dec 2017 10:08:59 +0000 (02:08 -0800)]
Let the user set values for CS flags and platform.
Jay Freeman (saurik) [Sun, 31 Dec 2017 10:07:16 +0000 (02:07 -0800)]
Support signing binaries without any symbol table.
Jay Freeman (saurik) [Sun, 3 Feb 2019 10:54:37 +0000 (02:54 -0800)]
Swap libplist with CoreFoundation (for Substrate).
Jay Freeman (saurik) [Sat, 13 Oct 2018 07:34:28 +0000 (00:34 -0700)]
Fix build when defining LDID_NOSMIME (no openssl).
Jay Freeman (saurik) [Fri, 21 Sep 2018 09:53:17 +0000 (02:53 -0700)]
Override entitlements on frameworks to executable.
Jay Freeman (saurik) [Fri, 21 Sep 2018 09:14:45 +0000 (02:14 -0700)]
Clarify progress output for multiple architecture.
Jay Freeman (saurik) [Fri, 21 Sep 2018 09:14:21 +0000 (02:14 -0700)]
Add name of hash algorithm to Algorithm structure.
Jay Freeman (saurik) [Wed, 19 Sep 2018 08:10:33 +0000 (01:10 -0700)]
PKCS12_parse returns NULL instead of empty stacks.
Jay Freeman (saurik) [Mon, 17 Sep 2018 09:54:58 +0000 (02:54 -0700)]
Wrap assertion strings, for configuration by host.
Jay Freeman (saurik) [Mon, 17 Sep 2018 09:24:22 +0000 (02:24 -0700)]
Support hash agility and invert certificate chain.
Jay Freeman (saurik) [Mon, 17 Sep 2018 07:22:36 +0000 (00:22 -0700)]
Match rule behavior of recent version of codesign.
Jay Freeman (saurik) [Mon, 17 Sep 2018 07:21:22 +0000 (00:21 -0700)]
Fully implement CSSLOT_REQUIREMENTS like codesign.
Jay Freeman (saurik) [Mon, 17 Sep 2018 07:19:29 +0000 (00:19 -0700)]
Rename requirement to requirements (pluralize it).
Jay Freeman (saurik) [Sun, 16 Sep 2018 10:43:05 +0000 (03:43 -0700)]
LDID_NOSMIME should ignore the given key argument.
Jay Freeman (saurik) [Sun, 16 Sep 2018 10:15:28 +0000 (03:15 -0700)]
Don't include fields for later directory versions.
Jay Freeman (saurik) [Wed, 27 Dec 2017 09:38:22 +0000 (01:38 -0800)]
Require user to store streambufs for UnionFolders.
Jay Freeman (saurik) [Mon, 11 Dec 2017 08:25:25 +0000 (00:25 -0800)]
Add support for alternate SHA256 code directories.
Jay Freeman (saurik) [Sat, 9 Dec 2017 11:46:00 +0000 (03:46 -0800)]
Update the URL for libplist (sadly, to GitHub :/).
Jay Freeman (saurik) [Sun, 12 Mar 2017 23:58:35 +0000 (16:58 -0700)]
Report progress (in terms of percent and logging).
Jay Freeman (saurik) [Sun, 12 Mar 2017 11:19:48 +0000 (04:19 -0700)]
Avoid duplicate Find when remapped during iterate.
Jay Freeman (saurik) [Mon, 13 Feb 2017 02:21:15 +0000 (18:21 -0800)]
We need Path in DiskFolder subclass to forge flag.
Jay Freeman (saurik) [Sun, 12 Feb 2017 14:07:19 +0000 (06:07 -0800)]
Make Folder::Find const, removing internal Save().
Jay Freeman (saurik) [Mon, 6 Feb 2017 14:48:38 +0000 (06:48 -0800)]
Support separate provisioning for bundled plugins.
Jay Freeman (saurik) [Wed, 11 Jan 2017 13:34:51 +0000 (05:34 -0800)]
Add #include <set> that was semi-missing from hpp.
Jay Freeman (saurik) [Sat, 7 Jan 2017 02:54:37 +0000 (18:54 -0800)]
Avoid blowing up the stack hashing large binaries.
Jay Freeman (saurik) [Thu, 22 Dec 2016 00:44:35 +0000 (16:44 -0800)]
Provide a simple to use implementation of ldid -e.
Jay Freeman (saurik) [Thu, 13 Oct 2016 10:21:47 +0000 (03:21 -0700)]
Simulated memory map doesn't tolerate limit Align.
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.
Jay Freeman (saurik) [Sun, 4 Sep 2016 00:37:23 +0000 (17:37 -0700)]
Verify we do not overflow annoying 0x3000 padding.
Jay Freeman (saurik) [Sat, 27 Aug 2016 07:50:40 +0000 (00:50 -0700)]
Add guarantee that allocations shouldn't overflow.
Jay Freeman (saurik) [Sat, 27 Aug 2016 07:50:04 +0000 (00:50 -0700)]
Fix requirement allocation (covered by 0x3000 :/).
Jay Freeman (saurik) [Fri, 26 Aug 2016 07:51:12 +0000 (00:51 -0700)]
Only exclude nested files when bundles are nested.
Jay Freeman (saurik) [Fri, 26 Aug 2016 07:42:22 +0000 (00:42 -0700)]
Support iOS applications that embed WatchKit apps.
Jay Freeman (saurik) [Fri, 26 Aug 2016 06:24:52 +0000 (23:24 -0700)]
Drastic improvements to nested support (and Mac!).
Jay Freeman (saurik) [Fri, 26 Aug 2016 05:06:33 +0000 (22:06 -0700)]
Chop bool Open() into void Open() and bool Look().
Jay Freeman (saurik) [Fri, 26 Aug 2016 05:05:23 +0000 (22:05 -0700)]
Add support for signing symbolic links (sort of?).
Jay Freeman (saurik) [Fri, 26 Aug 2016 04:17:26 +0000 (21:17 -0700)]
DiskFolder still hasn't been tested #if __WIN32__.
Jay Freeman (saurik) [Fri, 26 Aug 2016 02:47:46 +0000 (19:47 -0700)]
Store SHA256 as hash2 in files2 for CodeDirectory.
Jay Freeman (saurik) [Fri, 26 Aug 2016 02:23:27 +0000 (19:23 -0700)]
Support signing DiskFolders with nested resources.
Jay Freeman (saurik) [Fri, 26 Aug 2016 00:38:13 +0000 (17:38 -0700)]
Add -q and -Q to dump and sign "requirement data".
Jay Freeman (saurik) [Fri, 26 Aug 2016 00:35:46 +0000 (17:35 -0700)]
Apparently, I never pushed this fix to ldid -s :/.
Jay Freeman (saurik) [Fri, 26 Aug 2016 00:31:46 +0000 (17:31 -0700)]
Remove an extraneous variable I did not ever need.
Jay Freeman (saurik) [Sun, 31 Jul 2016 02:59:16 +0000 (19:59 -0700)]
Detect "non-standard" Mach-O binaries to codesign.
Jay Freeman (saurik) [Sun, 31 Jul 2016 02:58:35 +0000 (19:58 -0700)]
Define local functions static to avoid collisions.
Jay Freeman (saurik) [Fri, 29 Jul 2016 12:57:28 +0000 (05:57 -0700)]
Provide a way to maintain file permissions in IPA.
Jay Freeman (saurik) [Fri, 29 Jul 2016 07:58:22 +0000 (00:58 -0700)]
Support renaming files under an ldid::UnionFolder.
Jay Freeman (saurik) [Fri, 29 Jul 2016 05:33:01 +0000 (22:33 -0700)]
Embed team identifier of certificate in signature.
Jay Freeman (saurik) [Fri, 29 Jul 2016 05:32:47 +0000 (22:32 -0700)]
Sign embedded dylibs (that are in top-level .app).
Jay Freeman (saurik) [Thu, 28 Jul 2016 23:54:37 +0000 (16:54 -0700)]
Our list of excluded files/folders was incomplete.
Jay Freeman (saurik) [Thu, 28 Jul 2016 04:39:23 +0000 (21:39 -0700)]
UnionFolder clobbered sub-paths in nested bundles.
Jay Freeman (saurik) [Fri, 13 Nov 2015 08:46:45 +0000 (00:46 -0800)]
If the binary has an embedded Info.plist, sign it.
Jay Freeman (saurik) [Fri, 13 Nov 2015 08:19:12 +0000 (00:19 -0800)]
Make the sha1 interface also work for std::vector.
Jay Freeman (saurik) [Fri, 13 Nov 2015 08:14:42 +0000 (00:14 -0800)]
Remove a number of now-ancient MachHeader helpers.
Jay Freeman (saurik) [Fri, 13 Nov 2015 08:01:48 +0000 (00:01 -0800)]
Allow -K argument to not specify a key (why not?).
Jay Freeman (saurik) [Fri, 13 Nov 2015 08:01:40 +0000 (00:01 -0800)]
Improve alignment (end-of-file and non-FAT files).
Jay Freeman (saurik) [Thu, 12 Nov 2015 10:02:03 +0000 (02:02 -0800)]
Add another hastily and poorly-thought-out #ifdef.
Jay Freeman (saurik) [Sun, 18 Oct 2015 20:47:25 +0000 (13:47 -0700)]
Add -u, which prints the current_version of UIKit.
Jay Freeman (saurik) [Sun, 11 Oct 2015 10:29:21 +0000 (03:29 -0700)]
Some of my build environments litter object files.
Jay Freeman (saurik) [Sun, 11 Oct 2015 10:29:07 +0000 (03:29 -0700)]
Technically, I should have these two header files.
Jay Freeman (saurik) [Sun, 11 Oct 2015 00:09:28 +0000 (17:09 -0700)]
Add hacky flags to turn off more complex features.
Jay Freeman (saurik) [Sun, 11 Oct 2015 00:06:02 +0000 (17:06 -0700)]
Add hacky flag to dis-require hash(), removing -T.
Jay Freeman (saurik) [Sat, 10 Oct 2015 23:55:18 +0000 (16:55 -0700)]
Use internal build of libplist instead of -lplist.
Jay Freeman (saurik) [Sat, 10 Oct 2015 22:36:30 +0000 (15:36 -0700)]
Use Apple's CommonCrypto for SHA-1 when __APPLE__.
Jay Freeman (saurik) [Sat, 10 Oct 2015 21:40:36 +0000 (14:40 -0700)]
Port to Apple's pathetic third-world toolchain :/.
Jay Freeman (saurik) [Sat, 10 Oct 2015 21:07:32 +0000 (14:07 -0700)]
Sort of support signing bundles with entitlements.
Jay Freeman (saurik) [Sat, 10 Oct 2015 21:04:44 +0000 (14:04 -0700)]
UnionFolder (code for Impactor) should be in ldid.
Jay Freeman (saurik) [Sat, 10 Oct 2015 21:03:39 +0000 (14:03 -0700)]
SubFolder should take a reference (not a pointer).
Jay Freeman (saurik) [Mon, 28 Sep 2015 11:02:15 +0000 (04:02 -0700)]
Add ldid::Bundle to the header file, for Impactor.
Jay Freeman (saurik) [Mon, 28 Sep 2015 10:43:53 +0000 (03:43 -0700)]
Avoid libplist++ (it's slow and slightly awkward).
Jay Freeman (saurik) [Mon, 28 Sep 2015 10:16:41 +0000 (03:16 -0700)]
Replace Windows stat::st_mode with dirent::d_type.
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.