Skip to content

fix(core): preserve anisette header value casing - #317

Merged
claration merged 2 commits into
claration:mainfrom
4aia:fix/anisette
Nov 16, 2026
Merged

claration merged 2 commits into
claration:mainfrom
4aia:fix/anisette

Conversation

@4aia

@4aia 4aia commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

get_header() was lowercasing both header names and values. header names are case insensitive, but their values should stay unchanged
this change preserves the original header values and adds a regression test for mixed-case X-Mme-Client-Info headers
the regression test passed, impactor built successfully, apple login and 2fa worked as expected, and a test .ipa was installed successfully:)

@claration

This comment was marked as outdated.

@claration claration changed the title fix: preserve anisette header value casing fix(core): preserve anisette header value casing Nov 16, 2026
@claration
claration merged commit 8bb8465 into claration:main Nov 16, 2026
@claration

This comment was marked as resolved.

@4aia

This comment was marked as resolved.

@4aia

This comment was marked as resolved.

@claration

This comment was marked as resolved.

@claration

Copy link
Copy Markdown
Owner

Regardless of what it is, I removed it anyway and it was merged due to it being something worth fixing.

@4aia

This comment was marked as resolved.

@claration

This comment was marked as resolved.

Interlap01 added a commit to Interlap01/iloader that referenced this pull request Nov 18, 2026
…sed client info

get_header lowercased the values as well as the names, so X-MMe-Client-Info
went out as <mac15,7> <macos;27.0;26a5378j> <com.apple.authkit/1 ...>. Since
2026-11-17 Apple's edge answers 403 to that on GsService2, so every fresh login
failed on every anisette server. Names still match whatever their case. Same
fix as claration/impactor#317.
Just-Rice added a commit to Just-Rice/sideport that referenced this pull request Nov 22, 2026
Impactor 2.7.2's AnisetteData::get_header lowercased header values, so
the X-MMe-Client-Info sent to gsa.apple.com/grandslam/GsService2 at
sign-in was lowercased and Apple answered 403 ("Apple sign-in failed:
HTTP request error 403"). Fixed upstream in claration/impactor#317.
The other change in this range only touches Impactor's CLI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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