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:
- 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.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for lpass_auth-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58d016e97a1e89b1402ce51f0a821acb093cf1130bfdf599f8e646903a5ea9f9 |
|
MD5 | e98472e0629e5e6300f28cd362e41ff9 |
|
BLAKE2b-256 | a74a95299b28c59defb0baaaf91e2d011b51cf5387bbe82926a555acba3ad820 |