[python-win32] Resetting passwords

2015-01-19 Thread Vernon D. Cole
As an aside to the recent discussion on storing passwords... Is there a way to (re)set Windows passwords using a pre-computed hash? I can use win32net.NetUserSetInfo() to reset a password, if I use the plain text of the password. My goal is to remotely set passwords on an arbitrary group of

Re: [python-win32] Storing Passwords.

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

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 bho...@comcast.net wrote: On 1/19/2015 12:07 AM, Tim Roberts wrote: On Jan 18, 2015, at 12:11 PM, Alp Tunga Özkul alptungaz...@hotmail.com wrote: As far as i know Username + Password =(MD5/SHA) Hash. And it is

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 alptungaz...@hotmail.com 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

[python-win32] Implementing an instance of an external/physical .dll file?

2015-01-19 Thread Jacob Kruger
I have a .dll pulled from following hub: https://github.com/qtnc/UniversalSpeech What's the easiest/simplest way to then implement/instantiate an instance of it working via file path? If possible, and, currently working with python 3.4, on a windows7 64 bit machine, FWIW. Stay well Jacob

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] Implementing an instance of an external/physical .dll file?

2015-01-19 Thread Tim Roberts
Jacob Kruger wrote: I have a .dll pulled from following hub: https://github.com/qtnc/UniversalSpeech What's the easiest/simplest way to then implement/instantiate an instance of it working via file path? If possible, and, currently working with python 3.4, on a windows7 64 bit machine,

Re: [python-win32] Implementing an instance of an external/physical .dll file?

2015-01-19 Thread Jacob Kruger
- Original Message - You can use the ctypes module to access virtually any arbitrary DLL. That's what they mean when they talk about an FFI library. There's a learning curve, but essentially anything is possible. Ok, both of the following code snippets execute without any

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