[PATCH] Add option '-m' to generate to add additional multiline data.

Pass Word passwordstore at 89vx.net
Mon Jan 14 05:50:22 CET 2019


One nice thing about the multiple -m options on the command line is you 
could do something like this:

-m "user: "$(pass generate -n deleteme 10 2>/dev/null| tail -1)

Some websites want you to have an exposed username in addition to an 
email address and I started using a throwaway password for that.


On 1/10/19 7:21 AM, Tristan Miller wrote:
> Dear Calin,
>
> On Thu, 10 Jan 2019 15:33:30 +0100, Calin Iorgulescu
> <calin.iorgulescu at gmail.com> wrote:
>> 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.
> 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
>
>
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/password-store

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20190113/8ffa8ca4/attachment.html>


More information about the Password-Store mailing list