Monthly Archives: June 2006

Gaim stores passwords in plain text

Published / by mario / 3 Comments on Gaim stores passwords in plain text

Last afternoon I spent some time in the Lfcia talking to Miriam, and she told me about Gaim storing passwords in plain text. I had no idea of this before she told me, and that’s why, as soon as I was warned about, I took a look into my ~/.gaim directory and I realized how my password was really stored in the accounts.xml text file.

The reason for my password to be there was that I’d checked the typical “Remember my password” checkbox when adding my IM accounts to gaim, with the only purpose of not being annoyed each time I login into my accounts. Somebody could say at this point that the only real security would be not storing passwords at all (and this is true, of course), but I think that if a program asks you for doing something like that, you should be able to trust it about how your password is going to be saved at disk (hopefully, in a secure way).

After thinking for a while, I googled a bit looking for information about this and to see if there’s a plugin, a patch or something similar to fix this situation… and here is the final result of my search:

http://gaim.sourceforge.net/plaintextpasswords.php.

In this URL, gaim developers tell that gaim does not now and is not likely to encrypt the passwords in the accounts.xml file, nor is it likely to be encrypted in a future release. “Hard declarations!”, I thought ;)… but, after all, I think their arguments are not so bad, except that they are not taking into account a common situation when using gaim that makes unsafe storing passwords in the accounts.xml file (even when that file is only readable by its owner): what about using gaim on a computer whose superuser is not you? That superuser could read your accounts.xml file even when nobody but you couldn’t, and that’s not seem to be “pretty good privacy” :).

I know that gaim developers would say that I shouldn’t use this feature in such those environments, but this means assuming gaim users know what’s really happening when saving passwords, and this is not always true (just look at me :P). At least, I think showing an informative message warning the user about how his/her password is going to be stored could be a good thing in order to avoid this kind of surprises.

What do you think about?

Starting to blog

Published / by mario

This is my first post here in Igalia, so I’d only like to say that I hope to have time and stuff enough next days to write something of interest on this weblog.

However, if you can’t wait without reading any stuff until my first “serious post” was written, you can read other Igalia people’s blogs or just learn more about me here.

At last, thanks to Javier Muñoz for his “blogging in emacs” post, as it was very useful to me for writting this initial post using one of my favourite editors.