[GNC] storing password when using mysql backend

Fourhundred Thecat 400thecat at gmx.ch
Tue Jan 14 23:15:07 EST 2020


Hello,

I am using Gnucash 3.4 with Mysql (MariaDB) backend.

Every time I start Gnucash, I have to type in the mysql password.

The way I see it, this seems more like a security theater than a real
security. Normally when Gnucash is using xml backend, files are stored
locally unencrypted. I see no reason why mysql backend should be any
different. Besides, security (encryption) should not be handles on
application level, but rather on System level (I have LUKS encrypted HDD)

Can I store the password locally? (in a config file, plaitext is fine).

Or, if this is not possible, where can I hard code it in the gnucash
sourcecode ?

I already had to compile Gnucash from source (even though there exists a
Debian package for my distribution), so recompiling again would not be
difficult.

I think I read somewhere that password can be stored in Gnome Keyring,
but I am not using Gnome Keyring.

thank you,






More information about the gnucash-user mailing list