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.0.tar.gz (13.4 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.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lockedpass_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 13.4 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.0.tar.gz
Algorithm Hash digest
SHA256 5dc5bd29b16d0903234ab45d0f5be9a3bf64822428a7c74c4cae074ed0dd6fba
MD5 d5be369b2b28e01c20bad5af1f385d1a
BLAKE2b-256 f87cfb28624200ebb0e6c51c2d0ddb2cd9b739ca78608a497a3266c6f69ba247

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lockedpass_cli-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1092405be892873b48986a53ed4cc596447c527f2340b758ca0a15ff4f81cd9
MD5 b9439ce85df9f1c9c10838ed837f64db
BLAKE2b-256 0cdbaf36e29869dd63d17d1ecde8be5995256c6501acb54f186467c3bd1e7530

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