Commit Graph

26 Commits

Author SHA1 Message Date
pajowu
ed098cc8ce Add option to align FindMyAccessories key generation
Sometimes the key generation diverges for example if the accessory has no power. FindMy solves this be re-aligning the key generation if a btle connection is established. FindMy.app stores there alignment records in the `KeyAlignmentRecord` directory.

This PR extends the FindMyAccessory class to read those records during `from_plist`-generation and re-sync the key generation by this
2025-04-15 15:23:36 +02:00
Mike A.
1c185195b0 chore: Reformat files 2024-09-03 17:46:12 +02:00
Mike A.
47ee3c6201 scanner: support checking for device - key correspondence 2024-07-16 22:29:23 +02:00
Mike A.
88bd5194bb scanner: detect OF devices in Nearby state 2024-07-15 16:53:44 +02:00
Mike Almeloo
09691a1de7 examples: real_airtag: Show reports in chronological order 2024-04-28 23:29:26 +02:00
Mike A
3fc65b90a1 examples: Set all log levels to INFO 2024-04-25 19:52:01 +02:00
Mike A
5bc1e2dd3c examples: take inputs from command line instead of variable 2024-04-25 19:51:04 +02:00
Mike A
fe534931cf accessory: Integrate .plist reading into library 2024-04-25 19:37:01 +02:00
Mike A
83f7077c12 reports: Allow passing FindMyAccessory directly into BaseAppleAccount.fetch_reports 2024-04-24 15:42:51 +02:00
Mike A
5f4a02307a examples: remove hardcoded private key
It's a long-expired rolling key so good luck using it :-)
2024-04-24 11:31:03 +02:00
Mike A
4e213e5a48 reports: update real_airtag example 2024-04-23 21:36:46 +02:00
Mike A
a2672c3cc9 Update examples 2024-02-17 20:52:09 +01:00
Mike A
e18e179e95 Re-enable ruff in examples 2024-02-08 15:56:54 +01:00
Mike A
246b407e45 Update keygen to fix index alignment 2024-02-08 15:53:18 +01:00
Mike A
8ff3e0ee19 Fix silly typo 2024-02-07 23:38:49 +01:00
Mike A
612fe63408 Fix accessory key generation 2024-02-07 17:45:40 +01:00
Mike A
d4a5fcef10 Cleanup examples 2024-02-06 23:26:16 +01:00
Mike A
7e46afc5f3 Add experimental key derivation API for real airtags 2024-02-06 23:14:01 +01:00
Mike A
8d572b71d7 List extra data in scanner results 2024-01-05 21:55:21 +01:00
Mike A
15e0b910b3 Add BLE device scanning functionality 2024-01-04 17:18:22 +01:00
Mike A
e31f9ac745 Refactor entire module 2024-01-03 22:13:16 +01:00
Mike A
cf4213c8bb Fix leftover commented code 2024-01-01 22:08:40 +01:00
Mike A
1b18e0dfef Enforce strict typing 2024-01-01 21:47:06 +01:00
Mike A
e06274ca05 Add synchronous API wrapper 2023-12-31 15:00:54 +01:00
Mike A
0ab316aa25 Format 2023-12-31 14:02:56 +01:00
Mike A
a47a3c45a5 Initial commit 2023-12-30 22:29:18 +01:00