NO 2FA is coming..
What happened?
I tried:
bin/ipatool-2.2.0-linux-amd64 auth login --verbose -e 'info@**** -p '*****'
INF enter 2FA code:
but no code arrives on the phone.
Version
latest released version (from release) 2.2.0
Relevant log output
The log just shows the username and password I used.
This tends to happen when the used credentials are invalid. You also need to make sure that you are not using an app-specific password. Try to get a 2FA code from your Apple Account if possible: https://github.com/majd/ipatool/wiki/FAQ#why-am-i-being-prompted-for-a-2fa-code.
This tends to happen when the used credentials are invalid. You also need to make sure that you are not using an app-specific password. Try to get a 2FA code from your Apple Account if possible: https://github.com/majd/ipatool/wiki/FAQ#why-am-i-being-prompted-for-a-2fa-code.
The credentials (user-pass) were valid! @majd why did you close this?
@majd I have the exact same problem. The first time i got the 2fa code which I entered but after that nothing ever happened again. No error or confirmation. The login process has been running since then with no result. I tried again and now there is no 2fa at all.
credentials are valid (it worked first time to the step where I get 2fa)
I think this is a bug and this issue should be reopened
I found the problem: ipatool fails to log in and download because it relies on the GNOME Keyring, which requires a GUI interaction to unlock. When using sudo over SSH the process runs as root in a headless environment preventing ipatool from accessing the users keyring even with the --keychain-passphrase flag. That leads to "Cannot get secret of a locked object" errors. Not sure what I can do now...
Same issue, no 2FA code being sent, I have tried with 2 apple accounts so far, same thing:
ipatool auth login --verbose --email m***@*** --password ***
9:39PM DBG logging in authCode=<nil> email=m***@*** password=***
9:39PM INF enter 2FA code:
I am on a mac btw if it's relevant
same issue
for me the case was indeed incorrect password. I had too many phones with various users and i mixed them up
Same issue here.
same issue on Mac it asks for 2FA but the 2FA never comes through
Same issue here, on Mac.
have the same problem