<div dir="ltr"><div>This would solve a recent issue raised by a couple of PRs on the [pass-git-helper](<a href="https://github.com/languitar/pass-git-helper/pulls" target="_blank">https://github.com/languitar/pass-git-helper/pulls</a>).</div><div><br></div><div>This would be even more useful if we could hold a standard "meta" file that specified the scheme used by the gpg files, with some standard syntax to define that. For example, for having irrelevant path (but the domain name as the last element), a file named as the username, and the password as the only content of the file:<br></div><div><br></div><div>```</div>[**/domain/user]<div>pass</div><div>[**/domain/user/otp]</div><div>otp<br></div><div>```</div><div><br></div><div>Or, a domain name as the filename, password as the first element, and additional data in appropiate lines inside <br></div><div><br></div><div>```</div><div>[domain]</div><div>pass</div><div>user = username</div><div>otp = otp</div><div>separator = ": "<br></div><div>```<br></div><div>I exemplify with INI/TOML, but XML probably lends itself better to this usecase, even if it is less readable.</div><div><br></div><div>Am I overcomplicating this? Maybe the scheme can be magically deduced, which would be cool too.</div><div><br></div><div>(Sorry if I break the thread with this reply. This web client behaves in strange ways)<br></div><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Tue, 30 Oct 2018 at 10:18 <<a href="mailto:pwd-password-store@rjekker.nl" target="_blank">pwd-password-store@rjekker.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I've written a pass extension called "pass meta", which allows retrieval<br>
of specific properties from the metadata in a password file. For example:<br>
<br>
pass meta mypwdfile user<br>
<br>
Will retrieve the value of the user property. It allows searching for<br>
multiple terms (like usernames,user,login), copying the result to the<br>
clip board, and more is coming.<br>
<br>
The extension can be found here:<br>
<a href="https://github.com/rjekker/pass-extension-meta" rel="noreferrer" target="_blank">https://github.com/rjekker/pass-extension-meta</a><br>
<br>
If you would like to link to this project from the pass homepage, please<br>
do so.<br>
<br>
Things this script does not do yet:<br>
<br>
- edit values<br>
- support shells other than bash<br>
<br>
Greetings,<br>
<br>
rjekker<br>
<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="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
</blockquote></div></div></div>