I saw this line of code and I was wondering should we not encrypt the key before storing it ?
NSKeyedArchiver.archiveRootObject is for storing setting etc .. it's not secure. I would suggest using the keychain or a symmetric key derivation via the user password to store the privateKeys.
I saw this line of code and I was wondering should we not encrypt the key before storing it ?
NSKeyedArchiver.archiveRootObject is for storing setting etc .. it's not secure. I would suggest using the keychain or a symmetric key derivation via the user password to store the privateKeys.