Skip to content

Support for Static Tags? (OpenHaystack) #45

Description

@ReLoia

Hi, I want to start this issue saying that I love the overall App, especially its UI!

I'd like to propose adding support to static keys. I've taken a look at FindMy.py project and it already supports it. (and example of a project that uses it and also supports static keys is malmeloo/hass-FindMy)

We would just need to generate a tag (KeyPair in FindMy.py codebase) based on the Base64 representation of the private key (the one generated by OpenHaystack when creating a custom Tag) and then we can pass it to the already existing account.fetch_location_history to get all the raw reports.

  key = KeyPair.from_b64(privateKeyBase64)
  reports = account.fetch_location_history(key)

Implementing this would (kinda) close all Macless Haystack related issues since it would not be necessary to use it to get the raw reports (since FindMy.py can do it and it can also decrypt them) like #28.

I won't be able to implement and PR this in the near future due to upcoming University exams but I wanted to share the idea here in case somebody wants to implement it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions