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

Ignore any ok in lock file until a get command has been issued #13

Open
magnetophon opened this issue Apr 23, 2019 · 1 comment
Open

Comments

@magnetophon
Copy link

When you run

echo "ok" >> "/home/user/.local/novault.lock"

and then some time later run

novault get [email protected]

the PW gets typed right away.

IMHO the ok should not be written to the lock file until a get request is issued.
Or maybe the get request should clear the lock file right after it's ran, and wait for a new ok before typing the PW.

@vitiral
Copy link
Owner

vitiral commented Apr 23, 2019

Yes... it should probably clear the lock file first. Good point.

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

No branches or pull requests

2 participants