|Simon Lackerbauer 8cd32646fa feature: add only option for two-tiered login pages||9 months ago|
|LICENSE||1 year ago|
|README.md||9 months ago|
|passmenu-plus||9 months ago|
For most use cases, the standard passmenu included with pass,
serves well as a dmenu wrapper to interactively input passwords. However, my own usage over the years
has made me crave some features that passmenu itself didn’t natively provide.
passmenu-plus is supposed to
work as a replacement to the original passmenu, but makes some assumptions about the internal structure
of files in the pass tree.
passmenu-plusautomates this process by adding support for userfields.
This imposes some additional soft constraints on the file format. Any file format still works. However, if you want to make use of userfields, then all lines starting with a keyword or -phrase ended by a colon will be individually callable:
my super secret passphrase just some general explanation of stuff, this line isn't callable by userfield! user: exampleuser mail: email@example.com more general stuff amidst userfields. pin: 0000 subdivision: Hackers this is a userfield with spaces: yay and even more text!
Now, each of the userfields ending in a colon followed by a white space can be extracted on their own
-u/--userfield option, eg
passmenu-plus -u user or
passmenu-plus -u "this is a userfield with spaces".
With just this option given,
passmenu-plus acts as a wrapper around pass that outputs only the
userfield to a shell (acting like the
pass --clip option, but with human readable keys instead of line
passmenu-plusis called with both a userfield given and the
-t/--typeitoption specified, the userfield will be entered as keypresses via xdotool, then a tab, then the password from the first line. An example output for the password file given above called with
passmenu-plus -t -u mailwould be:
firstname.lastname@example.org my super secret passphrase
-o/--onlyoption comes in. It will only type the given userfield and copy the password itself to the clipboard to be inserted manually once the password field is visible.
passmenu-plus -tou user would type
exampleuser into the selected field directly, and have
super secret passphrase saved in the clipboard for 45 seconds.
--typeitoption given, same as with the passmenu bundled with pass,
passmenu-pluswill just output the password, nothing else.