Git Product home page Git Product logo

findmy.py's Introduction

Heya! I'm Mike. ๐Ÿ‘‹




Wakapi Stats

I'm a 20 year old programmer from the Netherlands.

  • ๐ŸŽ“๏ธ Studying TCS at the University of Twente
  • ๐Ÿ‘‘ Mainly addicted to Nim nowadays
  • ๐Ÿ“ฆ Big fan of containers (the software kind)
  • ๐Ÿงฆ Socket programming hypes me up

๐ŸŽฎ Let's play Othello!

a b c d e f g h
1 โฌ› โฌœ
2 โœ“ โœ“ โฌ› โฌœ
3 โœ“ โฌ› โฌ› โฌ› โฌœ
4 โœ“ โฌ› โฌ› โฌ› โฌ›
5 โฌ› โฌ› โฌ› โฌ› โฌ› โœ“
6 โœ“ โœ“ โฌ› โฌ› โฌœ โฌœ โฌœ
7 โฌ› โฌœ
8 โฌœ

It's currently โฌœ's turn. Click on a highlighted field to make a move!

Move HistoryWinners
@ivanikonomovg4โฌ›2024-05-08 22:55:16 (UTC)
@djactorf1โฌœ2024-03-27 20:34:17 (UTC)
@malmelood7โฌ›2024-03-27 20:31:55 (UTC)
@djactorf8โฌœ2024-03-27 20:23:32 (UTC)
@malmelood1โฌ›2024-03-02 14:22:22 (UTC)
@biemsterh6โฌœ2024-02-12 18:23:40 (UTC)
โฌœ2
โฌ›1
Draw0

findmy.py's People

Contributors

hajekj avatar malmeloo avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

findmy.py's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): update dependency pyright to v1.1.360
  • fix(deps): update dependency aiohttp to v3.9.5
  • chore(deps): update dependency sphinx to v7.3.7

Detected dependencies

github-actions
.github/workflows/docs.yml
  • actions/checkout v4
  • actions/setup-python v5
  • actions/configure-pages v5
  • actions/upload-pages-artifact v3
  • actions/deploy-pages v4
.github/workflows/pre-commit.yml
  • actions/checkout v4
  • actions/setup-python v5
  • pre-commit/action v3.0.1
  • pre-commit-ci/lite-action v1.0.2
.github/workflows/publish.yml
  • actions/checkout v4
  • actions/setup-python v5
  • softprops/action-gh-release v2
pep621
pyproject.toml
poetry
pyproject.toml
  • python >=3.9,<3.13
  • srp ^1.0.20
  • cryptography ^42.0.5
  • beautifulsoup4 ^4.12.2
  • aiohttp ^3.9.1
  • bleak ^0.21.1
  • pre-commit ^3.6.0
  • sphinx ^7.2.6
  • sphinx-autoapi ^3.0.0
  • pyright ^1.1.350

  • Check this box to trigger a request for Renovate to run again on this repository

Use with device already in the network?

Hi,
How technically feasible is it to use this project to work with official AirTags or other Find My devices? Already working AirTag clones are being sold for $2-4 a piece on Aliexpress, so I don't see a point in spending a lot of time messing with flashing, firmwares and all of that OpenHaystack stuff, when I can just buy a working "AirTag" for so cheap.

Trusted device 2FA

Support trusted device 2FA. Need someone with an Apple device to test this for me, so please let me know if you're willing to help!

Fix SMS 2FA ID resolver

Apple appears to have locked down the https://gsa.apple.com/auth endpoint, as it now returns a generic 403 error every time across multiple accounts, IPs and anisette generators. This isn't a huge deal, but it was used to resolve the available phone numbers for 2FA and their corresponding IDs, which are necessary for submission.

I have just tried an (unreleased) fix which simply takes the phone numbers from the SPD data in the initial auth response. This works but there are no IDs in that data, so it's currently just incrementing starting from 1. That should work for most accounts with only a single phone number.

Maybe it's worth looking into an alternative source of this data altogether; calling that endpoint had the annoying side effect of implicitly requesting a 2FA code every time you called it, which is not really compatible with the library's API design.

Some location reports are not decodable

Context: #4 (comment)

There has been at least one case where a location report from a real AirTag was not decodable. Maybe this an issue on Apple's side?

In any case, this edge case should be handled better than straight up crashing.

Example:

2bd8e645000504dee6a88ab4580e4c90dcacc62e0efae57a003a1bac1212ba670398be61cb648e08417cf3714ee0429f961793aa645600a7f69807e215292da3a6bda511953cb15b4840de16e26c17651eef760e77fa4b2ca5

Swift port

In case anyone is interested, I've started a Swift port of this library
Still a lot to do since only the KeyPair and Accessory classes are ported but that's enough to generate to the primary and secondary keys for any date from the original private key and shared secret

SwiftFindMy

Apple server does not honor time window

I'm trying to get data only for one day by setting startdate and enddate for the search.
This was the query. You see it's 24 hours.
{'search': [{'startDate': 1712449083967, 'endDate': 1712535483967, 'ids':...
But the Apple server always returns a week of data.
Is the format wrong?
Your code in accounts.py changed:

def fetch_last_reports(
        self,
        keys: Sequence[KeyPair],
        hours: int = 1 * 24,
    ) -> MaybeCoro[dict[KeyPair, list[LocationReport]]]:

Reduce fetch_reports() session creation

Currently, reports.py:fetch_reports() creates a new HTTPSession for every lookup, because it doesn't know when to close it. This function should probably be converted into a class to make it stateful and add a close() method to it, just like BaseAnisetteProvider and the gang.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.