Currently, importing accessories into FindMy.py requires access to a machine running MacOS. However, it should be possible to pull these secrets directly from the iCloud keychain without using a mac altogether.
Rustpush has this implemented: https://github.com/OpenBubbles/rustpush/blob/master/src/cloudkit.rs#L828
Possible options:
- Re-implement the above rust code in Python and integrate it with the library (potentially a lot of work)
- Write a command-line tool in Rust that wraps Rustpush, downloads the accessory secrets and exports them to FindMy.py-compatible format
a. Ideally, rustpush would use our already-existing session to communicate with Apple so users don't have to sign in twice, but this is optional
- Wrap rustpush in Python (not sure how well this would work, and I'd like to keep FindMy.py python-only)
Currently, importing accessories into FindMy.py requires access to a machine running MacOS. However, it should be possible to pull these secrets directly from the iCloud keychain without using a mac altogether.
Rustpush has this implemented: https://github.com/OpenBubbles/rustpush/blob/master/src/cloudkit.rs#L828
Possible options:
a. Ideally, rustpush would use our already-existing session to communicate with Apple so users don't have to sign in twice, but this is optional