picklepete / pyicloud

A Python + iCloud wrapper to access iPhone and Calendar data.
MIT License
2.45k stars 437 forks source link

iCloud Advanced Data Protection #432

Open bushvin opened 12 months ago

bushvin commented 12 months ago

The request

Since end 2022, Apple has introduced Advanced Data Protection, which enables (better) e2e encryption for more applications in iCloud

Environment

Checklist

Additional information

When attempting to connect to iCloud drive with ADP enabled, using the pyicloud library, the following error is displayed:

pyicloud.exceptions.PyiCloudAPIResponseException: Missing PCS cookies from the request (423)

Some digging uncovers this github issue, which indicates my error is related to the fact that I have enabled ADP.