Skip to main content

lpacli

lpacli is a tiny CLI helper to get LessPass paswords configuration directly from a LessPass server.

Install

  1. Install python3 (in Debian apt-get install python3).
  2. Install virtualenv (in Debian apt-get install virtualenv).
  3. Configure a Python 3 virtualenv and install lpacli whith setup.py.
virtualenv -p python3 lpaclienv
source lpaclienv/bin/activate
python setup.py install

Once the installation ends you must have lpacli command.

For enter again in your virtualenv simply run source command.

source lpaclienv/bin/activate

Usage

In first time use you must configure the following evironment variables.

Variable Used for
LESSPASS_HOST URL of API server (ex. https://lesspass.com)
LESSPASS_USER Username (ex. user@example.com)
LESSPASS_PASS Password

Now you can run lpacli ls to get a list of sites stored in server.

After first run, lpacli stores the login token in your XDG_CACHE_HOME directory, you can run commands with only LESSPASS_HOST environment variable.

For get LessPass configuration of a site run lpacli SITENAME being sitename one of the list given in lpacli ls command.

If you set LESSPASS_MASTERPASS environment variable with your LessPass master password, lpacli returns the password of site instead of site configuration.

Metadata

Release files for lpacli 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lpacli 0.3.0
File Size Uploaded Provenance Actions
lpacli-0.3.0.tar.gz 18.2 kB Without provenance Details for lpacli-0.3.0.tar.gz

Release files / lpacli-0.3.0.tar.gz

Download URL lpacli-0.3.0.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
552110def8e8c726819cc778c967989a18788862b7045f371cdbef50147f30b9
BLAKE2b-256 checksum
How to use checksums
968450a8a8612847c5c4a2f7f75a450ded8cb2d2e92d3437820e6518ae5f3b3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Security for lpacli 0.3.0

Provenance

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.

No provenance found

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page