pyicloud icon indicating copy to clipboard operation
pyicloud copied to clipboard

iCloud Advanced Data Protection

Open bushvin opened this issue 1 year ago • 0 comments

The request

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

Environment

  • pyiCloud version 1.0.0
  • Python version 3.11.4
  • Operating environment: Fedora 37 (Workstation Edition)

Checklist

  • [x] I've looked informations into the README.
  • [x] I've looked informations into the pyiCloud's code.

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.

bushvin avatar Jul 08 '23 13:07 bushvin