Skip to main content Switch to mobile version jupyterlab-passkey-extension 1.2.0 JupyterLab extension that gives the terminal, scripts, CLIs and AI agents on the Jupyter server the passkeys of the user's browser or operating system, moves secrets between the browser and local processes without printing them, and keeps a password vault that a passkey unlocks
pip install jupyterlab-passkey-extension==1.2.0 Copy PIP instructions
A passkey bridge for JupyterLab that exposes the passkey (WebAuthn) capability of the user's browser or operating system to local clients with no browser of their own and returns the browser-side ceremony result to the requesting local process.
Purpose - the bridge commands perform no cryptography, each caller supplies its parameters, and a tool that needs a WebAuthn PRF value keeps all key handling to itself
Scope - the CLI (jupyterlab-passkey, installed with the package) sends every request over an authenticated HTTP API, and the password vault is the one part that encrypts and stores secrets
Passkeys - create registers and get asserts Windows Hello, Touch ID or a security key from a process with no browser
Approval - the user approves the ceremony in the open tab, and the call blocks until the result returns
PRF - get --prf-salt returns the same 32 bytes for the same credential and salt, so a vault can derive its key and store none
passphrase - asks once in the browser, with an optional "Type it twice" confirm, and prints only a reference to the staged value (keyctl:... or file:...)
No terminal copy - the value never appears in the terminal, the shell history, a process argument or the CLI
copy - places a value on the clipboard through a one-shot relay
show - renders a code as a distorted image absent from the DOM text and the accessibility tree
Vault on demand - a vault command that finds no vault offers to create one at a terminal, and vault get unlocks a locked vault in the same call
Git credentials - git-credential-jupyterlab-passkey answers git's credential request from the vault; vault git install and vault git uninstall set or remove it, and vault git migrate imports git's plaintext store
passphrase and copy let an AI agent handle a secret without printing it.
Secret entry - passphrase --prompt "..." gives an agent a reference, never a secret
Pipe - pass-cli can send bytes into copy without printing them
Help and skill - --help says what each subcommand prints and whether it waits, and SKILL.md adds the rules it cannot state
Why link - the wheel installs the skill at /share/jupyter/agents/skills/jupyterlab-passkey-extension/SKILL.md, and no agent reads that directory, so one of the two links below makes it readable
mkdir -p ~/.agents/skills && ln -sfn "$(python -c 'import sys; print(sys.prefix)')/share/jupyter/agents/skills/jupyterlab-passkey-extension" ~/.agents/skills/jupyterlab-passkey-extension ln -sfn "$PWD/.agents/skills/jupyterlab-passkey-extension" ~/.claude/skills/jupyterlab-passkey-extension How it works
A browser page can send data only over HTTP, so the ceremony result returns through an authenticated endpoint that writes a relay - a keyctl key or an atomic 0600 file - the local client reads.
Ceremony - the browser sends the ceremony result to the local client
copy - the local client sends a secret to the browser, and the notification contains only a nonce (see Security)
flowchart LR subgraph BROWSER["Browser - JupyterLab page"] direction TB TRIG["consumer triggers
passkey:run"] CER["navigator.credentials
get / create"] OS(["OS / authenticator
Windows Hello, security key"]) TRIG --> CER CER OS end subgraph SERVER["Jupyter server"] direction TB EP["POST /result
authenticated"] RELAY[("relay
keyctl key or 0600 file")] EP --> RELAY end LOCAL["local client
terminal / CLI / API"] CER -->|"POST JSON result"| EP RELAY -->|"reads, then deletes"| LOCAL style BROWSER stroke:#6b7280,stroke-width:3px style SERVER stroke:#6b7280,stroke-width:3px style TRIG stroke:#f59e0b,stroke-width:2px style CER stroke:#10b981,stroke-width:2px style OS stroke:#0284c7,stroke-width:2px style EP stroke:#10b981,stroke-width:2px style RELAY stroke:#3b82f6,stroke-width:2px style LOCAL stroke:#10b981,stroke-width:2px flowchart LR LOCAL2["local client
CLI / agent"] subgraph SERVER2["Jupyter server"] direction TB ING["notifications ingest
separate extension"] RELAY2[("relay
keyctl key or 0600 file")] EP2["POST /secret
authenticated"] RELAY2 -->|"reads, then unlinks"| EP2 end subgraph BROWSER2["Browser - JupyterLab page"] direction TB BTN["notification button
passkey:copy"] CLIP(["user's clipboard"]) BTN --> CLIP end LOCAL2 -->|"stages the secret"| RELAY2 LOCAL2 -->|"posts the nonce only"| ING ING -.->|"sends to the page"| BTN BTN -->|"collects, once"| EP2 EP2 -->|"the value"| BTN style BROWSER2 stroke:#6b7280,stroke-width:3px style SERVER2 stroke:#6b7280,stroke-width:3px style LOCAL2 stroke:#10b981,stroke-width:2px style ING stroke:#f59e0b,stroke-width:2px style RELAY2 stroke:#3b82f6,stroke-width:2px style EP2 stroke:#10b981,stroke-width:2px style BTN stroke:#f59e0b,stroke-width:2px style CLIP stroke:#0284c7,stroke-width:2px Install
jupyterlab-passkey is installed with the package and posts the notification with the request, waits for your click, and prints the result.
Caller - every notification starts with Asked by :, set with --caller NAME on any subcommand or JLAB_PASSKEY_CALLER from Python
Caller default - without a name the caller is the project directory, which tells the person who clicks which project asks and proves nothing
Server - the CLI posts only to the Jupyter server its environment names, and stops when it cannot identify which running server is the lab (flags: cli-reference.md)
Exit status - 0 succeeded, 1 refused, timed out or could not reach the server, 2 an argument the parser rejects
Stdout - only the result goes to stdout, so $(...) captures only the result
copy - returns once posted, --block waits for collection only, and a terminal stdin is refused
show - reports nothing back
cred_id=$(jupyterlab-passkey create --rp-id lab.example.com) salt=$(head -c32 /dev/urandom | base64 | tr '+/' '-_' | tr -d '=') prf=$(jupyterlab-passkey get --rp-id lab.example.com --cred-id "$cred_id" --prf-salt "$salt") pass-cli get github/api --field password --quiet --no-clipboard \ | jupyterlab-passkey copy --label "GitHub token" Documentation
The vault, its panel and configuration, the server API, the frontend commands and the security notes are in docs/usage.md.
Server and gesture - JupyterLab >= 4.6.0 over HTTPS or localhost (a secure context), and an open tab supplies the gesture
Hostname - a passkey belongs to a hostname, never an IP
Dependencies - the notifications extension is installed with the package
Passkeys - create and get need a passkey, while passphrase, copy and show need none
GnuPG - the vault needs it (apt install gnupg) so gpg-agent can hold the unlocked key where the kernel keyring is not allowed
Without GnuPG - the vault still works with the key in server memory and reports this
pip uninstall jupyterlab_passkey_extension License
BSD-3-Clause; see LICENSE.
BSD-3-Clause View SPDX License List
jupyter jupyterlab jupyterlab-extension
Jupyter :: JupyterLab :: 4
Jupyter :: JupyterLab :: Extensions
Jupyter :: JupyterLab :: Extensions :: Prebuilt
Programming Language Python
Release files for jupyterlab-passkey-extension 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 1.2 MB
Release files / jupyterlab_passkey_extension-1.2.0.tar.gz
Security for jupyterlab-passkey-extension 1.2.0
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 23, 2026 2 release files No provenance
Nov 22, 2026 2 release files No provenance
Nov 18, 2026 2 release files No provenance
Nov 5, 2026 2 release files No provenance
Nov 4, 2026 2 release files No provenance
Nov 2, 2026 2 release files No provenance
Oct 31, 2026 2 release files No provenance
Oct 26, 2026 2 release files No provenance
Oct 25, 2026 2 release files No provenance
Oct 23, 2026 2 release files No provenance
Oct 22, 2026 2 release files No provenance
Oct 21, 2026 2 release files No provenance
Oct 20, 2026 2 release files No provenance
Oct 19, 2026 2 release files No provenance
Oct 4, 2026 2 release files No provenance
Oct 3, 2026 2 release files No provenance
Oct 2, 2026 2 release files No provenance
Sep 30, 2026 2 release files No provenance
Sep 29, 2026 2 release files No provenance
Sep 28, 2026 2 release files No provenance
Aug 4, 2026 2 release files No provenance
Jul 24, 2026 2 release files No provenance
Jul 23, 2026 2 release files No provenance
Jul 20, 2026 2 release files No provenance
Jul 19, 2026 2 release files No provenance
Jul 17, 2026 2 release files No provenance
Jul 16, 2026 2 release files No provenance
Jul 15, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




