Skip to main content

A command-line client for LastPass Authenticator.

Project description

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

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

lpass-auth-1.0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

lpass_auth-1.0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file lpass-auth-1.0.1.tar.gz.

File metadata

  • Download URL: lpass-auth-1.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.8.10 Linux/5.4.0-91-generic

File hashes

Hashes for lpass-auth-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b29a5b189dc53cee2492782cc6fe8de1eefffa7c746590002fed23915e873a66
MD5 d0c5e8ef9abeef61a553f518928b9deb
BLAKE2b-256 85d79ffa2e1d9ca3d8354f6c029cf1238c13006cbc2b0ffa1d565989669db5c1

See more details on using hashes here.

File details

Details for the file lpass_auth-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: lpass_auth-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.8.10 Linux/5.4.0-91-generic

File hashes

Hashes for lpass_auth-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9999c69381ec2dd7b45c708f9890fae1711165684c1dc150a77f4bd79f6aec3f
MD5 14516139259e0ddc9e9054de7bb4113b
BLAKE2b-256 1a7125e31095f0498abf1b3037119474521541e1db13430bc7b5c20d755a1a96

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page