I am trying to open the sqlcipher db, but have an error:
Error: malformed database schema (sqlcph_autoindex_first_table_1) - orphan index
This db have the same params as I’ve set. And in error appears name of table, that exists in source database: first_table
sqlite> .open testdb.db
sqlite> PRAGMA key = “x’7113B06B31E7DF37FE1BCEE33F2D91B7EA56FA3169E6AC8661F6ABEA690F4FBE’”;
ok
sqlite> PRAGMA cipher_page_size = 1024;
sqlite> PRAGMA kdf_iter = 64000;
sqlite> PRAGMA cipher_hmac_algorithm = HMAC_SHA1;
sqlite> PRAGMA cipher_kdf_algorithm = PBKDF2_HMAC_SHA1;
sqlite> .tables
Error: malformed database schema (sqlcph_autoindex_first_table_1) - orphan index