Closed Al4ise closed 2 years ago
There is a new command for authenticating as of version 1.1, which should still be respecting those environment variables: ipatool auth login
.
Running 'ipatool auth login -e $IPATOOL_EMAIL -p $IPATOOL_PASSWORD' works. Without the arguements it doesn't. Is that supposed to be the case?
Can you provide more information about how you are exporting the environment variables? Just tested on version 1.1.2 and it seems to be working as intended.
$ IPATOOL_EMAIL=test IPATOOL_PASSWORD=test ipatool auth login
==> ℹ️ [Info] Authenticating with the App Store...
In a script, setting the variables on different lines makes ipatool not recognize them.
'IPATOOL_EMAIL=test IPATOOL_PASSWORD=test
ipatool auth login'
Putting them on the same line makes it work as expected though
You have to export the env variables so that they can be passed on to the child process.
$ export IPATOOL_EMAIL=test
$ export IPATOOL_PASSWORD=test
$ ipatool auth login
==> ℹ️ [Info] Authenticating with the App Store...
Oh, okay then, thanks for clarifying. And sorry for wasting your time
Setting the variables in a bash shell no longer lets you authenticate in a non-interactive session