-
Notifications
You must be signed in to change notification settings - Fork 32
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
Password should be cleared from clipboard after time threshold #13
Comments
Problem is this is very OS-specific. In lastpass-cli, I 'solved' it by specifying an alias for lpass copy | xsel -bc |
You mean the solution to clear the clipboard is OS-specific? Maybe you don't have to run a command specific to clearing the clipboard, just run |
That would involve forking into a new process that calls a timer and clears the clipboard. e.g. in pseudocode;
|
Welp, I've moved on to pass, so I don't really use this software anymore :/ |
For linux/bash I'm achieving this in a wrapper function by trapping an xclip on
adapt the xclip command if you prefer xsel or a different X selection. |
Similarly to how the desktop GUI handles it, when copying the password from the Enpass wallet, the CLI should clear the password from the clipboard after, say, 30 seconds so the password does not remain in the user's clipboard. I keep having to run
xsel -bc
after copying my passwords and it would be nice if the CLI could handle this. Maybe the process could fork to the background and set the clipboard to a space or null character then terminate.The text was updated successfully, but these errors were encountered: