Erasing strings from memory?

Paul Swartz <[email protected]>
Newsgroups gmane.comp.python.cryptography
Message-ID <3DCE4D71.3235.6BA6F5@localhost>
I'm working on a SSH client/server for Twisted,
and some of the things the client needs to work
with are passwords both for login and for private
keys, and then the decrypted keys.  Obviously,
storing these in memory leads to the possibility
of acessing them and thereby compromising the
user.  Is there a way to overwrite the data, or
otherwise erase it from memory?

-p
--
     Paul Swartz
(o_  http://twistedmatrix.com/users/z3p.twistd/
//\  [email protected]
V_/_ AIM: Z3Penguin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.