Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it safe to share access tokens with Watch Connectivity's updateApplicationContext?

Is the applicationContext encrypted? Or is it simply stored as an unencrypted plist file? Because if it's the latter, I shouldn't be transferring access tokens using that.

like image 505
rounak Avatar asked Sep 26 '22 18:09

rounak


1 Answers

The communication between the devices is encrypted, as documented in the iOS Security Guide. I haven't seen any documentation on whether the applicationContext storage location is encrypted, but to be safe you could encrypt the token yourself before queueing it to be sent and decrypt when the other device has received it.

like image 80
lehn0058 Avatar answered Oct 16 '22 17:10

lehn0058