Files

14 lines
671 B
Markdown

# find-my-iphone image
Node/Express bridge exposing Alexa + REST endpoints over the find-my-iphone
module (icloudjs SRP auth). Dockerfile lives in the source repo -
https://git.alexzaw.dev/alexz/find-my-iphone (working copy:
~/projects/find-my-iphone). Build + push with ./build.sh.
Gotchas:
- APPLE_ID/APPLE_PASSWORD/API_KEY are required at boot or the container exits.
- The 2FA trust token is written to /data (mounted from ${APP_DATA_DIR}/data);
wiping that volume forces a new MFA round via POST /api/mfa.
- /alexa signature verification requires the raw request body - never put a
JSON body parser in front of it (server.js mounts express.json on /api only).