News for hackers. Stuff that matters.
Re:Steel – Open-source command-line password manager by mikegerwitz on Monday October 19, 2015 @10:05AM (#10412940)
If you do want to use the primary selection, you can use `xclip -l 1 -quiet`, which will remain in the foreground until a single request is made for its contents (a single paste); it will then quit, and the content will no longer be available.

Not fool-proof, but helps mitigate the risk. If an attacker snoops on the selection, it'll quit before your paste and you'll know that something is wrong.

There are no comments on this comment yet.