<div dir="ltr">Hi all,<div><br></div><div>I've added a command line flag to "pass show" so that a password may be automatically typed out using xdotool after a specified delay. The motivation for this is that the clipboard can be easily accessed, even without any administrator privileges, and typing out a password by hand is tedious. Client side web applications may also view clipboard contents, whereas a keylogger requires elevated privileges and is more difficult for an attacker to install on a your machine.</div><div><br></div><div>I've also ensured that the password doesn't appear in the output of a well timed "ps".</div><div><br></div><div>This adds the optional dependency of "xdotool", should one want to use this feature.</div><div><br></div><div>The flag may be used like so:</div><div><br></div><div>"pass show --type=5 email/gmail"</div><div><br></div><div>or</div><div><br></div><div>"pass show -t5 email/gmail".</div><div><br></div><div>If no argument is specified, the default delay of 3 seconds is used. The default may be changed using the PASSWORD_STORE_TYPE_DELAY environment variable. The delay may be anything "sleep" understands.</div><div><br></div><div>If there are any bugs or issues with this patch, please let me know.</div><div><br></div><div>Anas</div></div>