Repository navigation
Conversation
As of macOS 26, AuthKit omits the anisette headers unless the requesting process is entitled to them, which left the Mail plug-in initializing ALTAnisetteData with nil values for nonnull parameters and crashing AltServer. Return nil instead so the request fails as a request.
macOS 26 gates adid behind private entitlements, so AOSKit returns an
empty header dictionary and AltServer can no longer generate anisette
data itself. Let an anisette server be configured as the source instead:
defaults write com.rileytestut.AltServer AnisetteServerURL <url>
When set, the server is used as the source of truth rather than a
fallback, since mixing it with locally generated values yields a
machine ID and one-time password Apple won't accept together.
Apple's ADI libraries are the only remaining way to produce anisette data, but they can't be loaded natively on Apple silicon: they're linked for 4KB pages and place executable code and writable data in the same page, which a 16KB-page kernel can't map without violating W^X. Run them in a minimal Linux guest instead, where they work unmodified. The guest provisions itself with Apple over NAT, keeps its ADI state on a virtio-fs share so the machine identity survives restarts, and answers the host over vsock rather than TCP so VPNs and NAT routing can't get between them. It shuts down after five minutes idle and restarts on demand; a cold start costs under two seconds. The kernel and initramfs ship in the app bundle, and Apple's libraries are extracted from the Apple Music Android package on first launch since they can't be redistributed.
This was referenced Aug 22, 2026
2FA loop: Apple no longer honors the Xcode 11.2 client identity (
com.apple.dt.Xcode/3594.4.19)
#1772
Open
Author
Not really appropriate to approve PRs on repos for which you are not a maintainer of. You just create noise for those involved. |
|
So, why you can’t merged this request? |
Author
|
Because I'm not the maintainer... Please familiarize yourself with GitHub and community guidelines. |
|
I prepared a focused follow-up for the stale It derives a coherent identity from the host Mac model/OS/build, uses Xcode client version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
adidbehind private entitlements, so AOSKit/AuthKit no longer return anisette data to AltServer (and the Mail plug-in path can crash when those headers are missing).AnisetteServerURL/ALTSERVER_ANISETTE_SERVER) as an escape hatch.Test plan
AnisetteServerURLset and Docker stopped, request anisette data from AltServer and confirm a validmachineID/ OTP are returneddefaults write com.rileytestut.AltServer AnisetteServerURL http://127.0.0.1:6969, confirm the configured server is used instead of the VM