[pass] xdotool dmenu

Brian Mattern brian.mattern at gmail.com
Sun Jun 29 09:42:12 CEST 2014


Sorry, I was referring to the "echo $selected_password" line that doesn't
seem to serve a purpose (though, not as harmful as it first seemed given
the variable name).


On Fri, Jun 27, 2014 at 2:41 PM, Christoph Egger <
christoph at christoph-egger.org> wrote:

> Hi!
>
> Brian Mattern <brian.mattern at gmail.com> writes:
> > Is the echo necessary?
>
> Well, dmenu reads from stdin so you need to echo into it (or do some
> `ls | sed` which forks) [0]. For xdotool you could get around by doing a
> `xdotool type "$(pass $passentry)"` but then everyone able to run `ps`
> or anything similar on your system can read xdotool's comandline
> parameters so the `echo -n "type " ; pass` is the "safe" solution.
>
>   Christoph
>
> [0] http://git.zx2c4.com/password-store/tree/contrib/dmenu/passmenu
>     uses `printf` but does that part basically the same way
> --
> 9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
> Debian Developer | Lisp Hacker | CaCert Assurer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20140629/08ea06c8/attachment-0001.html>


More information about the Password-Store mailing list