问题描述
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 共享访问令牌是否安全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!