]> git.cameronkatri.com Git - ldid.git/log
ldid.git
2 years agoGeneral cleanup
Cameron Katri [Thu, 7 Jul 2022 00:56:15 +0000 (20:56 -0400)]
General cleanup

- Remove useless preprocessor directives
- Remove -T flag
- Remove CommonCrypto dependency (OpenSSL is required anyways)

2 years agoAdd zsh completions file for common flags
Cameron Katri [Tue, 5 Jul 2022 00:53:57 +0000 (20:53 -0400)]
Add zsh completions file for common flags

2 years agoRemove assert
Cameron Katri [Tue, 5 Jul 2022 00:53:45 +0000 (20:53 -0400)]
Remove assert

2 years agoAdd proper hash agility required for 15.1+
zhuxinlang [Sun, 3 Jul 2022 20:03:16 +0000 (16:03 -0400)]
Add proper hash agility required for 15.1+

Fixes 294b81953c0801212a7f0927133e3c43ca231ab3

2 years agoAdded better error handling (#13)
Kostadin [Wed, 4 May 2022 04:00:05 +0000 (06:00 +0200)]
Added better error handling (#13)

Removes commonly encountered `_assert()` messages and replaces with easy to understand messages.

Co-authored-by: Cameron Katri <me@cameronkatri.com>
2 years agoUse OpenSSL 1.1.1 in GH actions for now
Cameron Katri [Tue, 5 Apr 2022 02:21:28 +0000 (19:21 -0700)]
Use OpenSSL 1.1.1 in GH actions for now

This reverts commit 94d0cd4bb688adef8f39aaec37faac4368345d5a.

2 years agoFix compilation for systems with mach/machine.h
Cameron Katri [Tue, 5 Apr 2022 02:19:00 +0000 (19:19 -0700)]
Fix compilation for systems with mach/machine.h

2 years agoUpdate README.md
Cameron Katri [Tue, 22 Mar 2022 13:36:54 +0000 (09:36 -0400)]
Update README.md

2 years agoAdd support for `-arch arch_type` (#10)
Cameron Katri [Tue, 22 Mar 2022 12:44:59 +0000 (08:44 -0400)]
Add support for `-arch arch_type` (#10)

This is identical to -A except that it uses the name of the arch not the
values of the CPU_TYPE/CPU_SUBTYPE.

This makes ldid more compatible with Apple's CC tools where this flag is used extensively.

Co-authored-by: Nick Chan <towinchenmi@gmail.com>
2 years agodocs: document -l and -H for zh_CN and zh_TW (#11)
Nick Chan [Tue, 22 Mar 2022 11:19:47 +0000 (19:19 +0800)]
docs: document -l and -H for zh_CN and zh_TW (#11)

2 years agoFix macOS actions (#9)
Cameron Katri [Tue, 22 Mar 2022 11:16:43 +0000 (07:16 -0400)]
Fix macOS actions (#9)

2 years agoFix hash order
Cameron Katri [Tue, 22 Mar 2022 03:47:15 +0000 (23:47 -0400)]
Fix hash order

This commit was made under a faulty assumption.

Revert "Hack fix for iOS 15.1 beta"

This reverts commit 294b81953c0801212a7f0927133e3c43ca231ab3.

2 years agoRemove support for EOL OpenSSL 0.9
Cameron Katri [Tue, 22 Mar 2022 03:45:29 +0000 (23:45 -0400)]
Remove support for EOL OpenSSL 0.9

OpenSSL 0.9.8 has been out of support since 2016. Nobody should be using
it anymore and has numerous vulnerabilites.

Revert "Port hash agility support to use OpenSSL 0.9.x :D."

This reverts commit 7818dc9c76ef1a007aa725286b8113b2341ebc11.

2 years agoldid.1: Document -H[sha1 | sha256]
Cameron Katri [Sun, 20 Mar 2022 17:43:34 +0000 (13:43 -0400)]
ldid.1: Document -H[sha1 | sha256]

While here, remove the warning message that is printed when used. This
flag is very useful so this message is removed.

2 years agoldid.1: Document -I
Cameron Katri [Sun, 20 Mar 2022 17:15:30 +0000 (13:15 -0400)]
ldid.1: Document -I

2 years agoMerge branch 'saurik'
Cameron Katri [Sun, 20 Mar 2022 17:00:10 +0000 (13:00 -0400)]
Merge branch 'saurik'

2 years agoFix typo
Cameron Katri [Mon, 21 Feb 2022 21:20:33 +0000 (16:20 -0500)]
Fix typo

2 years agoci: Update to OpenSSL 3.0.1
Cameron Katri [Fri, 4 Feb 2022 04:40:27 +0000 (20:40 -0800)]
ci: Update to OpenSSL 3.0.1

2 years agoUpdate copyright
Cameron Katri [Fri, 4 Feb 2022 04:32:04 +0000 (23:32 -0500)]
Update copyright

2 years agoFix openssl 1.1.1 compatibility
Cameron Katri [Fri, 4 Feb 2022 04:23:18 +0000 (20:23 -0800)]
Fix openssl 1.1.1 compatibility

2 years agoUpdate usage
Cameron Katri [Sun, 30 Jan 2022 05:14:11 +0000 (00:14 -0500)]
Update usage

2 years agoldid.1: Fix modification date
Cameron Katri [Sun, 30 Jan 2022 05:11:19 +0000 (00:11 -0500)]
ldid.1: Fix modification date

2 years agoUpdate manpage translations (#8)
Nick Chan [Sun, 30 Jan 2022 05:10:34 +0000 (13:10 +0800)]
Update manpage translations (#8)

* update manpage translations

* update README to reflect on manpage translations

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

2 years agoldid.1: Document -E
Cameron Katri [Thu, 20 Jan 2022 05:03:26 +0000 (00:03 -0500)]
ldid.1: Document -E

2 years agoRevert "ci: Set CXXFLAGS"
Cameron Katri [Wed, 19 Jan 2022 05:02:48 +0000 (00:02 -0500)]
Revert "ci: Set CXXFLAGS"

This reverts commit 9cf3a0c4ab2e6b82ee3899affec0ce30d9550047.

2 years agoci: Set CXXFLAGS
Cameron Katri [Wed, 19 Jan 2022 04:52:24 +0000 (23:52 -0500)]
ci: Set CXXFLAGS

2 years agoci: use lto and gc-sections
1Conan [Wed, 19 Jan 2022 04:12:59 +0000 (23:12 -0500)]
ci: use lto and gc-sections

2 years agoFix workflow
Cameron Katri [Wed, 19 Jan 2022 01:09:09 +0000 (17:09 -0800)]
Fix workflow

2 years agoExperimental arm64_32 support
Cameron Katri [Wed, 19 Jan 2022 01:08:13 +0000 (17:08 -0800)]
Experimental arm64_32 support

3 years agoCleanup and switch to a Makefile (#7)
1Conan [Thu, 4 Nov 2021 17:47:21 +0000 (01:47 +0800)]
Cleanup and switch to a Makefile (#7)

3 years agoOnly run actions on code changes
Cameron Katri [Thu, 4 Nov 2021 17:46:14 +0000 (13:46 -0400)]
Only run actions on code changes

3 years agoremove Nick Chan's copyright string (#6)
Nick Chan [Tue, 19 Oct 2021 11:12:24 +0000 (19:12 +0800)]
remove Nick Chan's copyright string (#6)

3 years agoCreate README.md
Cameron Katri [Mon, 18 Oct 2021 13:13:39 +0000 (09:13 -0400)]
Create README.md

3 years agoFix openssl 3 compat v2.1.5-procursus2
Cameron Katri [Sat, 16 Oct 2021 14:55:14 +0000 (10:55 -0400)]
Fix openssl 3 compat

I'm an idiot, it's OPENSSL_VERSION_NUMBER not OPENSSL_VERSION_NUM

3 years agoTransfer manpage copyright to ProcursusTeam
Cameron Katri [Fri, 15 Oct 2021 18:48:41 +0000 (14:48 -0400)]
Transfer manpage copyright to ProcursusTeam

3 years ago加入繁體中文手冊 | add traditional chinese manual page (#4)
Nick Chan [Thu, 14 Oct 2021 12:16:04 +0000 (20:16 +0800)]
加入繁體中文手冊 | add traditional chinese manual page (#4)

3 years agoFix workflow and retag v2.1.5-procursus1 v2.1.5-procursus1
Cameron Katri [Wed, 13 Oct 2021 18:05:33 +0000 (14:05 -0400)]
Fix workflow and retag v2.1.5-procursus1

3 years agoHack fix for iOS 15.1 beta
Cameron Katri [Wed, 13 Oct 2021 17:52:16 +0000 (13:52 -0400)]
Hack fix for iOS 15.1 beta

iOS 15.1+ requires either hash agility or sha256 to be before sha1.

3 years agoWorkflow Improvements (#3)
1Conan [Wed, 13 Oct 2021 02:39:13 +0000 (10:39 +0800)]
Workflow Improvements (#3)

* Remove a bunch of useless archs
* Use -Os for smaller size
* Speed up openssl build

3 years agoFix indention of #if block
Cameron Katri [Mon, 11 Oct 2021 17:51:15 +0000 (13:51 -0400)]
Fix indention of #if block

3 years agoFix < OpenSSL 3.0.0 build
Cameron Katri [Mon, 11 Oct 2021 17:45:40 +0000 (13:45 -0400)]
Fix < OpenSSL 3.0.0 build

3 years agoAdd armv7r to workflow
Nick Chan [Mon, 11 Oct 2021 14:43:30 +0000 (22:43 +0800)]
Add armv7r to workflow

3 years agoUpdate the workflow
Nick Chan [Mon, 11 Oct 2021 14:21:19 +0000 (22:21 +0800)]
Update the workflow

* More archs
* Fully static linux bins

Co-authored-by: Cameron Katri <me@cameronkatri.com>
3 years agoAdd a workflow v2.1.5-procursus
Cameron Katri [Mon, 11 Oct 2021 03:47:08 +0000 (23:47 -0400)]
Add a workflow

3 years agoAdd manpage
Cameron Katri [Sun, 10 Oct 2021 22:40:01 +0000 (18:40 -0400)]
Add manpage

3 years agop12 password support
sunchipnacho [Fri, 8 Oct 2021 16:59:49 +0000 (11:59 -0500)]
p12 password support

3 years agoossl3 compat
sunflsks [Thu, 7 Oct 2021 16:11:42 +0000 (11:11 -0500)]
ossl3 compat

3 years agoFix deprecations + update libplist
Hayden [Sat, 21 Aug 2021 22:50:12 +0000 (18:50 -0400)]
Fix deprecations + update libplist

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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

8 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.

8 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.

8 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.