SqlCipher4Unity3D icon indicating copy to clipboard operation
SqlCipher4Unity3D copied to clipboard

Being able to change/remove a oassword

Open Reddevildragg opened this issue 7 years ago • 3 comments

I may be missing something but I have been looking at using this to encrypt the database on a released build. However during development I am looking to have the database not encrypted (so can see all the information in a viewer to monitor) is this possible. Also as a requirement the encryption code will need to change every month so is it possible to change the password on a created database?

Thanks for any help

Reddevildragg avatar Feb 10 '18 09:02 Reddevildragg

It is possible set key and rekey on database - https://www.zetetic.net/sqlcipher/sqlcipher-api/

I also using normal sqlite for debug during developing . and for release use encrypted data. It also good for prepare mechanism for change password.

It also one solution. replace by new database and receive key from server.

netpyoung avatar Feb 10 '18 10:02 netpyoung

Thanks for the help, I will have a look into that and see if I can get any results working. I don't suppose you have an example I can view of the code unity side? Just so I fully understand the process

Reddevildragg avatar Feb 11 '18 10:02 Reddevildragg

sorry for late reply. recently i'm busy. and nowday also I don't know have a time to test. anyway it take a time to make example.

netpyoung avatar Mar 14 '18 17:03 netpyoung