From 02846c2b490a2b999a8263ee39d0328d0ceab6e6 Mon Sep 17 00:00:00 2001 From: irvcaza Date: Tue, 28 Jun 2022 23:00:31 -0500 Subject: [PATCH] Update passwd function The use of `IPython.lib.passwd()` does not match with Jupyter server documentation https://jupyter-server.readthedocs.io/en/latest/operators/public-server.html#preparing-a-hashed-password and may lead to confusion on how to import/use it. --- docs/using/common.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/using/common.md b/docs/using/common.md index a8ba11dd..1fc9913d 100644 --- a/docs/using/common.md +++ b/docs/using/common.md @@ -10,7 +10,7 @@ This page describes the options supported by the startup script and how to bypas You can pass [Jupyter server options](https://jupyter-server.readthedocs.io/en/latest/operators/public-server.html) to the `start-notebook.sh` script when launching the container. -1. For example, to secure the Notebook server with a custom password hashed using `IPython.lib.passwd()` instead of the default token, +1. For example, to secure the Notebook server with a [custom password](https://jupyter-server.readthedocs.io/en/latest/operators/public-server.html#preparing-a-hashed-password) hashed using `notebook.auth.security.passwd()` instead of the default token, you can run the following (this hash was generated for `my-password` password): ```bash