<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
One nice thing about the multiple -m options on the command line is
you could do something like this:<br>
<br>
-m "user: "$(pass generate -n deleteme 10 2>/dev/null| tail -1)<br>
<br>
Some websites want you to have an exposed username in addition to an
email address and I started using a throwaway password for that.<br>
<br>
<br>
<div class="moz-cite-prefix">On 1/10/19 7:21 AM, Tristan Miller
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20190110162104.71d3ad8d.psychonaut@nothingisreal.com">
<pre class="moz-quote-pre" wrap="">Dear Calin,
On Thu, 10 Jan 2019 15:33:30 +0100, Calin Iorgulescu
<a class="moz-txt-link-rfc2396E" href="mailto:calin.iorgulescu@gmail.com"><calin.iorgulescu@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">This patch adds the '-m' flag to 'generate', allowing the user to
specify one or more multiline entries after the generated password.
This is particularly useful when generating passwords used for
website accounts where other pieces of info are added to the password
entry. For example, if using an extension like browserpass[1], one
might wish to add the account name as well. But conceivably
additional info such as security question answers could be added. It
is possible to specify multiple '-m' entries.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Thanks for this -- this is a wishlist item that I raised here on
December 28. Your patch is one solution to the problem, but I have to
question why you haven't made your "-m" option for "pass generate" work
the same way it does for "pass insert" (i.e., by reading the extra lines
from stdin rather than from command-line arguments). I think having two
different behaviours for the same command will lead to a lot of
confusion. (Also, why not provide an additional long option version
named "--multiline", as "pass insert" does?)
Regards,
Tristan
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Password-Store mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Password-Store@lists.zx2c4.com">Password-Store@lists.zx2c4.com</a>
<a class="moz-txt-link-freetext" href="https://lists.zx2c4.com/mailman/listinfo/password-store">https://lists.zx2c4.com/mailman/listinfo/password-store</a>
</pre>
</blockquote>
<br>
</body>
</html>