Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds an argument to prompt for the [SITE] and [LOGIN] arguments #364

Merged
merged 9 commits into from
Dec 18, 2018
Merged

Conversation

schlomie
Copy link
Contributor

For added security, this PR provides a [-p --prompt] argument which then allows a user to enter both the SITE and LOGIN arguments in the same manner they could enter the MASTER PASSWORD - without revealing their values in a terminal buffer, or recording them in bash history.

Usage:

$ lesspass -p -L 25
Site: 
Login: 
Master Password: 
ybnAY]&S?Vx\8L,96u!_?,;>J

cli/tests/test_cli.py Outdated Show resolved Hide resolved
cli/lesspass/validator.py Show resolved Hide resolved
cli/lesspass/help.py Outdated Show resolved Hide resolved
cli/lesspass/cli.py Outdated Show resolved Hide resolved
cli/lesspass/core.py Outdated Show resolved Hide resolved
edouard-lopez and others added 7 commits December 17, 2018 12:32
Co-Authored-By: schlomie <1683217+schlomie@users.noreply.github.com>
Co-Authored-By: schlomie <1683217+schlomie@users.noreply.github.com>
Co-Authored-By: schlomie <1683217+schlomie@users.noreply.github.com>
@guillaumevincent guillaumevincent merged commit 9f77256 into lesspass:master Dec 18, 2018
@guillaumevincent
Copy link
Member

Thank you @schlomie
LessPass cli 6.1.0 is updated with your code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants