<div dir="ltr">My $0.02 after reading all of this is that clearing the clipboard instead of restoring it makes the most sense.<div><br></div><div>Having some sort of lock file so that if you quickly (<45 sec apart) run 'pass -c' multiple times, only the last invocation clears the clipboard might make sense or might be harder than it is worth.</div>

<div><br></div><div>Von</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 4:32 PM, Philip Chase <span dir="ltr"><<a href="mailto:philipbchase@gmail.com" target="_blank">philipbchase@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The more I think about the clipboard restore feature the less useful it seems.  <div><br></div><div>I get my old clipboard back, but not until 45-ish seconds after I use the password.  What value on the clipboard is worth waiting 45-ish seconds for?  If you need it you need it you probably don't want to wait 45 seconds to get it back.  Wouldn't you just go copy that value again?  </div>


<div><br></div><div>I just don't see the use case for the password restore.  I'd rather not have the security liability.</div><div><br></div><div>Philip</div></div><div class="gmail_extra"><div><div class="h5"><br>

<br><div class="gmail_quote">
On Tue, Mar 11, 2014 at 9:41 AM, Jonas Wagner <span dir="ltr"><<a href="mailto:j.b.w@gmx.ch" target="_blank">j.b.w@gmx.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr">Hi,<div><br></div><div>I think clearing the clipboard is a good idea. I would prefer one of the following options to the proposed --Clip, though:</div><div><br></div><div>1) simply replace the current --clip to clear the password instead of restoring them. Frankly, we do not need two command line flags that do almost the same.</div>




<div><br></div><div>2) If some more backward compatibility is desired, the new pass process (let's call it B) should detect an existing pass process (A) waiting to clear the clipboard. B could then send A a custom signal or so, causing it to reset the time limit to 45 seconds from now. B then terminates, and A resets the clipboard to the original value after 45 seconds.</div>




<div><br></div><div>Option (1) is simpler, option (2) would be what I expect. Do people think it's worth the complexity?</div><div><br></div><div>Cheers,</div><div>Jonas</div></div><div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">

On Mon, Mar 10, 2014 at 4:28 PM, Stephen Blott <span dir="ltr"><<a href="mailto:smblott@gmail.com" target="_blank">smblott@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>On Mon, Mar 10, 2014 at 09:06:11AM -0400, Philip Chase wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That seems completely reasonable.  I have never encountered another<br>
application that reverted the clipboard to a previous value, so I never<br>
expected pass to do it.<br>
</blockquote></div>
---end quoted text---<br>
<br>
I rattled up a version of pass with "-C" and "--Clip" options (note capitals), the same as "-c" and "--clip", except that the clipboard is not cleared.<br>
<br>
Any interest?<br>
<br>
How does one submit PRs or patches to this project?<br>
<br>
Steve<div><div><br>
______________________________<u></u>_________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
<a href="http://lists.zx2c4.com/mailman/listinfo/password-store" target="_blank">http://lists.zx2c4.com/<u></u>mailman/listinfo/password-<u></u>store</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
<a href="http://lists.zx2c4.com/mailman/listinfo/password-store" target="_blank">http://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Philip Chase * <a href="tel:352-575-0705" value="+13525750705" target="_blank">352-575-0705</a> * Gainesville, FL
</font></span></div>
<br>_______________________________________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com">Password-Store@lists.zx2c4.com</a><br>
<a href="http://lists.zx2c4.com/mailman/listinfo/password-store" target="_blank">http://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
<br></blockquote></div><br></div>