dchristl / macless-haystack

Create your own AirTag with OpenHaystack, but without the need to own an Apple device
GNU General Public License v3.0
412 stars 66 forks source link

Macless-Haystack Login Error #130

Closed Xopher00 closed 1 month ago

Xopher00 commented 2 months ago

Logs: `remote: Enumerating objects: 6, done. remote: Counting objects: 100% (6/6), done. remote: Compressing objects: 100% (6/6), done. remote: Total 6 (delta 0), reused 5 (delta 0), pack-reused 0 (from 0) Unpacking objects: 100% (6/6), 4.43 KiB | 907.00 KiB/s, done. From https://github.com/dchristl/macless-haystack

2024-09-24 19:15:57,485 - WARNING - This implementation only supports s2k. Server returned s2k_fo Traceback (most recent call last): File "/app/endpoint/mh_endpoint.py", line 159, in apple_cryptography.registerDevice() File "/app/endpoint/register/apple_cryptography.py", line 77, in registerDevice getAuth(regenerate=True) File "/app/endpoint/register/apple_cryptography.py", line 50, in getAuth mobileme = icloud_login_mobileme( ^^^^^^^^^^^^^^^^^^^^^^ File "/app/endpoint/register/pypush_gsa_icloud.py", line 41, in icloud_login_mobileme pet = g["t"]["com.apple.gs.idms.pet"]["token"] ~^^^^^ TypeError: 'NoneType' object is not subscriptable From https://github.com/dchristl/macless-haystack

I am experimenting with potential novel use-cases for AirTags, and discovered this project as a fun way to get started. I followed the instructions as best I could, but I think I am missing something here. After I enter my Apple ID and password, it attempts to request the 2FA but returns this error. I never ended up receiving a 2FA message. I was unable to find details in the documentation about the expected behavior. My understanding is that I generate a new key pair and place the public key on the device I want to flash as an AirTag. But there is not any information about where to place the private key.

I am also confused about the warning message :

2024-09-24 19:15:57,485 - WARNING - This implementation only supports s2k. Server returned s2k_fo

Some additional explanation would be helpful.