Skip to content

Fix download reliability with kbsync - #606

Merged
majd merged 1 commit into
mainfrom
branch/add-kbsync-download-fallback
Oct 1, 2026
Merged

majd merged 1 commit into
mainfrom
branch/add-kbsync-download-fallback

Conversation

@majd

@majd majd commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Prefer Apple's ent/download endpoint with a generated kbsync blob to improve downloads that fail or report unavailable apps through the legacy endpoints.

  • Generate blobs with the existing StoreAgent emulator and cache successful blobs in the keychain for the same account and device.
  • Retry failed cached requests once with a fresh blob, save it only after a valid response, and use the legacy fallback endpoints if that attempt fails.
  • Bound generation and ent/download requests, honor cancellation, prevent token forwarding through redirects, and clear cached blobs when revoking authentication.
  • Retry transient HTTP 403 sign-in responses with empty or non-plist bodies.

@majd
majd merged commit 3411d57 into main Oct 1, 2026
16 checks passed
@majd
majd deleted the branch/add-kbsync-download-fallback branch October 1, 2026 19:57
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