user and pass on same record

Tobias Girstmair t-passwd at girst.at
Tue Jan 28 22:45:16 CET 2020


many browser extensions and other 3rd party implementations have more or 
less standardized on http-header-style fields, like to:

<your-password>
login: <your-username>
<something-else>: <another-value>

(instead of 'login', some also accept 'user' and/or 'email')

I don't think pass(1) has the ability to deal with this directly, 
although someone has sent a patch to the ML. For passmenu, I just use

     pass show "$password" | sed -n -e '/^login:/{s/^[^:]*: *//p}' | ...

to extract the username.


More information about the Password-Store mailing list