malmeloo / FindMy.py

🍏 + 🎯 + 🐍 = Everything you need to work with Apple's FindMy network!
http://docs.mikealmel.ooo/FindMy.py/
MIT License
59 stars 7 forks source link

Avoid generating keys earlier than device pairing time #29

Closed ubertao closed 2 months ago

ubertao commented 2 months ago

I have a newly paired device (less than 5 days), the fetch_reports example throws an exception because it tries to generate keys before the pairing time.

This change fix the problem by limiting the time no earlier than pairing time.

malmeloo commented 2 months ago

Thank you for the pull request, but this has actually already been fixed in #28. It will most likely be merged and released this weekend!