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

Tristan Miller psychonaut at nothingisreal.com
Thu Jan 10 16:21:04 CET 2019

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?)


                  Tristan Miller
Free Software developer, ferret herder, logologist
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20190110/ffa509ab/attachment.asc>

More information about the Password-Store mailing list