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
- error handling
- dump/export passwords a la lastpass-authenticator-export
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b29a5b189dc53cee2492782cc6fe8de1eefffa7c746590002fed23915e873a66 |
|
MD5 | d0c5e8ef9abeef61a553f518928b9deb |
|
BLAKE2b-256 | 85d79ffa2e1d9ca3d8354f6c029cf1238c13006cbc2b0ffa1d565989669db5c1 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9999c69381ec2dd7b45c708f9890fae1711165684c1dc150a77f4bd79f6aec3f |
|
MD5 | 14516139259e0ddc9e9054de7bb4113b |
|
BLAKE2b-256 | 1a7125e31095f0498abf1b3037119474521541e1db13430bc7b5c20d755a1a96 |