Skip to main content

lpass-auth

A LastPass Authenticator client written in Python heavily inspired by lastpass-cli and based on code by Donny Maasland.

Installation

Git

git clone https://github.com/supersonichub1/lpass-auth
cd lpass-auth
poetry install

pip

pip install -U lpass-auth

Help

Run lpass-auth --help for the most up-to-date information.

show --format

The show subcommand allows for the customization of the command's output through the --format option, a la lpass show --format. Instead of using printf-like formatting, lpass-auth instead uses Python's format string syntax, which I believe is much more intuitive and user friendly.

The format string supplies the following values:

  • password
  • accountID
  • digits
  • issuerName
  • lmiUserId
  • originaIssuerName
  • originalUserName
  • pushNotification
  • secret
  • timeStep
  • userName

For example:

lpass-auth show --issuer LastPass \
--format "{accountID} ({login}): {password}"
LastPass (example@example.com): 690420

Caveots

  • only supports no authentication or TOTP authentication; sorry Yubikey users!
  • cannot add or remove passwords due to lack of API knowledge

TODO

Metadata

Release files for lpass-auth 1.0.1

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

Source distribution (sdist)

Source distribution for lpass-auth 1.0.1
File Size Uploaded Provenance Actions
lpass-auth-1.0.1.tar.gz 4.7 kB Without provenance Details for lpass-auth-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lpass-auth 1.0.1
File Interpreter ABI Platform Actions
lpass_auth-1.0.1-py3-none-any.whl Python 3 none any Details for lpass_auth-1.0.1-py3-none-any.whl

Total release size: 9.9 kB

Release files / lpass-auth-1.0.1.tar.gz

Download URL lpass-auth-1.0.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b29a5b189dc53cee2492782cc6fe8de1eefffa7c746590002fed23915e873a66
BLAKE2b-256 checksum
How to use checksums
85d79ffa2e1d9ca3d8354f6c029cf1238c13006cbc2b0ffa1d565989669db5c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.10 Linux/5.4.0-91-generic

Release files / lpass_auth-1.0.1-py3-none-any.whl

Download URL lpass_auth-1.0.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9999c69381ec2dd7b45c708f9890fae1711165684c1dc150a77f4bd79f6aec3f
BLAKE2b-256 checksum
How to use checksums
1a7125e31095f0498abf1b3037119474521541e1db13430bc7b5c20d755a1a96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.10 Linux/5.4.0-91-generic

Security for lpass-auth 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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