Skip to content

A containerized utility for hashing Jupyter notebook passwords

Notifications You must be signed in to change notification settings

dddlab/jupyter-passwd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jupyter Notebook Password Hashing Utility

Publish Docker image

When running Jupyter notebook server, a hashed password can be provided to secure the notebook server: https://jupyter-docker-stacks.readthedocs.io/en/latest/using/common.html#notebook-options.

This Docker container image will create a hashed password on a system without Jupyter notebook installed (e.g. a fresh VM instance).

Command line input

If hashing a password to manually paste into a script, execute hash-password.sh script from the command line.

curl https://raw.githubusercontent.com/dddlab/jupyter-passwd/main/hash-password.sh \
    -o hash-password.sh && \
    chmod +x hash-password.sh && \
    ./hash-password.sh

Environment Variable Usage

If hashing a password in a shell script that will assign the hashed password to an environment variable, execute using a line similar to the following:

curl https://raw.githubusercontent.com/dddlab/jupyter-passwd/main/hash-password.sh \
    -o hash-password.sh
PASSWD=$(./hash-password)

About

A containerized utility for hashing Jupyter notebook passwords

Topics

Resources

Stars

Watchers

Forks