<div dir="ltr">Good feedback James. Last week, I gave your pass-store organization
method a try and I noticed a number of advantages, particularly with
contextual searches. If anyone is interested, I'll write up a detailed
comparison for another thread. Suffice it to say, If we move forward
with a xclip loop on detect mouse click feature as previously described,
I'll also vote for compatibility. <br>
<br>
Compatible version.<br>
<pre>pass [--clip,-c] <store> [n]</pre>
if <store> is a file then output [n] lines<br>
if <store> is a folder then output [n] 1st lines (order to be determined)<br>
<br>
my desired output for [n] of:<br>
3 = www,user,pass<br>
2 = user,pass<br>
1 = pass<br>
<br>
My folder example happens to be in reverse alphabetical order, which keeps with
the tail or tac mindset. If you don't want to use this feature nothing
changes.<br>
<br>
<pre>pass [--clip,-c] <store> [n]</pre>
<pre><br>pass -c example 3<br>Ready to paste entry 3 from clipboard. Will clear in 45 seconds.<br>Sending entry 3<br>Ready to paste entry 2 from clipboard. Will clear in 45 seconds.<br>Sending entry 2<br>Ready to paste entry 1 from clipboard. Will clear in 45 seconds.<br>Sending entry 1
<br></pre>
You can even mix organization methods. So if your in the process of reorganizing your pass-store, no breakage.<br><br>Why is this feature needed? It's faster than using pass twice while
being more secure than passff's fill. By trusting the browser less you
help to avoid iframe attacks and mitigate your exposure to snooping
browser extensions. As a bonus, it works with any browser. Run pass
once, click click, click, your in. This is the best combination of
convenience and security, I know. It works well in pwsafe, so I know
it's possible.<br>
<br><pre>pass blah | while read line; do xclip -l 1 -selection clipboard -quiet <<<"$line"; done<br></pre>
<br>
Setting this feature to wait 45 sec for a key-press inside the terminal
is simple, but it would be neat to detect mouse click outside the
terminal. I'm not sure how to do this in bash, so here is an reference using <i>xev</i> written in C++.<br>
<br>
link to code from pwsafe: <a href="http://sourceforge.net/projects/pwsafe/">http://sourceforge.net/projects/pwsafe/</a><br>
I'm not an expert in C++ but I'm willing to learn if that is what it takes.<br>
<br>
----------------<br>
<br>
<br>
<br>
<div class="">On 09/08/2014 11:38 PM, James Wald wrote:<br>
</div>
<blockquote cite="mid:CAJX=+mY3pxmGeeCi0D=bFu=TBvABYMM+DzFJGU+YGRAs_zm8aQ@mail.gmail.com" type="cite">
<div dir="ltr">Maybe I use pass differently than most users, but I
create separate names for every password (e.g. user, url, etc.) and keep
them organized by path.<div><br></div><div>me/<a href="http://example.com/username">example.com/username</a></div><div>me/<a href="http://example.com/password">example.com/password</a><br></div><div>me/<a href="http://example.com/security/1/question">example.com/security/1/question</a><br></div><div>me/<a href="http://example.com/security/1/answer">example.com/security/1/answer</a><br></div><div><br></div><div>I
haven't found a need to create compound pass entries, but I admit that
this may require a bit more effort when accessing many passwords. It
might be nice if 'pass me/<a href="http://example.com">example.com</a>' could output all of the passwords under that path.<br></div><div><br></div><div><br></div></div>
<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 8, 2014 at 5:23 PM, JD <span dir="ltr"><<a href="mailto:jdankoba@gmail.com" target="_blank">jdankoba@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi. Since we're back to brainstorming, may I add one more idea?<br>
<br>
My ideal interface would clip the top [n] lines in reverse order and
then paste them one at a time. Pass would pause for 45 seconds and
detect pastes from either middle-clicks or other pasting key commands
before continuing. Nicolas S. Dade did something similar in his <i>pwsafe</i> project, using the standard Unix tools <i>xev</i> and <i>awk</i>.<br>
<br>
It might look like this:<br>
<pre>pass [--clip,-c] <store> [n]<br><br>pass -c <store> 3<br>Ready to paste line 3 from clipboard. Will clear in 45 seconds.<br>Sending line 3<br>Ready to paste line 2 from clipboard. Will clear in 45 seconds.<br>Sending line 2<br>Ready to paste line 1 from clipboard. Will clear in 45 seconds.<br>Sending line 1<br></pre>
Flexible. I might use line three for url, line two for login and line 1
for password. But, you would be free to use it differently. It should
add utility without taking away from other user interfaces. What do you
say, is this pass "kernel" material? <br>
<br>
Logging into a site could be as easy as: middle-click, middle-click, [enter]<span class=""><font color="#888888"><br>
<br>
JD</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><br clear="all"><div><br></div>-- <br><div dir="ltr">James</div>
</div>
</blockquote>
<br>
</div>