Skip to content

Import accessories from iCloud Keychain #173

@malmeloo

Description

@malmeloo

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.

Image

Rustpush has this implemented: https://github.com/OpenBubbles/rustpush/blob/master/src/cloudkit.rs#L828

Possible options:

  1. Re-implement the above rust code in Python and integrate it with the library (potentially a lot of work)
  2. 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
  3. Wrap rustpush in Python (not sure how well this would work, and I'd like to keep FindMy.py python-only)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions