Adrian, adding an `--edit` (`-e`) option to `pass generate` is exactly what I ended up thinking was best. Thanks for the patch!<span></span><br><br>On Monday, July 18, 2016, Brian Candler <<a href="mailto:b.candler@pobox.com">b.candler@pobox.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 18/07/2016 08:53, Adrián López Tejedor wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I sent this path the 17 of June with exactly that.<br>
<br>
I have added the "--edit" option to generate.<br>
</blockquote>
<br>
Excellent, thank you. I have applied this by hand.<br>
<br>
Note: I intentionally don't use a gpg agent, and I notice with "pass generate --edit" I get prompted for the passphrase twice - once after the generation has displayed the new password before entering the editor, and once after the editor. But I can live with this.<br>
<br>
The other thing is that when --edit is specified I think it's not necessary to display the newly-generated password to stdout: but as long as you remember to clear your scrollback buffer afterwards, that's OK too.<br>
<br>
Regards,<br>
<br>
Brian.<br>
<br>
</blockquote>