Skip to content

Send the SMS code to a phone the account has, and only once - #5

Merged
gregakespret merged 2 commits into
findmy-export-supportfrom
fix/sms-2fa-phone-id
Oct 6, 2026
Merged

gregakespret merged 2 commits into
findmy-export-supportfrom
fix/sms-2fa-phone-id

Conversation

@gregakespret

@gregakespret gregakespret commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Bumps apple-private-apis to gregakespret/apple-private-apis#1 (8f0013b), which changes the login's SMS step:

  • If the account has no trusted phone id 1, the code goes to its first trusted phone instead of failing on id 1.
  • When Apple has already sent a code (a 201 from GET /auth), no second code is sent.
  • An account with no trusted phone fails with HardwareKeyError.
  • A rejected send logs Apple's status and body.

Accounts without phone id 1 currently fail at that step on every attempt, surfacing in export-findmy as AuthSrp ("Could not reach Apple's sign-in service"). That is what fired AirtagConnectWizardErrors on 2026-09-26. Accounts that have id 1 still get the code there.

Merge apple-private-apis#1 first, with a merge commit, so the pinned commit stays on its base branch.

Verified: export-findmy builds against this branch and its 46 tests pass, and the four sms_phone_id unit tests pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KjoTwe6ghEaBXvRrsymsyN

@gregakespret gregakespret changed the title Send the SMS code to the account's own trusted phone, not id 1 Send the SMS code to a phone the account has, and only once Oct 6, 2026
@gregakespret
gregakespret merged commit 52858a6 into findmy-export-support Oct 6, 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