[pass] [PATCH v2] Team pass: enable multiple keys and per directory

Jason A. Donenfeld Jason at zx2c4.com
Thu Mar 20 18:13:01 CET 2014


On Thu, Mar 20, 2014 at 4:46 AM, Brian Shore <brian at networkredux.com> wrote:
> What happens if the user copies something else to the clipboard a few
> seconds before pass blanks it?  Copying something non-sensitive and
> having that data mysteriously disappear from the clipboard is
> counter-intuitive and gets in the way.
>
> I think checking the clipboard content before blanking is still a good
> thing to do.  Blanking if it's still the password is fine, but
> destroying new data is not.

>From the beginning, pass has accounted for this. Before restoring the
clipboard, we check whether it's changed since copying the password.
If it has changed, we consider the "old contents" to be the "current
contents". Check out the code. It works.


More information about the Password-Store mailing list