mandarons / icloudpy

iCloud web service interface library in Python
Other
179 stars 17 forks source link

[FEATURE] Login using App Specific Passwords #29

Closed bogdancondurache closed 12 months ago

bogdancondurache commented 1 year ago

Use case This feature makes a lot of sense for people wanting code to run on a server, but also have some security and not disable 2FA. Apple offers app specific passwords and it's really hard finding a library to support them.

mandarons commented 12 months ago

This is not possible. icloudpy fakes being a web client to access iCloud.com features. iCloud.com is the only way to access Apple files and photos outside Apple's walled garden.

As I understand, for using app-specific passwords, icloudpy should be a registered app and should use Apple's *kit APIs. Registered apps only work in Apple's walled garden (no Windows or Linux). Registering an app also requires Apple developer account which costs $99/year.