novault icon indicating copy to clipboard operation
novault copied to clipboard

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

Open magnetophon opened this issue 5 years ago • 1 comments

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.

magnetophon avatar Apr 23 '19 18:04 magnetophon

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

vitiral avatar Apr 23 '19 22:04 vitiral