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
lpass-auth-1.0.1.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for lpass_auth-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9999c69381ec2dd7b45c708f9890fae1711165684c1dc150a77f4bd79f6aec3f |
|
MD5 | 14516139259e0ddc9e9054de7bb4113b |
|
BLAKE2b-256 | 1a7125e31095f0498abf1b3037119474521541e1db13430bc7b5c20d755a1a96 |