Skip to main content

Official CLI for LockedPass — zero-knowledge password manager

Project description

LockedPass CLI

Official command-line interface for LockedPass — a zero-knowledge password manager for teams and AI agents.

All encryption and decryption happens locally on your machine. The server never sees your master password, private key, or any plaintext credential data.

Requirements

  • Python 3.11+
  • A LockedPass account (Pro plan or higher)
  • An active CLI token generated from Settings → API & CLI

Install

pip install lockedpass-cli

Quick start

lp login you@example.com
# Master password: ••••••••  (prompted once, then cached)

lp vault list
lp ls
lp get "GitHub"
lp get "GitHub" --field password

Commands

Command Description
lp login <email> Authenticate — master password required once
lp lock Wipe cached keys (re-prompt on next use)
lp unlock Re-cache keys from master password after lock
lp vault list List all vaults
lp ls List credentials in default vault
lp get <name> Show a credential
lp get <name> --field password Print a single field (scriptable)
lp add Create a credential interactively
lp edit <name> Edit a credential
lp rm <name> Delete a credential
lp otp <name> Generate a live TOTP code
lp generate Generate a random password
lp copy <name> Copy password to clipboard (clears in 30s)
lp status Show session status
lp logout Clear saved session

Non-interactive / AI agent use

The master password can be passed as an argument or environment variable — useful for automation and AI agents:

# Argument
lp login lp.aivault@example.com "$LP_AI_PASSWORD"

# Environment variable
LP_MASTER_PASSWORD="$LP_AI_PASSWORD" lp login lp.aivault@example.com

After login the session is cached — subsequent commands run without any password.

See AGENT.md for the full AI agent setup guide.

Security

  • Argon2id key derivation — only a one-way hash (auth_verifier) is sent to the server
  • X25519 + XSalsa20-Poly1305 (NaCl) for vault key encryption
  • XSalsa20-Poly1305 for credential data encryption
  • Private key and vault keys never leave your machine in plaintext
  • Session cached with a random local key — wiped on lp lock

License

Copyright (c) 2026 Nextcoders LLC. All Rights Reserved. — see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lockedpass_cli-0.1.1.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lockedpass_cli-0.1.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file lockedpass_cli-0.1.1.tar.gz.

File metadata

  • Download URL: lockedpass_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for lockedpass_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b7716db908687cf1077f99aba634c52a2f7b268b9d6280c80212bd28fade45b1
MD5 e3091836ff4d62d55f2bb717ebdf8520
BLAKE2b-256 c161a068ee1903beb09365da8e76d2b9316aaa8652d5b1f96546be0e0f8cc3a8

See more details on using hashes here.

File details

Details for the file lockedpass_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: lockedpass_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for lockedpass_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63cded143b69700f51ea255d06727657ff846a87881fe90824ce4ed812945c04
MD5 8b39a91b83750ffa49b26843915a119b
BLAKE2b-256 69236cd613380371808cb1c91c84658b382f025f3b2ec1962b38917ad7b24ff1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page