On Thu, Mar 20, 2014 at 4:46 AM, Brian Shore <[email protected]> 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.
_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to