Skip to content

Use 16 KiB code-signature pages for ARM64 macOS binaries - #8

Merged
zanieb merged 2 commits into
mainfrom
zb/arm64-16k-code-pages
Oct 6, 2026
Merged

zanieb merged 2 commits into
mainfrom
zb/arm64-16k-code-pages

Conversation

@zanieb

@zanieb zanieb commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

ARM64 macOS binaries currently use 4 KiB code-signature pages, increasing the number of code slots macOS hashes during signature verification. Pass --arm64-16k-code-pages when signing and pin a compatible rcodesign build with support from indygreg/apple-platform-rs#358. ARM64 binaries use 16 KiB pages; other architectures continue to use 4 KiB pages.

@zanieb zanieb changed the title Support 16 KiB code-signature pages for ARM64 macOS binaries Use 16 KiB code-signature pages for ARM64 macOS binaries Oct 6, 2026
@zanieb
zanieb marked this pull request as ready for review October 6, 2026 15:11
@zanieb
zanieb merged commit a30f352 into main Oct 6, 2026
zanieb added a commit to astral-sh/uv that referenced this pull request Oct 6, 2026
ARM64 macOS release binaries use 4 KiB code-signature pages, increasing
the number of code slots macOS hashes during signature verification.
Update the shared signing action and use its pinned `rcodesign` build to
apply 16 KiB pages to ARM64 executables in wheels and release archives;
x86_64 signatures continue to use 4 KiB pages.

Depends on astral-sh/github-actions#8.
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