stealth: discover importer + storekit in diagnostics#12
Merged
Conversation
m5c probe on ios 15.8 ended up with cookies=0 even though path B's storeRoot existed. previous diagnostics view also forgot to surface the new StoreKitImporter so the report still showed path D as "skipped". * StealthDiagnosticsView now probes all five paths: accountsd / filesystem / keychain / storekit / discover. * FilesystemDiscoveryImporter (path E) is diagnostic-only — always throws with a multi-line dump showing every probed cookie + accountInfo candidate (existence + size), top-level listings of likely directories, and any /var/mobile/Containers/Data/InternalDaemon/<UUID>/ container whose MCMMetadataIdentifier mentions store/itunes/appstore. tells us exactly where storeaccountd actually keeps state on this ios. next iteration uses the discover output to pick the right cookies file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
what
m5c probe ended with cookies=0 on the user's ios 15.8 device — apple
rejects every storefront request with failureType 2034 because no session
state was attached. the next iteration needs to know exactly where
storeaccountd keeps cookies on this ios.
changes
StoreKitImporter (forgotten in m5c)
with a multi-line dump of:
.../Caches/com.apple.itunesstored, Preferences, InternalDaemon
mentions store/itunes/appstore
test
with a multi-line filesystem listing, telling us exactly where
storeaccountd actually keeps cookies on this ios.
next
m5e: take the path E output, pick the real cookies path, wire it into
FileSystemImporter.