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.3.tar.gz (13.9 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.3-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lockedpass_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 13.9 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.3.tar.gz
Algorithm Hash digest
SHA256 d4dace2ae19fe96e1299406853d97da85faef978646f78b95a85d05bc214145c
MD5 21e5faf545151fccfec033791fd59d97
BLAKE2b-256 93f4b0a3c17faa8c5485408086893b49dbcbf36212ba4e89f016018f4c0ffbcf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lockedpass_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8a957fc941183a576d0ce12cf29d8d392b15d35711af3f25fb3d554cdeb74ff6
MD5 e7dfd832c0dbeb5578b02783f7b8f2bf
BLAKE2b-256 8f4cda59e00348cdb38d7fd00727ef3da3b890cc479bf1f81de06be629df6eaf

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