crypt(3) on unix maximal length

When i have a password comparaison function using crypt(3) i really should remember that the comparaison stop at the 7 bytes, because that stuff is weird for me : In 1: import crypt In [2]: seed=‘foo!bar’ In [3]: crypt.crypt(‘abcdefghaa123456681’, seed) Out[3]: ‘foEoVhbk7ad7A’ In [4]: crypt.crypt(‘abcdefghpax;lalx;al’, seed) Out[4]: ‘foEoVhbk7ad7A’ In [5]: any stuff after the 6 char will always get ignored by the hash algorithm.

July 30, 2006

Jabber/Asterisk and Gajim notification

At work we are using Asterisk and Jabber and i am using Gajim as my client. I did a quick patch to have a notification on my desktop when someone call me and i get my big headphones (not that i like the phone very much but well), here is the patch for people who may wants it : http://trac.gajim.org/ticket/1998

May 25, 2006