Open SQLCipher with raw key does not work #3588
Unanswered
rlatapy-luna
asked this question in
Q&A
Replies: 1 comment 8 replies
-
Which version of our application are you using? I faintly remember seeing someone else have a similar problem a while ago, and it turned out to be a bug that has been fixed since. If it's the same bug, then try a development build: https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/continuous They're pretty stable. 😄 |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I cannot manage to open my sqlite database encrypted by sqlcipher with a raw key.
The database is dumped from Android (mode WAL) and use a 32 bytes key, transformed to a 64 chars strings. I suppose the transformation is ok because I'm able to export the database by using
sqlcipher_export
in both way (encrypt/decrypt). Of course I'm also able to (re)open it on my app by using the rawbyte[]
key.For the export I followed the example from https://github.com/sqlcipher/sqlcipher-android-tests/blob/master/app/src/main/java/net/zetetic/tests/ImportUnencryptedDatabaseTest.java, and as said everything looks ok.
When I then try to open the dumped database on db browser, it asks for the key, but it does not open when providing my "0x" + 64 hexa chars key (lower case or upper case). Am I missing something?
It works great if I use a passphrase instead of the raw key in
sqlcipher_export
, so the encryption params are ok.I also tried to use my 64 chars as passphrase as if it was interpreted as a passphrase instead of raw key by sqlcipher.
Beta Was this translation helpful? Give feedback.
All reactions