To follow-up, am I correct in that the problem is that we are storing the raw representation in the system - and thus a file system-based - keychain?
In another post, you directed someone to a post on storing CryptoKit keys. That post discusses storing the raw representation in the keychain, so I'm inferring that the problem with our approach is the choice of keychain. In digging through the code, I see that the raw representation is stored using
kSecUseDataProtectionKeychain: true,
Since we are storing in the system keychain, we obviously don't use the Data Protection Keychain.
Thus, what I'm taking away from your response is that the fact that we are not using the DPK is the fundamental problem with our approach?
And the fact that we don't use the DPK compromises the security of our approach?
Or are there other problems as well?
Thanks in advance for your help on this!
Topic:
Privacy & Security
SubTopic:
General
Tags: