Repository navigation
Concept: Fix -80045 by reporting Android client info with remote anisette - #1833
mattaltgear wants to merge 2 commits into
Conversation
Apple now rejects GSA requests (-80045) when anisette data generated by Android's CoreADI comes with Mac client info. Report Android client info with remote anisette servers, and re-provision once if the cached adi.pb was provisioned with different client info. Also updates AltSign to handle 2FA codes Apple has already pushed (hsc 409 without "au"). Based on xtool: xtool-org/xtool#337 Fixes #1828 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@mattaltgear FYI for the concept: the Pixel 7 client info now gets a What passes is Windows anisette from a v3 server that serves it ( I applied it to AltServer in #1834 (+ rileytestut/AltSign#61) and tested it end-to-end on macOS 27.2: sign-in, 2FA and AltStore 2.3 installed on iPadOS 27.2. The same client info/user agent handling should work for the app's remote anisette mode here. |
|
Superseded by #1835. |
Context
Since around October 12, Apple's GrandSlam servers have been rejecting sign-ins that use anisette data from anisette-v3-server instances with -80045 (Dadoum/anisette-v3-server#61). Those servers generate anisette data with Android's CoreADI, but the client info they return claims to be a Mac. Apple appears to reject that mismatch.
xtool fixed the same error by reporting Android client info instead (xtool-org/xtool#337, confirmed working in 1.22.2).
Changes
<Pixel 7> <Android;14;UQ1A.240205.002> <com.apple.AuthKit/1 (com.apple.akd/1.0)>as client info, both for provisioning and for GSA sign-in.User-Agentis unchanged, matching xtool.adi.pbwas provisioned with, and re-provisions once if it doesn't match.hsc409 with noau): Concept: Handle pushed 2FA codes when Apple omits "au" rileytestut/AltSign#60.Based on
v2.3, targetingclassic.Testing
Built from v2.3 with these changes, installed on an iPhone Air, and signed in with a remote anisette server. Sign-in succeeded without -80045. The latest AltSign bump (merging
notarized) has been built but not re-tested on device.To build with Xcode 27, the prebuilt
Dependencies/libcurl/libcurl.ahad to be repacked locally (its archive members are misaligned for the new linker), andIPHONEOS_DEPLOYMENT_TARGET=17.4set on the command line. Neither change is included here.Not covered
Reinstalling AltStore via AltServer (also mentioned in #1828) uses AltServer's own anisette data and isn't addressed by this PR.