Skip to content

iclouddrive: replace plaintext signin with SRP authentication - #9209

Merged
ncw merged 3 commits into
rclone:masterfrom
mikegillan:master
Apr 2, 2026
Merged

ncw merged 3 commits into
rclone:masterfrom
mikegillan:master

Conversation

@mikegillan

Copy link
Copy Markdown
Contributor

Summary

  • Replace the deprecated /appleauth/auth/signin plaintext endpoint with Apple's SRP-6a (Secure Remote Password) protocol
  • Implement the full SRP handshake: authStart → authFederate → signin/init → signin/complete
  • Add SRP crypto implementation (RFC 5054 2048-bit group, SHA-256, Apple's NoUserNameInX variant)
  • Support both s2k and s2k_fo password derivation protocols
  • Update auth headers for idmsa.apple.com (X-Apple-Auth-Attributes, X-Apple-Frame-Id, correct Origin/Referer)
  • 2FA and trust token flow unchanged

Apple deprecated the old signin endpoint and now blocks it, causing "Invalid Session Token" errors for all users once their trust token expires. This affects everyone — the issue has 119 comments and counting.

Fixes #8587

Test plan

  • go build ./backend/iclouddrive/... compiles
  • go vet ./backend/iclouddrive/... passes (no new warnings)
  • go test ./backend/iclouddrive/... — existing tests pass
  • 11 new unit tests for SRP crypto in api/srp_test.go — all pass
  • Manual test: rclone config → SRP handshake completes → 2FA prompt → trust token saved
  • Manual test: rclone lsd iCloudDrive: lists directories after auth

Checklist

  • I have read the contribution guidelines.
  • I have added tests for all changes in this PR if appropriate.
  • I have added documentation for the changes if appropriate.
  • All commit messages are in house style.
  • I'm done, this Pull Request is ready for review :-)

@ncw

ncw commented Feb 25, 2026

Copy link
Copy Markdown
Member

@mikegillan thanks for fixing this. I just ran the CI - looks like there are some lint things to fix.

I gave it a quick review and it looks great. It looks like it has had some testing from users - do you know how many people have tried the new code?

@mikegillan

Copy link
Copy Markdown
Contributor Author

@mikegillan thanks for fixing this. I just ran the CI - looks like there are some lint things to fix.

I gave it a quick review and it looks great. It looks like it has had some testing from users - do you know how many people have tried the new code?

I don't know but there have been at least two people in the the issue chat reporting that it worked for them. I think most users would be waiting for a nightly build to test it out since they might not have the ability to build locally. Is it possible to give a temp build to users who have indicated interest in the issue?

This is my first time contributing to a public project like this (I've only ever done corporate development) so please forgive me if I'm suggesting something stupid here.

@mikegillan

Copy link
Copy Markdown
Contributor Author

I've corrected the formatting on the imports, which should clear the linter errors.

@Unbounded6106

Copy link
Copy Markdown

I had to build the Windows version to generate the config file. On the Linux amd64 version, when I tried to configure iCloud, I was still getting the “Invalid Session Token” error. In the config file created on Linux, the “cookies” and “trust_token” fields were not being populated.

By creating the config file on Windows and importing it into Linux, everything works without any issues.

@mikegillan

Copy link
Copy Markdown
Contributor Author

Hi @ncw I see there's a build issue with Windows that doesn't look related to any of my changes. Is there anything else I can do to get this ready for merge? Over on the issue page there have been a few people asking how they can get their hands on it, so now I feel a responsibility to see this through. Please let me know if there's anything I can do to help. Thanks!

@zirkuswurstikus

Copy link
Copy Markdown

Hello,
cudos to @mikegillan.
I successfully build rclone on Apple Silicon.

mkdir -p /tmp/rclone
cd /tmp/rclone
git clone https://github.com/rclone/rclone.git .
git fetch origin pull/9209/head:pr-9209
git checkout pr-9209
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -trimpath -ldflags='-s -w' -o build/rclone-pr9209-darwin-arm64 ./ 
rclone version   
rclone v1.74.0-DEV
- os/version: darwin 26.2 (64 bit)
- os/kernel: 25.2.0 (arm64)
- os/type: darwin
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.25.6
- go/linking: static
- go/tags: none

To authenticate use you Apple-ID password. App password do not work.

Thanks,
ZirkusWurstikus

@zirkuswurstikus

Copy link
Copy Markdown

Sidenote:
Successfully build for my good old Synology DS218

Linux syentology 3.10.108 #42962 SMP Tue Jul 29 14:26:48 CST 2025 armv7l GNU/Linux synology_armada38x_ds218j
rclone v1.74.0-DEV
- os/version: unknown
- os/kernel: 3.10.108 (armv7l)
- os/type: linux
- os/arch: arm (ARMv7 compatible)
- go/version: go1.25.7
- go/linking: static
- go/tags: none

@weskoop

weskoop commented Mar 2, 2026

Copy link
Copy Markdown

Compiled this PR tonight, it's working great. Effortless connection, Apple couldn't have made it easier.

Mounted a folder of notes, no issues either way.

~
❯ opt/rclone/rclone version
rclone v1.74.0-DEV
- os/version: cachyos (64 bit)
- os/kernel: 6.19.5-3-cachyos (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.26.0-X:nodwarf5
- go/linking: dynamic
- go/tags: none

Appreciate the hard work, both the pr and rclone project!

@zirkuswurstikus

zirkuswurstikus commented Mar 2, 2026 •

Copy link
Copy Markdown

Compiled this PR tonight, it's working great. Effortless connection, Apple couldn't have made it easier.

Did you run across the cosmetic issue that it authenticate twice? From what I see the code first authetificate and then run it again for testing access.

@harijay

harijay commented Mar 2, 2026

Copy link
Copy Markdown

Hi All Great to hear this is working. I tried with my own apple id and password and get a 400. Would love to know the process to set it up ? I tried
New remote
Apple Id : [email protected]
y ( Type in my own password)
passwd: Entered in my apple id password
passwd: Entered in my apple id password
n ( no advanced config)

ANd I get this error:

Option password.
Password.
Choose an alternative below.
y) Yes, type in my own password
g) Generate random password
y/g> y
Enter the password:
password:
Confirm the password:
password:

Edit advanced config?
y) Yes
n) No (default)
y/n> 

Error: HTTP error 400 (400 Bad Request) returned body: "{\"success\":false,\"error\":\"Invalid Session Token\"}"

@zirkuswurstikus

zirkuswurstikus commented Mar 2, 2026 •

Copy link
Copy Markdown

Hi All Great to hear this is working. I tried with my own apple id and password and get a 400. Would love to know the process to set it up ? I tried New remote Apple Id : [email protected] y ( Type in my own password) passwd: Entered in my apple id password passwd: Entered in my apple id password n ( no advanced config)

Whats your output of rclone version ?

@seanbarney

Copy link
Copy Markdown

Hello. Thank you to @mikegillan for this PR. I am also on Apple Silicon and followed the build steps laid out by @zirkuswurstikus . I can confirm this has worked for me as well.

@xz-dev

xz-dev commented Mar 3, 2026 •

Copy link
Copy Markdown
Contributor

Nice job, I add more function for that to let it work with #8818

If it's looks fine for you , please merge it, thank you @mikegillan

@nmoura

nmoura commented Mar 3, 2026

Copy link
Copy Markdown

Just compiled this PR on Apple Silicon (M2 Air), mounted a directory and read a file without issues.

~/go/bin$ ./rclone version
rclone v1.74.0-DEV
- os/version: fedora 42 (64 bit)
- os/kernel: 6.18.10-402.asahi.fc42.aarch64+16k (aarch64)
- os/type: linux
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.25.7 X:nodwarf5
- go/linking: dynamic
- go/tags: none

Thanks, @mikegillan for this PR and all maintainers for this project.

@harijay

harijay commented Mar 4, 2026

Copy link
Copy Markdown

Hi all ,
The same flow consistently fails on Linux with whats below. Generated by CLAUDE , confirmed by me.

The error is same as before:

Error: HTTP error 400 (400 Bad Request) returned body: {"success":false,"error":"Invalid Session Token"}

Environment:

  • OS: Ubuntu 24.04 (Linux x86_64)
  • rclone: v1.73.1 and v1.74.0-beta

Observations:

  • SRP handshake appears to complete (password is accepted, no credential error)
  • Failure occurs at the session token validation step on Apple's servers
  • Identical Apple ID and app-specific password work via the browser-based cookie workaround
  • iCloud prerequisites confirmed: ADP off, "Access iCloud Data on the Web" on

Hypothesis:
Apple may be fingerprinting the SRP session request and rejecting it based on platform/user-agent characteristics specific to the Linux client, or there is a subtle difference in the
SRP implementation that only manifests on Linux.

Workaround: Browser-based cookie extraction via icloud_cookie_extractor.sh (see #8587).

@zirkuswurstikus

zirkuswurstikus commented Mar 4, 2026 •

Copy link
Copy Markdown

@harijay according to you post you are using a 1.74-BETA. Do you follow the provided instruction to build rclone?

Run this and paste output


mkdir -p /tmp/rclone
cd /tmp/rclone
git clone https://github.com/rclone/rclone.git .
git fetch origin pull/9209/head:pr-9209
git checkout pr-9209
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags='-s -w' -o build/rclone-pr9209-linux-amd64 ./

rclone version

@harijay

harijay commented Mar 4, 2026

Copy link
Copy Markdown

Thanks @zirkuswurstikus . I didnt notice that AI pulled from beta branch instead of the PR. It is all working now . Was super thrilled when the 2FA popped up on my phone. I had been trying to get this functionality for months now.

You all rock!!

Hari

Here is the CLAUDE message

Update: Works on Linux when built directly from this PR branch

After being prompted by @zirkuswurstikus to build from the PR branch rather than using the beta release, I can confirm SRP auth works on Linux.

Build used:
rclone v1.74.0-DEV

  • os/version: ubuntu 24.04 (64 bit)
  • os/kernel: 6.17.0-14-generic (x86_64)
  • go/version: go1.25.0

Built with:
git fetch origin pull/9209/head:pr-9209
git checkout pr-9209
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags='-s -w' -o build/rclone-pr9209-linux-amd64 ./

Key finding: You must use your real Apple ID password, not an app-specific password. The SRP handshake requires the real password for the cryptographic exchange. Previous failures
(including my earlier report of authSRPComplete: sign in failed: 401) were caused by using an app-specific password via rclone config create non-interactively.

The interactive rclone config flow correctly prompted for the 2FA code sent to my phone, completed the SRP handshake, and stored session cookies. rclone lsd successfully listed my
iCloud Drive.

@harijay according to you post you are using a 1.74-BETA. Do you follow the provided instruction to build rclone?

Run this and paste output


mkdir -p /tmp/rclone
cd /tmp/rclone
git clone https://github.com/rclone/rclone.git .
git fetch origin pull/9209/head:pr-9209
git checkout pr-9209
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags='-s -w' -o build/rclone-pr9209-linux-amd64 ./

rclone version

@mikegillan

mikegillan commented Mar 4, 2026 via email

Copy link
Copy Markdown
Contributor Author

@mikegillan

Copy link
Copy Markdown
Contributor Author

Thanks to @xz-dev for the fix for mainland China, this should work for everyone now. We just need someone to approve it!

@JoshPaterson

Copy link
Copy Markdown

This worked for me as well. Thank you to all who worked on it!

OS: Ubuntu 22.04 (64 bit)
Kernel: 5.15.0-171-generic (x86_64)
Architecture: amd64
Go version: go1.25.3
Build command: CGO_ENABLED=0 go build -trimpath -ldflags='-s -w' -o rclone ./

@Lyapsus

Lyapsus commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

@JoshPaterson would you mind to also look at #8734? Should hopefully add photos support!

@JoshPaterson JoshPaterson mentioned this pull request Mar 7, 2026
4 of 5 tasks
@JoshPaterson

Copy link
Copy Markdown

I am receiving two different types of errors for files that are in folders that were shared to me by someone else. Files that I shared from my account to others don't have errors.

  • Subfolders within folders that were shared with me had "HTTP 400 Bad Request" errors
  • Files within folders shared with me had "RootURL not set" errors.

Please let me know if you'd like more information about these errors or the files that caused them.

@Samerbq

Samerbq commented Mar 20, 2026

Copy link
Copy Markdown

Wow ty fr . . I tried every single solution out there online , nothing worked except this one. Once again, thank you so much

@ncw

ncw commented Mar 20, 2026

Copy link
Copy Markdown
Member

@mikegillan is this pr ready for merge?

Can you comment on backwards compatibility. Will users have to change their config or reconnect?

It appears to be popular with testers so I'd like to try to get it merged.

@shriharip

Copy link
Copy Markdown

I had put this comment on the issue and also here.

No it is still not working.
I rebuilt it from @mikegillan fork today.
I built it for android on mac.

GOOS=android GOARCH=arm64 CGO_ENABLED=0 \
go build -trimpath -ldflags='-s -w' \
-o rclone-pr9209-android-arm64

I then moved it to my termux and then ran the ```rclone-pr9209-android-arm64 config``

No remotes found, make a new one?
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
name> iclouddrive
Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.
[snip]
XX / iCloud Drive
   \ (iclouddrive)
[snip]
Storage> iclouddrive
Option apple_id.
Apple ID.
Enter a value.
apple_id> APPLEID  
Option password.
Password.
Choose an alternative below.
y) Yes, type in my own password
g) Generate random password
y/g> y
Enter the password:
password:
Confirm the password:
password:
Edit advanced config?
y) Yes
n) No (default)
y/n> n

I get the error

Error: authStart: Get "https://idmsa.apple.com/appleauth/auth/authorize/signin?Authversion......"
dial tcp: idmsa.apple.com on [::1]:53: read udp read: connection refused.

Maybe some auth headers or the user-agent issue.

@mikegillan

Copy link
Copy Markdown
Contributor Author

@mikegillan is this pr ready for merge?

Can you comment on backwards compatibility. Will users have to change their config or reconnect?

It appears to be popular with testers so I'd like to try to get it merged.

Hello @ncw! Yes, this is ready to merge and by now has been tested pretty extensively. There are still some testers reporting difficulties but I suspect those are environmental or build-related rather than an issue with the PR. Once merged, users who wish to connect to iclouddrive will need to re-run their config (at least for this endpoint) to allow the SRP negotiation to complete and obtain an authorization token from Apple.

Thanks!

@Unbounded6106

Copy link
Copy Markdown

Built from PR #9234 and also tested commit ea6c891c8a522f35a4b4d31190747ce74f0e0b14.

Environment:

Windows build and Linux build both tested
rclone reports v1.74.0-DEV

Observed behavior:

SRP authentication succeeds and reaches SRP sign in requires 2FA
rclone then prompts for the 2FA code
no verification code is received automatically on my trusted iPhone
typing sms returns no trusted phone numbers on this account

Important detail:

my Apple account does have a trusted phone number configured
my Apple account works normally on Apple/iCloud web sign-in
this does not appear to be an Apple account configuration issue on my side

Relevant logs:

DEBUG : iclouddrive: SRP sign in requires 2FA
Option config_2fa.
Two-factor authentication: enter your 2FA code or type 'sms' for a text message
config_2fa> sms
...
Error: no trusted phone numbers on this account

This looks like the SRP step is fixed, but the 2FA/trusted-number handling is still broken or incomplete for my account/session.

@Lyapsus

Lyapsus commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

@Unbounded6106 thanks for testing! I would suggest to come to #9234 for its testing to not confuse anyone here.
Also I just pushed another fix which I believe should either finally help your case or give me enough data to do this next shot. Could you please build it and try again with -vv and show me the logs? There should be no sensitive data but beware anyway. Thank you again, looking forward for your next try

@ncw ncw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very nice fix - thank you @mikegillan

It seems to have settled down now and users seem happy so it is time to merge :-)

I'll just run the CI one last time first.

@ncw

ncw commented Mar 31, 2026

Copy link
Copy Markdown
Member

@mikegillan can you fix the lint error and then I'll merge :-) Thank you

mikegillan pushed a commit to mikegillan/rclone that referenced this pull request Mar 31, 2026
This fixes China mainland iCloud authentication by deriving the Origin
and Referer headers from authEndpoint instead of hardcoding idmsa.apple.com.

Fixes compatibility with PR rclone#8818 (China region support) and PR rclone#9209
(SRP authentication).

Signed-off-by: Xiangzhe <[email protected]>
@mikegillan

Copy link
Copy Markdown
Contributor Author

@ncw thank you! I've corrected the linter error, rebased with a clean merge, and force-pushed my commit. Fingers crossed it's all clean now. Thank you for your patience, this is my first FOSS contribution so I was learning as I went. :)

@artushin

artushin commented Apr 1, 2026

Copy link
Copy Markdown

@mikegillan Sending you a PR - your change wasn't working for me without it. I wasn't getting the 2fa code.

https://github.com/mikegillan/rclone/pull/2/changes

mikegillan and others added 3 commits April 2, 2026 16:00
Apple has deprecated the legacy /appleauth/auth/signin endpoint and
now blocks it, causing "Invalid Session Token" errors for all users
when their trust token expires. The browser login flow now requires
SRP (Secure Remote Password), a cryptographic handshake that never
transmits the password.

Replace Session.SignIn() with a multi-step SRP-6a flow:
1. authStart - initialize session at /authorize/signin
2. authFederate - submit account name to /federate
3. authSRPInit - exchange client public value for salt/B at /signin/init
4. authSRPComplete - send M1/M2 proofs to /signin/complete

The SRP implementation uses the RFC 5054 2048-bit group with SHA-256
and Apple's NoUserNameInX variant. Password derivation supports both
s2k and s2k_fo protocols via SHA-256 + PBKDF2.

The 2FA and trust token flow is unchanged. Auth headers for all
idmsa.apple.com requests now include X-Apple-Auth-Attributes,
X-Apple-Frame-Id, and use Origin/Referer of https://idmsa.apple.com.

Fixes rclone#8587
This fixes China mainland iCloud authentication by deriving the Origin
and Referer headers from authEndpoint instead of hardcoding idmsa.apple.com.

Fixes compatibility with PR rclone#8818 (China region support) and PR rclone#9209
(SRP authentication).

Signed-off-by: Xiangzhe <[email protected]>
Apple IDs are case-insensitive, but the SRP proof computation (M1)
hashes the username client-side. The old plaintext signin let the
server normalize the case, but with SRP the client must match.
Lowercase the Apple ID before use so mixed-case IDs authenticate
correctly.

Reported-by: ArturKlauser
@ncw

ncw commented Apr 2, 2026

Copy link
Copy Markdown
Member

Hi @mikegillan I just rebased this and squashed the fixes so I can merge as 3 commits. I can either merge things as-is or squash - there is no option to fixup things on the github interface! For next time rebase and prepare in the exact commits you want merged is my preferred workflow.

I'll leave you to decide whether you want to include the patch by @artushin - in another PR.

I'll just wait for the CI to run to make sure I didn't break anything then I'll merge :-)

Thank you so much for doing this - it is great to have the iclouddrive working better.

@ncw
ncw merged commit 4a00a4d into rclone:master Apr 2, 2026
9 checks passed
ncw pushed a commit that referenced this pull request Apr 2, 2026
This fixes China mainland iCloud authentication by deriving the Origin
and Referer headers from authEndpoint instead of hardcoding idmsa.apple.com.

Fixes compatibility with PR #8818 (China region support) and PR #9209
(SRP authentication).

Signed-off-by: Xiangzhe <[email protected]>
@ncw

ncw commented Apr 2, 2026

Copy link
Copy Markdown
Member

Thank you all :-)

ncw pushed a commit that referenced this pull request Apr 27, 2026
Add read-only iCloud Photos support to the existing iclouddrive
backend via `service = photos` config option.

Also includes auth improvements on top of #9209's SRP authentication.

**Photos features:**
- 3-level hierarchy: libraries (Personal + Shared Photo Library) →
  albums → photos/videos
- server-side smart albums (All Photos, Videos, Favorites,
  Screenshots, Live, Bursts, Panoramas, Slo-mo, Time-lapse, Portrait,
  Long Exposure, Animated, Hidden, Recently Deleted)
- User-created albums and nested album folders
- Live Photo `.MOV` companions as first-class entries
- Edited photo versions (`-edited` suffix) and RAW alternatives
- Duplicate filename dedup for camera counter wrap collisions
- Parallel cold listing for large albums
- Delta sync via CloudKit `changes/zone` - warm listings near-instant from disk cache
- Disk cache (libraries, albums, photos) with atomic writes for crash safety
- `ChangeNotify` support for FUSE mounts via `changes/zone` polling
- `ListR` support for `--fast-list` and recursive operations
- `--metadata` support - width, height, added-time, favorite, hidden
- Fresh download URLs per file - no stale URL failures on long copies
- FUSE mount documentation with recommended flags

**Auth improvements over #9209:**
- SMS 2FA fallback for users without trusted Apple devices
- Explicit push notification request - fixes iOS/macOS 26.4+ where 409
  no longer auto-pushes
- Thread safety for concurrent FUSE callers (mutexes on session and client state)
- Session endpoint caching - skips ~5s `/validate` round-trip on warm start
- `Disconnect` support - clears auth state + disk cache
- PCS cookie support for Advanced Data Protection accounts, including
  trusted-device approval for PCS cookies

Built on @coughlanio's Photos PoC (Closes #8734) and @mikegillan's SRP auth (#9209).

Fixes #7982
Co-authored-by: Chris Coughlan <[email protected]>
ferferga pushed a commit to ferferga/rclone that referenced this pull request Oct 6, 2026
This fixes China mainland iCloud authentication by deriving the Origin
and Referer headers from authEndpoint instead of hardcoding idmsa.apple.com.

Fixes compatibility with PR rclone#8818 (China region support) and PR rclone#9209
(SRP authentication).

Signed-off-by: Xiangzhe <[email protected]>
ferferga pushed a commit to ferferga/rclone that referenced this pull request Oct 6, 2026
Add read-only iCloud Photos support to the existing iclouddrive
backend via `service = photos` config option.

Also includes auth improvements on top of rclone#9209's SRP authentication.

**Photos features:**
- 3-level hierarchy: libraries (Personal + Shared Photo Library) →
  albums → photos/videos
- server-side smart albums (All Photos, Videos, Favorites,
  Screenshots, Live, Bursts, Panoramas, Slo-mo, Time-lapse, Portrait,
  Long Exposure, Animated, Hidden, Recently Deleted)
- User-created albums and nested album folders
- Live Photo `.MOV` companions as first-class entries
- Edited photo versions (`-edited` suffix) and RAW alternatives
- Duplicate filename dedup for camera counter wrap collisions
- Parallel cold listing for large albums
- Delta sync via CloudKit `changes/zone` - warm listings near-instant from disk cache
- Disk cache (libraries, albums, photos) with atomic writes for crash safety
- `ChangeNotify` support for FUSE mounts via `changes/zone` polling
- `ListR` support for `--fast-list` and recursive operations
- `--metadata` support - width, height, added-time, favorite, hidden
- Fresh download URLs per file - no stale URL failures on long copies
- FUSE mount documentation with recommended flags

**Auth improvements over rclone#9209:**
- SMS 2FA fallback for users without trusted Apple devices
- Explicit push notification request - fixes iOS/macOS 26.4+ where 409
  no longer auto-pushes
- Thread safety for concurrent FUSE callers (mutexes on session and client state)
- Session endpoint caching - skips ~5s `/validate` round-trip on warm start
- `Disconnect` support - clears auth state + disk cache
- PCS cookie support for Advanced Data Protection accounts, including
  trusted-device approval for PCS cookies

Built on @coughlanio's Photos PoC (Closes rclone#8734) and @mikegillan's SRP auth (rclone#9209).

Fixes rclone#7982
Co-authored-by: Chris Coughlan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid Session Token while connecting to iCloud