[IPython-dev] Heads-up: no more plaintext passwords in the notebook
Fri Nov 18 22:23:00 CST 2011
for those of you running a publicly-facing notebook server with a
password, we've just merged this:
Once you pull from master, you'll need to update the password in the
config file, as plaintext passwords are simply not supported anymore.
You can create the salted password in a python session with:
from IPython.lib import passwd
Do NOT do this in an ipython session, as it will log the plaintext to
You can call passwd() without without arguments and it will prompt you
for a password using the getpass module so it's not echoed back onto
your screen. This will ensure that the plaintext password is never
visible nor logged.
In : from IPython.lib.security import passwd; passwd()
or from the shell:
longs[graphs]> python -c "from IPython.lib import passwd;print passwd()"
You can then replace your current plaintext passwords with this whole string.
More information about the IPython-dev