ipatool
ipatool copied to clipboard
iTunes Store returns error 2042 for expired login, rather than 2034
What happened?
In case the ipatool hadn't been used for some days, upon a bundle download attempt it returns an error Sign In to the iTunes Store with error code 2042.
The tool currently attempts to re-login automatically only if the 2034 (FailureTypePasswordTokenExpired) code is returned, and it just fails with 2042.
Can we add handling of the 2042 error to the tool similar to how 2034 is handled? Such auto-login doesn't seem to require 2FA.
A sketch of this idea can be found at https://github.com/gitevedev/ipatool/commit/a5847efe2cc0d211bd5a73ef3e151501e9bce252.
Version
2.2.0
Relevant log output
Sign In to the iTunes Store