[pass] Feature Proposal: Edit Before Save and Commit

Chris Warrick kwpolska at gmail.com
Sun Mar 20 20:27:37 CET 2016


On 20 March 2016 at 19:20, al <vie7fohd.pwdstrml.al at il5.in> wrote:
> Hello,
>
> Long-time fan of this utility.  It is the first PM I used, at least
> seriously, and I want to say thank you for great software.
>
> A frequent problem I encounter is that I must constantly generate
> passwords for weaker sites (I am new to the list, so let's all crack up
> and suppose banking sites).  I use the following command of course.
>
>> pass generate -c folder/my-crappy-insecure-web-app-du-jour 24
>
>
> Only to discover after the fact the vague, and often completely
> unpublished, password requirements are weaker than even advertised.  So
> I must go through a constant hair-pulling
>
>> pass git reset --hard HEAD~1
>
>
> or fill my git logs with tons of subsequent re-gens or edits to manually
> get creative.  Would anyone be interested in a parameter for generate
> that is like copy, but also opens up the pre-generated password in a
> buffer **before saving** such that you can test and tweak it without
> 5-10 commits, like yours truly?
>
> If that something you all are willing to accept, I will work on a patch.
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/password-store

You might be better suited by running the `pwgen` utility on your own:

pwgen -sy 24 1

Which is exactly what pass uses. If the password is accepted, you can
then `pass insert` it.

-- 
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16


More information about the Password-Store mailing list