Skip to content

aea: create XAppleArchive module - #435

Draft
kabiroberai wants to merge 1 commit into
pre/2.xfrom
aea-extraction
Draft

kabiroberai wants to merge 1 commit into
pre/2.xfrom
aea-extraction

Conversation

@kabiroberai

@kabiroberai kabiroberai commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Xcode 27.3+ is distributed as .aea (Apple Archive). Adds an XAppleArchive module for portably unpacking these archives.

The Xcode archives use format 0 (hkdf_sha256_hmac__none__ecdsa_p256), i.e. they're not encrypted but rather signed. The signature's cert chain (leading up to the Apple Root CAs) is contained in the archive's com.apple.ias.signature.certificate-chain entry.

How was it tested?

AI tool usage

How much of the code in this PR was AI-assisted? (check one)

  • 0 - No AI was used to write code
  • 1 - I was assisted by AI in writing code. I reviewed the finished result.
  • 2 - I set the AI going and left it to it; nobody has read the result - no review, or AI review only

@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

kabiroberai commented Nov 9, 2026 •

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@0xilis

0xilis commented Nov 20, 2026

Copy link
Copy Markdown

When you plan to implement this, do you plan to reimplement AEA validation, or only want to extract the AEA?

@kabiroberai

Copy link
Copy Markdown
Member Author

@0xilis currently planning to skip validation because it increases complexity. unxip also skips validation fwiw, and if you’re downloading from developer.apple.com then you already get validation via TLS. Any specific use case in mind?

@kabiroberai
kabiroberai changed the base branch from main to graphite-base/435 November 24, 2026 08:59
@kabiroberai
kabiroberai changed the base branch from graphite-base/435 to pre/2.x November 24, 2026 08:59

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants