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.2.tar.gz (13.8 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.2-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lockedpass_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 13.8 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.2.tar.gz
Algorithm Hash digest
SHA256 45bbab3e4643f49083c1c14a997f65a8bd1596e1ce1bac6adb8f6163fc70a6e3
MD5 9e041186a65279c2e6ebf87906ebe6ba
BLAKE2b-256 b5f8beb6008398959c83481b3523bf1a1a105c7776a2bf6c4c389730531020b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lockedpass_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 edfcc576bd867d9755cf5e3fd4adf767e932efb22614d8a63d4e5f5540f6977f
MD5 a68a2231f8287d66c8b2a57c40ebd2fe
BLAKE2b-256 715dcab1b108078d25d351f741b5cc354635c0340544a7acf34071e7e6519e21

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