Re: SQLCipher ... Best place to store the DB password?
On 16.04.2013 17:42, Matronix wrote:
> I am using SQLCipher to create a database on the device. The issue I am
> running into is how to keep the password secure? Any suggestions or
> recommendation on best practices for this?
If you want to secure a user-chosen password, then you can store
it into iOS' keychain:
If you want to store an automatically generated hidden
password into the keychain, then the user would lose his
data if the keychain is reset. This might occur if a device
is restored from an unencrypted backup.