[IPython-dev] Reading a password securely in a Notebook

Matthias Bussonnier bussonniermatthias at gmail.com
Tue Sep 2 08:02:38 EDT 2014


Le 2 sept. 2014 à 04:43, Clare Sloggett <claresloggett at gmail.com> a écrit :

> Hi all,
> 
> I am wondering if there's a way to read a string into a variable in a notebook without recording it in the input or output of the cell. I tried using getpass, but it hangs, presumably not passing the input request to the front-end. raw_input() works in pretty much the way I'd like, but of course records the input. IPython.lib.passwd similarly doesn't work (and in any case I need the password as a raw, unencrypted string in this case).
> 
> I found this issue: https://github.com/ipython/ipython/issues/854 which seems to imply that getpass support has been implemented but won't be included until IPython 3.0 . Is that right? Are there other alternatives? 

Yes, 
is  currently work on master. 
—
M


> 
> Thanks for any help!
> 
> Clare
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140902/716b16c9/attachment.html>


More information about the IPython-dev mailing list