storesafe/cordova-sqlcipher-adapter

Any way to decrypt database, that was encrypted before?

shustariov-andrey opened this issue · 1 comments

Hi

First, thanks for the awesome plugin - it works really smoothly in ionic and typeorm environment!

Question:
Is there any way to decrypt encrypted database on device? Setting the key to something empty doesn't solve the issue and
according to sqlcipher docs, I should basically attach empty un-encrypted database and use sqlcipher_export to fill it with unencrypted data. Is there any way to implement such scenario, using this plugin?

Thank you in advance!

SQLStudio do have option to decrypt SQLCipher database with option to provide algorithm, kdf and page size but it is not working.
FYI I used email cordova plugin to export the database and try opening it using SQLite Studio.

image