问题描述
applicationContext是否已加密?还是只是将其存储为未加密的plist文件?因为如果是后者,我不应该使用它来转移访问令牌.
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.
推荐答案
设备之间的通信已加密,如 iOS安全指南.我尚未见过任何有关applicationContext存储位置是否已加密的文档,但是为了安全起见,您可以在将令牌发送之前先对其进行加密,并在其他设备收到令牌后对其进行解密.
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.
这篇关于与Watch Connectivity的updateApplicationContext共享访问令牌是否安全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!