[pass] store password and username in xclip

Jan Kowalsky jankow at datenkollektiv.net
Fri Mar 13 13:12:04 CET 2015

Hi all,

for a few month I use pass now which I find a very handy solution
especially for a multi user approach with git.

One feature I'm missing: it's only possible storing the password in the
clipboard. I've a lot of different usernames on different sites. So if I
want to know the username of a login I have to show the password entry
in clear text.

Since the xclip has the ability to store more then one entry, I thought
it could be nice to store the username e.g. in the primary selection of
xclip (in many X-environments accessible with the middle mouse button)
while the password is stored in the clipboard (like on figaros password

The attached patch should work against version 1.6.5

Now there is an second "X_SELECTION" for username available, which is
also configurable:

   PASSWORD_STORE_X_SELECTION_2="primary" # (default)

Now I add my pass entries whith password in first and username in second

Best Regards

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pass_store_username.patch
Type: text/x-patch
Size: 1691 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20150313/f1bfbb21/attachment.bin>

More information about the Password-Store mailing list