[Kmymoney-devel] SQLCipher Driver for KMyMoney/Qt

Fernando Vilas fvilas at iname.com
Sat Feb 8 15:56:00 UTC 2014


On Saturday, February 08, 2014 16:09:46 Christian Dávid wrote:
> Hello,
> 
> I found SQLCipher [1] which is an encrypted SQLite database. I could make a
> QSqlDriver and played around with it. It seems to work well.
> 
> What is missing is a way in KMyMoney to ask the user for the password and
> send that passwort to the database (it is a simple a non-standard SQL
> statement). Then it should be useable. Is someone interested in that?
> 

For other database types, that is included in asking the user to setup the 
database connection. My databases require a username/password combo, and that 
is how I set it up. It should be passed as part of the connection string (or 
equivalent for this db).

> The problem: creating this plugin is not so simple. You have to install
> sqlcipher which is not included in any Linux distribution (compiling it is
> not so hard).
> 
> To make things difficult you need to download the Qt source from git to
> compile the plugin (it uses some private classes/header which are not in
> development packages). So this is only interesting for sophisticated users
> and package maintainers.
> 

Sure, it is non-trivial to install and use, but if you have an itch you want 
to scratch, it could be good. It would also be a good introduction to the 
MMSqlDriver classes that abstract the connection at that level.

Good luck...

-- 
Thanks,
Fernando Vilas
fvilas at iname.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20140208/b1bed36c/attachment.sig>


More information about the KMyMoney-devel mailing list