mercredi 15 avril 2015

How to decrypt SQLCipher database when sqlcipher_export fails

I'm trying to decrypt the SQLCipher database to look into it with the viewer app, buy when I use the command line tool to do as said in here:



>sqlcipher encrypted.db
sqlite> pragma key = 'key';
sqlite> ATTACH DATABASE 'plaintext.db' AS plaintext KEY '';
sqlite> SELECT sqlcipher_export('plaintext');


I get the error:



Error: no such collation sequence: COLLATION_NAME


And the plaintext.db only has one empty table.


Is there any other way to decrypt the database?


Aucun commentaire:

Enregistrer un commentaire