[pass] Concurrency issue with --clip

Jason A. Donenfeld Jason at zx2c4.com
Thu Mar 20 07:49:19 CET 2014


On Sun, Mar 9, 2014 at 10:00 PM, Michael Ren <micron33 at gmail.com> wrote:
> Pass --clip spawns a subshell which sleeps for 45 seconds and then
> restores the previous contents of the clipboard. If another instance of
> pass --clip runs before the previous instance finishes sleeping, the
> second instance will use the clipped password from the first instance as
> the "old" clipboard contents, meaning that the first password will stay
> in the clipboard after both instances are done.

I've fixed this race condition:
<http://git.zx2c4.com/password-store/commit/?id=2c9c36e3ca8eab1a3f9056d18619f80cedf3781d>.
Thanks for the report.


More information about the Password-Store mailing list