Re: [Twisted-Python] Logout from a perspective broker server

2010-03-24 Thread Ramiro Alba Queipo
Glyph, > > I wonder, if I client using pygtk, can logout from the server > > without > > calling reactor.stop(), as you would kill the GUI. I tried to delete > > the > > perspective got from the server but it does not work... > > The simplest thing you can do to achieve this is > 'broker.transpor

[Twisted-Python] Logout from a perspective broker server

2010-03-23 Thread Ramiro Alba Queipo
Hi all, I wonder, if I client using pygtk, can logout from the server without calling reactor.stop(), as you would kill the GUI. I tried to delete the perspective got from the server but it does not work... Thanks in advance Regards -- Ramiro Alba Centre Tecnològic de Tranferència de Calor htt

Re: [Twisted-Python] Authenticating with md5 hashed passwords

2010-02-15 Thread Ramiro Alba Queipo
Jean-Paul, On Mon, 2010-02-15 at 16:45 +, exar...@twistedmatrix.com wrote: > >checker, but as you have said this is going to be deprecated. > > This discussion has led me to realize that checkMD5Password probably > shouldn't be deprecated. Instead the documentation should be fixed so > tha

Re: [Twisted-Python] Authenticating with md5 hashed passwords

2010-02-15 Thread Ramiro Alba Queipo
Jean-Paul: On Mon, 2010-02-15 at 13:25 +, exar...@twistedmatrix.com wrote: > >>What do you mean when you say you're using plain text passwords? > >>Authentication involves multiple parties handling the password in > >>multiple ways, and the "plain text"-ness of the password changes from > >>st

Re: [Twisted-Python] Authenticating with md5 hashed passwords

2010-02-15 Thread Ramiro Alba Queipo
Jean-Paul, Thanks for your answers. Answers bellow. Also attachments of client/server application tests. On Fri, 2010-02-12 at 20:06 +, exar...@twistedmatrix.com wrote: > On 06:03 pm, r...@cttc.upc.edu wrote: > >Hello everybody, > > > >I am trying to build a a client/server application using

[Twisted-Python] Authenticating with md5 hashed passwords

2010-02-12 Thread Ramiro Alba Queipo
Hello everybody, I am trying to build a a client/server application using Perspective Broker and wanting to authenticate against a PostgreSQL database. Everything works fine if I user plain text passwords, but when trying to hash then using md5 using from hashlib import md5 md5Password = md5(pass

Re: [Twisted-Python] Using Twisted and GTK2

2010-02-04 Thread Ramiro Alba Queipo
Thanks David. I'll take a look on your code Regards On Wed, 2010-02-03 at 11:03 -0800, David Ripton wrote: > On 2010.02.03 13:48:39 +0100, Ramiro Alba Queipo wrote: > > I recently new about Twisted and saw it as the best way to deal with a > > client/server network applicatio

Re: [Twisted-Python] Using Twisted and GTK2

2010-02-03 Thread Ramiro Alba Queipo
Free, Really interesting. I did not realized, but I do not know if it is too simple as, I want to use a SQL Database authentication an a view from a web client. On Wed, 2010-02-03 at 15:28 +0100, Free Ekanayaka wrote: > Hi, > > |--==> On Wed, 03 Feb 2010 13:48:39 +0100, Ramiro

[Twisted-Python] Using Twisted and GTK2

2010-02-03 Thread Ramiro Alba Queipo
Hi everybody, I recently new about Twisted and saw it as the best way to deal with a client/server network application (I use python long time ago). Really wonderful. I now intend to write a GTK client that can send commands and transfers files to the server and from it. I started to learn how to