Reuse credentials within a download command to avoid repeated Keychain access
Author: DaveMeadAdjustCreated Sep 19, 2026Updated Sep 19, 2026
Description
In ipatool 2.6.0, download calls AccountInfo() inside the retry callback, rereading the stored account on each attempt. On macOS, this can trigger repeated Keychain authorization prompts when the user selects Allow rather than Always Allow, because that approval grants only one-time access.
Instead, you could call AccountInfo() once before the retry loop and keep the returned account and credentials in memory for the duration of the command. Retry attempts would reuse that in-memory account instead of reading Keychain again.
Source: majd/ipatool