Comments (10)
Which auth token are you referring to? App specific passwords can not be used, see #92.
from pyicloud.
I am refering to general apple token. for example, when native apps (e.g. contacts) are connecting the server, a token is passing.
the token looks likes this:
8274655121:AQAAAVAABnYqmtl1ZiI/TQ+YUIfR763S9Iy+/j0=
from pyicloud.
How would you retrieve this token? If you can use the token on icloud.com (set a cookie perhaps?) we can also use it.
from pyicloud.
for example, refer to https://github.com/horrorho/InflatableDonkey
you can download full icloud backup with it.
or this: https://github.com/hackappcom/iloot, which is an older version of InflatableDonkey in python (see iloot.py lines 587-607)
InflatableDonkey mentioned that using tokens (DsPrsID:mmeAuthToken) is "Preferable for consecutive runs as repeated appleId/ password authentication over short periods may trip anti-flooding/ security controls."
so it gives you an option to obtain it (--token option).
these tokens work on icloud.com.
now i want to use this token with pyicloud.
from pyicloud.
It seems both InflatableDonkey and iloot are using a reverse-engineered version of the CloudKit API, while we are using the APIs that the icloud.com website is using. The flow here doesn't match ours, we use a different endpoint that doesn't give us a mmeAuthToken
.
these tokens work on icloud.com
Just to clarify, are you basing that on the two projects mentioned already, or have you personally interacted with the icloud.com website using something else than your username and password?
from pyicloud.
@torarnv does pyicloud save any token for later use or does it completely re-authenticate each time?
from pyicloud.
I am basing my answer on these two projects.
However, before iOS 9, I was able to use pyicloud with mmeAuthToken (witch I got from iloot)
has something changed?
from pyicloud.
@ifnull A token is saved in the cookie file
@nirlandau Unless you can use the same mmeAuthToken
to log into the current icloud.com, then pyicloud
will not be able to use it either. Let me know if you can get it to work using icloud.com
from pyicloud.
This would be a super nice feature, up vote for me!
from pyicloud.
It is not possible since we use iCloud.com authentication.
Same for App-specific password (see #161, #92 and #36), but we may implement 2FA (see #102).
from pyicloud.
Related Issues (20)
- Help Request: 2fa and maintaining a login for at least 24 hours
- iCloud Advanced Data Protection
- Image Download with highest compatibility (including editing)
- [email protected]
- import fails - ImportError HOT 1
- This is fantastic!
- Why does pycloud reported size differ from icloud.com reported size?
- Inactive Project Maintenance and Unattended Pull Requests
- It is possible to extract field "Closest city" from my iCloud photos ? HOT 1
- Show keyError when authentication with username and password HOT 4
- 421 Authentication Error HOT 2
- Items of type app_library show up empty HOT 1
- Enabling feature of "Save to Photos" or "Save Video" from photo in iDrive
- Question
- Question | Contacts modification (updating/adding/removing)
- AccountServiceTest.test_storage fails on 3.12
- How to avoid 2FA authentication each time when polling photos with 1 hour interval ?
- TypeError: 'in <string>' requires string as left operand, not bytes
- Is there a way to access voice memos?
- Manage iCloud message and message attachment storage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyicloud.