Re: [python-win32] Storing Passwords.

2015-01-20 Thread Tim Roberts
On Jan 19, 2015, at 12:51 PM, Greg Ewing wrote: > > The same problem arises. If the program can get the password > out of the keyring, then so can any user who is capable of > running the program. ... > > Keyrings allow a user to keep his or her passwords secret > from *other* users. The OP seem

Re: [python-win32] Storing Passwords.

2015-01-19 Thread Greg Ewing
Bob Hood wrote: I'm probably missing some crucial point here, but with Python being the host environment, why wouldn't the Python "keyring" module provide the hardened storage the OP is seeking? The same problem arises. If the program can get the password out of the keyring, then so can any us

Re: [python-win32] Storing Passwords.

2015-01-19 Thread R Schumacher
At 07:20 AM 1/19/2015, Bob Hood wrote: On 1/19/2015 7:48 AM, Paul Koning wrote: > The advantage of text files is that it makes it clear that the storage is NOT secure. The drawback of other schemes is that they may also be insecure, but give the user an illusion of security. For example, if

Re: [python-win32] Storing Passwords.

2015-01-19 Thread Bob Hood
On 1/19/2015 7:48 AM, Paul Koning wrote: >> On Jan 19, 2015, at 7:27 AM, Bob Hood wrote: >> >> On 1/19/2015 12:07 AM, Tim Roberts wrote: >>> On Jan 18, 2015, at 12:11 PM, Alp Tunga Özkul >>> wrote: As far as i know Username + Password =(MD5/SHA) Hash. And it is irreversible. I need th

Re: [python-win32] Storing Passwords.

2015-01-19 Thread Paul Koning
> On Jan 19, 2015, at 7:27 AM, Bob Hood wrote: > > On 1/19/2015 12:07 AM, Tim Roberts wrote: >> On Jan 18, 2015, at 12:11 PM, Alp Tunga Özkul >> wrote: >>> >>> As far as i know Username + Password =(MD5/SHA) Hash. And it is >>> irreversible. I need the actual Username and Password to login t

Re: [python-win32] Storing Passwords.

2015-01-19 Thread Bob Hood
On 1/19/2015 12:07 AM, Tim Roberts wrote: > On Jan 18, 2015, at 12:11 PM, Alp Tunga Özkul > wrote: >> >> As far as i know Username + Password =(MD5/SHA) Hash. And it is >> irreversible. I need the actual Username and Password to login to Servers >> (WMI). >> >> Bec

Re: [python-win32] Storing Passwords.

2015-01-18 Thread Tim Roberts
On Jan 18, 2015, at 12:11 PM, Alp Tunga Özkul mailto:alptungaz...@hotmail.com>> wrote: As far as i know Username + Password =(MD5/SHA) Hash. And it is irreversible. I need the actual Username and Password to login to Servers (WMI). Because lets say there is 10 different servers with 10 differen

Re: [python-win32] Storing Passwords.

2015-01-18 Thread Alp Tunga Özkul
credentials for the next session. Date: Sun, 18 Jan 2015 11:41:33 -0800 Subject: Re: [python-win32] Storing Passwords. From: calderon.christian...@gmail.com To: alptungaz...@hotmail.com CC: j...@jossgray.net; python-win32@python.org Why don't you just store the hash of the password? On S

Re: [python-win32] Storing Passwords.

2015-01-18 Thread Christian Calderon
Why don't you just store the hash of the password? On Sunday, January 18, 2015, Alp Tunga Özkul wrote: > It does not the matter of extension, the point is users shouldn't be able > to access the previously entered passwords. > > For instance if encrypting is the answer, which libraries does peop

Re: [python-win32] Storing Passwords.

2015-01-18 Thread Joss Gray
Why don't you want to use a text file? On 18 Jan 2015 18:11, "Alp Tunga Özkul" wrote: > Hello, > > I am working on a project where my program need to access the servers with > the passwords i store in a text file. > > Is there a neat way of storing passwords other than text files? Users will > ne

Re: [python-win32] Storing Passwords.

2015-01-18 Thread Alp Tunga Özkul
It does not the matter of extension, the point is users shouldn't be able to access the previously entered passwords. For instance if encrypting is the answer, which libraries does people generally use. Date: Sun, 18 Jan 2015 18:16:08 + Subject: Re: [python-win32] Storing Passwords.

[python-win32] Storing Passwords.

2015-01-18 Thread Alp Tunga Özkul
Hello, I am working on a project where my program need to access the servers with the passwords i store in a text file. Is there a neat way of storing passwords other than text files? Users will never need to recover their passwords but the program itself have to. Thanks in advance!