How to store passwords?

2009-01-07 Thread Oltmans
I'm writing a program in which I will ask users to enter user name and password once only. It's a console based program that will run on Windows XP. Actually, I'm trying to provide the similar functionality as Remember me thing in browsers. For that, I will need to store user name and passwords on

Re: How to store passwords?

2009-01-07 Thread Sebastian Bassi
On Wed, Jan 7, 2009 at 6:42 PM, Oltmans rolf.oltm...@gmail.com wrote: I'm writing a program in which I will ask users to enter user name and password once only. It's a console based program that will run on In general you don't store the password, but a hash of it. Then when the user logs-in,

Re: How to store passwords?

2009-01-07 Thread Oltmans
On Jan 8, 1:55 am, Sebastian Bassi sba...@clubdelarazon.org wrote: In general you don't store the password, but a hash of it. Then when the user logs-in, you hash it and compare the result with the stored hash. About hash, use sha, look

Re: How to store passwords?

2009-01-07 Thread James Stroud
Oltmans wrote: I'm writing a program in which I will ask users to enter user name and password once only. It's a console based program that will run on Windows XP. Actually, I'm trying to provide the similar functionality as Remember me thing in browsers. For that, I will need to store user name

Re: How to store passwords?

2009-01-07 Thread James Stroud
James Stroud wrote: Oltmans wrote: I'm writing a program in which I will ask users to enter user name and password once only. It's a console based program that will run on Windows XP. Actually, I'm trying to provide the similar functionality as Remember me thing in browsers. For that, I will

Re: How to store passwords?

2009-01-07 Thread MRAB
Oltmans wrote: On Jan 8, 1:55 am, Sebastian Bassi sba...@clubdelarazon.org wrote: In general you don't store the password, but a hash of it. Then when the user logs-in, you hash it and compare the result with the stored hash. About hash, use sha, look

Re: How to store passwords?

2009-01-07 Thread Martin v. Löwis
I'm writing a program in which I will ask users to enter user name and password once only. It's a console based program that will run on Windows XP. Actually, I'm trying to provide the similar functionality as Remember me thing in browsers. For that, I will need to store user name and

Re: How to store passwords?

2009-01-07 Thread News123
Oltmans wrote: I'm writing a program in which I will ask users to enter user name and password once only. It's a console based program that will run on Windows XP. Actually, I'm trying to provide the similar functionality as Remember me thing in browsers. For that, I will need to store user

Re: How to store passwords?

2009-01-07 Thread James Stroud
James Stroud wrote: If you check out sf.passerby.net and download the source, you will see a passerby.sf.net Shuffle things I did. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to store passwords?

2009-01-07 Thread Rhodri James
On Wed, 07 Jan 2009 21:06:07 -, Oltmans rolf.oltm...@gmail.com wrote: But the thing is that I will ask the user for user name and password only once i.e. when they start the application for the first time. After that, I'm not supposed to ask the user name and password again. So in this