Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database encrypted by this plugin can't open by wxsqlite3_shell #34

Open
trigchen opened this issue Jun 12, 2020 · 1 comment
Open

Database encrypted by this plugin can't open by wxsqlite3_shell #34

trigchen opened this issue Jun 12, 2020 · 1 comment

Comments

@trigchen
Copy link

Datbases: created with Qt 5.9.9 32bit + QtCipherSqlitePlugin 1.2,
Cipher method: chacha20 , sqlcipher
Password length: 5
database created and encrypted using the following source codes:

QSqlDatabase dbconn = QSqlDatabase::addDatabase("SQLITECIPHER");
dbconn.setDatabaseName("test.db");
dbconn.setPassword("12345");
dbconn.setConnectOptions("QSQLITE_USE_CIPHER=sqlcipher");
//dbconn.setConnectOptions("QSQLITE_USE_CIPHER=chacha20");
``

`
The generated test.db can't be open in wxsqlite3 shell (version: 4.0.4, 4.1.0, 4.5.1)
 [https://github.com/utelle/wxsqlite3/releases](https://github.com/utelle/wxsqlite3/releases) . 
@trigchen
Copy link
Author

Tried QtCipherSqlitePlugin release/v1.3 to encrypt test.db, then opened test.db with wxsqlite3_shell 4.5.1, failed with "Error: file is not a database".
Cipher method: sqlcipher
OS: Windows 10
Qt: 5.9.9, MinGW 32-bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant