Repository navigation
Spell the legacy Mac's OS as Apple's akd does, now that Apple refuses macOS - #291
Merged
Merged
Conversation
…uses macOS Since 2026-11-20 Apple's edge answers every Grand Slam sign-in whose X-MMe-Client-Info says <macOS;...> with a 190-byte HTML 503, and lets the identical request saying <Mac OS X;...> through. Model, version, build and bundle make no difference; provisioning and the report fetch accept both. The legacy Mac profile, which every install presents, said macOS (#289). - LEGACY_MAC's OS name is now "Mac OS X", so new sign-ins go through on both the local and the remote Anisette transport. - Stored accounts carry their own identity and their password, so FindMy.py would re-authenticate under "macOS" at the next PET renewal and be refused. getAccount respells it on restore; nothing else about the identity moves. - The edge check gains a control for the macOS spelling, so a change to this rule is noticed the way the Xcode one is. Fixes #289 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
parawanderer
temporarily deployed
to
Android Build
November 20, 2026 16:09 — with
GitHub Actions
Inactive
parawanderer
temporarily deployed
to
Android Build
November 20, 2026 16:09 — with
GitHub Actions
Inactive
The earlier commit's edit also landed in assertAnisetteIsSupported, which parses the same JSON into a local that only the type check reads. Harmless, but not where the correction belongs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
parawanderer
temporarily deployed
to
Android Build
November 20, 2026 16:16 — with
GitHub Actions
Inactive
parawanderer
temporarily deployed
to
Android Build
November 20, 2026 16:16 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Fixes #289. Since 2026-11-20 Apple's edge refuses every Grand Slam sign-in whose
X-MMe-Client-Infospells the OS<macOS;…>(HTML 503, 190 bytes), and lets the identical request with<Mac OS X;…>through.LEGACY_MAC, the profile every install presents on both the local and remote Anisette transports, saidmacOS.Bisected against
gsa.apple.com/grandslam/GsService2, one field at a time:<MacBookPro13,2> <macOS;13.1;22C65> <… (com.apple.akd/1.0)><MacBookPro13,2> <Mac OS X;13.1;22C65> <… (com.apple.akd/1.0)><MacBookPro18,3> <macOS;13.4.1;22F8> …,<Mac14,2> <macOS;15.7.5;24G624> …<MacBookPro13,2> <Mac OS X;12.6;21G115> …Provisioning (
lookup,midStartProvisioning,midFinishProvisioning) andacsnservice/fetchaccept both spellings.Changes:
AdiDeviceIdentity.Hardware.LEGACY_MAC: OS namemacOS→Mac OS X. Python reads it across the bridge, so new sign-ins move with it.identity.respellRefusedOsName, called inmain.getAccount: a stored account carries its identity and its password, and FindMy.py re-authenticates under it on PET renewal or a fetch 401. Without this, every existing legacy-Mac session would be refused at that point. Onlyos_namechanges; serial, ids and the other five fields are untouched.check_gsa_edge.py: adds amacOS spelling controlprobe expected to be refused, mirroring the Xcode control.Verified:
check_gsa_edge.pyallokfrom a residential connection; 483 Python tests (bridge + scripts);testDebugUnitTest;AdiDeviceIdentityTestandIdentityBridgeTeston the managed device. The restore test fails with thegetAccountcall reverted. Not verified: a real sign-in against an Apple account.Does not address #248. #274 also needs
MacIdentity.OS_NAMEchanged to"Mac OS X"; its current value is refused.🤖 Generated with Claude Code