dchristl / macless-haystack

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

Add python requirements #16

Closed mrx23dot closed 10 months ago

mrx23dot commented 1 year ago

There was an error

1

/headless-haystack-non_verifiable_keys/webserver/request_reports.py", line 80, in <module>
    eph_key = ec.EllipticCurvePublicKey.from_encoded_point(ec.SECP224R1(), data[5:62])
NameError: name 'ec' is not defined

had to add
   from cryptography.hazmat.primitives.asymmetric import ec

2 add webserver/requirements.txt with all dependencies

File "apple_cryptography.py", line 15, in import objc, six, sys ModuleNotFoundError: No module named 'objc' ModuleNotFoundError: No module named 'Foundation'

mrx23dot commented 1 year ago

please also include FindMy_client.py from https://github.com/biemster/FindMy/tree/monterey python3 version

mrx23dot commented 1 year ago

this line is duplicated startdate = unixEpoch - 60 * 60 * args.hours in request_reports.py

dchristl commented 1 year ago

I might add the requirements. As explained in the description, the project is more focused on achieving technical feasibility and therefore caters to more experienced users. It can be easily abused and may also be blocked by Apple. Therefore, it should only be used for testing purposes and experimentation.

please also include FindMy_client.py from https://github.com/biemster/FindMy/tree/monterey python3 version

No, I've deleted it recently, because I don't want to maintain a file, that is not needed in this project.

this line is duplicated startdate = unixEpoch - 60 60 args.hours in request_reports.py

Thank you, I've deleted it on the dev-Branch

dchristl commented 10 months ago

This issue is not valid anymore with the latest release.