Storing Passwords

Wojtek Walczak gminick at bzt.bzt
Wed Aug 20 06:58:23 EDT 2008


On Tue, 19 Aug 2008 21:44:04 -0400, Eric Wertman wrote:
> I've a number of scripts set up that require a username/password
> combination to log in elsewhere.  It's gotten to the point where I
> need to keep them in a more secure location, instead of just in the
> scripts themselves.  I did a bit of searching, and haven't come up
> with a great way to store passwords using 2-way encryption (I have to
> send them as plain text).  Has anyone seen anything that fits this
> need?  I whipped up something using base64 and pickle, to keep them in
> a dictionary and at least prevent them from being plain text, but it
> seems a bit insecure all the same.   Any ideas, much appreciated.

Have you checked pyDes?

http://sourceforge.net/projects/pydes/

or

http://www.example-code.com/python/crypt2_3desTestVector.asp

there is a link to a library called chilkat and it looks like
this library provides some 3des functionality. 

HTH.

-- 
Regards,
Wojtek Walczak,
http://tosh.pl/gminick/



More information about the Python-list mailing list