Skip to content

Bump apple-private-apis: anisette failures are errors, not panics - #6

Merged
gregakespret merged 2 commits into
findmy-export-supportfrom
fix/anisette-header-panic
Oct 8, 2026
Merged

gregakespret merged 2 commits into
findmy-export-supportfrom
fix/anisette-header-panic

Conversation

@gregakespret

@gregakespret gregakespret commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

This PR moves apple-private-apis to gregakespret/apple-private-apis#2 (380f8ec).

With that change, omnisette returns anisette-server failures as errors instead of panicking. Before, an unrecognised GetHeadersError panicked, and so did any non-provisioning error in get_anisette_headers, such as an HTML error page or a dropped connection. The panic killed the caller's task and the error message was lost. A non-JSON reply now reports its HTTP status and the start of its body. A bad adi_pb is an error rather than a panic. A provisioning socket that closes mid-handshake no longer loops forever.

cargo check --locked --lib --no-default-features --features remote-anisette-v3 passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NST6obdhaBcFjXHUjSLE2V

@gregakespret
gregakespret merged commit d71c619 into findmy-export-support Oct 8, 2026
8 checks passed
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.

1 participant