Re: .balsa/config-private

Albrecht Dreß <[email protected]> Mon, 02 Mar 2020 21:47:51 +0100
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
Hi David,

first, thanks a lot for giving Balsa a try, and for your feedback!

I CC the Balsa mailing list which is usually the best place for your questions…

First a question – did you install Balsa from a package repository, or did you compile from sources (or git) yourself?  The repo versions are sometimes really outdated, unfortunately; for compiling, see below…

Am 01.03.20 11:56 schrieb(en) David:
> To my surprise I recognized my password being stored as ROT13 (basically considered plaintext) in:
> 
>   .balsa/config-private

Well, if your system supports libsecret, Balsa tries to use it, and doesn't store credentials itself.

Unfortunately, the relevant configure option's comment

<snip>
   --with-libsecret        Link to libsecret instead of gnome-keyring
                           (default=no)
</snip>

is *wrong* – gnome-keyring is deprecated, and Balsa uses either libsecret (as interface to Seahorse aka “Passwords and Keys”), or stores them, minimally obfuscated, as you observed correctly, in ~/.balsa/config-private.  The README is actually correct…

If you compiled Balsa yourself, please install the libsecret development package (e.g. libsecret-1-dev on Debian), reconfigure with the additional option “--with-libsecret”, and recompile.

When Balsa successfully uses libsecret, you may want to clean the config file by calling

<snip>
sed -e 's/^\(Password\|CertificatePassphrase\)=.*$/\1=/g' -i ~/.balsa/config-private
</snip>

Does this help to solve this issue?

> Thanks for your ongoing efforts for the nice client!

Thanks!

Best,
Albrecht.

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAl5dcPcACgkQTKlvDmfn
2fituAf/a8Ez1hX+WbJx1ZRzW43+J26qRhZ2kGezt0Vc96PO3qYNFUpeXNsDYAfv
cRRNxILWLISPNygvOawi2heE3B0XaRfkr9fsXhlwaA3pxIYaPWlkJ8nHa+S9COf0
+Cb7QW5jpmWGQiexaQdM4I4YqaTX6gQYYbjnzdNIPQnra7WWAgc1fOCSy77j8hEo
7x+zK3XyyPAe8vfBCoeeF7bWzcY8/rH/2rIcq6JYQ9ogZqMyfNmwbAxR1m/4Lk01
G06gEqNJNSWmKT/6p0xihBcfidd+2D493Ts9vJtxGvIP6Kl5xiFbkZy1aDYaP84G
Tx2h+KX3dm7HBHIFWkPcmDNhJeNr8Q==
=imE9
-----END PGP SIGNATURE-----