jupyterhub / jupyterhub/firstuseauthenticator

Support of hashed passwords when installing tljh

Open
#34 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
50
Forks
31
PR merge metrics
No merged PRs in 30d

Description

### Proposed change

Hi guys, it will be great to add support of hashed passwords in firstuseauthenticator. It will greatly helps in tljh installation automation process when you need to create jupyterhub with bunch of predefined users and passwords and also this feature will not compromise passwords when you store them in install process.

So for example for password _test_ hashed with sha512sum tljh install will look

```
curl -L https://tljh.jupyter.org/bootstrap.py | python3 - \
--admin admin:ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how firstuseauthenticator handles password creation and how the tljh install command parses the --admin value. Confirm the expected hash format and authentication behavior, then add coverage showing that hashed passwords are accepted without requiring plaintext passwords.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.