thank you for this Repo
i'm stucked on 2FA access try, i tried to access by macless haystack docker, i always received python error 401 (unauth) when i tried to make the access (first attempt i didn't received the SMS, then, i asked the second-time code and i received and used it falling in the error). I tried with the script in findmy repo: request_report.py and it seems to work, i received the code as a popup on my iPhone and the response is: 200: 0 reports received. 0 reports used. found: [] missing: []
with maclessopenhaystack python error backtrace is: Traceback (most recent call last): File "/app/endpoint/mh_endpoint.py", line 177, in apple_cryptography.registerDevice() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/app/endpoint/register/apple_cryptography.py", line 71, in registerDevice getAuth(regenerate=True) ~~~~~~~^^^^^^^^^^^^^^^^^ File "/app/endpoint/register/apple_cryptography.py", line 44, in getAuth mobileme = icloud_login_mobileme( username=mh_config.getUser(), password=mh_config.getPass()) File "/app/endpoint/register/pypush_gsa_icloud.py", line 45, in icloud_login_mobileme g = gsa_authenticate(username, password) File "/app/endpoint/register/pypush_gsa_icloud.py", line 126, in gsa_authenticate sms_second_factor(spd["adsid"], spd["GsIdmsToken"]) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/endpoint/register/pypush_gsa_icloud.py", line 301, in sms_second_factor resp.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.14/site-packages/requests/models.py", line 1026, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: for url: https://gsa.apple.com/auth/verify/phone/securitycode
can anyone help me?
thank you for this Repo
i'm stucked on 2FA access try, i tried to access by macless haystack docker, i always received python error 401 (unauth) when i tried to make the access (first attempt i didn't received the SMS, then, i asked the second-time code and i received and used it falling in the error). I tried with the script in findmy repo: request_report.py and it seems to work, i received the code as a popup on my iPhone and the response is: 200: 0 reports received. 0 reports used. found: [] missing: []
with maclessopenhaystack python error backtrace is: Traceback (most recent call last): File "/app/endpoint/mh_endpoint.py", line 177, in apple_cryptography.registerDevice() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/app/endpoint/register/apple_cryptography.py", line 71, in registerDevice getAuth(regenerate=True) ~~~~~~~^^^^^^^^^^^^^^^^^ File "/app/endpoint/register/apple_cryptography.py", line 44, in getAuth mobileme = icloud_login_mobileme( username=mh_config.getUser(), password=mh_config.getPass()) File "/app/endpoint/register/pypush_gsa_icloud.py", line 45, in icloud_login_mobileme g = gsa_authenticate(username, password) File "/app/endpoint/register/pypush_gsa_icloud.py", line 126, in gsa_authenticate sms_second_factor(spd["adsid"], spd["GsIdmsToken"]) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/endpoint/register/pypush_gsa_icloud.py", line 301, in sms_second_factor resp.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.14/site-packages/requests/models.py", line 1026, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: for url: https://gsa.apple.com/auth/verify/phone/securitycode
can anyone help me?