voice works
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash -e
|
||||
# File: decrypt_db.sh
|
||||
# Date: Fri Nov 21 13:07:33 2014 +0800
|
||||
# Date: Sun Nov 23 16:46:51 2014 +0800
|
||||
# Author: Yuxin Wu <[email protected]>
|
||||
|
||||
MMSGDB=$1
|
||||
@@ -18,6 +18,6 @@ LD_LIBRARY_PATH=./lib ./lib/sqlcipher $MMSGDB << EOF
|
||||
PRAGMA key='$KEY';
|
||||
PRAGMA cipher_use_hmac = off;
|
||||
ATTACH DATABASE "decrypted_database.db" AS decrypted_database KEY "";
|
||||
SELECT sqlcipher_export("decrypted_database");
|
||||
SELECT sqlcipher_export("decrypted_db");
|
||||
DETACH DATABASE decrypted_database;
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user