ipatool icon indicating copy to clipboard operation
ipatool copied to clipboard

Reuse credentials within a download command to avoid repeated Keychain access

Open DaveMeadAdjust opened this issue 2 months ago • 0 comments

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.

DaveMeadAdjust avatar Sep 19 '26 05:09 DaveMeadAdjust