<div dir="ltr">The --in-place flag is a bit dangerous when you have to enter the old password before to generate the new one, <div>The edit subcommand does not automatically generate a new password. </div><div>So to hold it all together, I use a trivial two step solution: first with edit subcommand I manually add an empty line at the top of the file, then with generate subcommand and --in-place flag i fill it.</div><div>Is there any easier way?</div><div><br></div><div>Cheers</div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno ven 27 gen 2017 alle ore 20:19 James Wald <<a href="mailto:james.wald@gmail.com">james.wald@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">I haven't used this command personally, but after reading this thread I found a command that pops open an editor:<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">pass edit path/to/password</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">This works for my typical use case.</div></div><div class="gmail_extra gmail_msg"></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Fri, Jan 27, 2017 at 11:09 AM, Emile Cantin <span dir="ltr" class="gmail_msg"><<a href="mailto:emilecantin@gmail.com" class="gmail_msg" target="_blank">emilecantin@gmail.com</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Shouldn't that be the default option? We could have a --replace-full (or similar) flag if you really want to overwrite the whole thing.</div><div class="m_-1153619843779473612HOEnZb gmail_msg"><div class="m_-1153619843779473612h5 gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">Le ven. 27 janv. 2017 à 14:04, Marin Usalj <<a href="mailto:marin2211@gmail.com" class="gmail_msg" target="_blank">marin2211@gmail.com</a>> a écrit :<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There's an --in-place flag<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
$ pass generate --in-place Login/Creditkarma 30<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
--<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
Marin Usalj<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
<a href="http://supermar.in" rel="noreferrer" class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg" target="_blank">supermar.in</a><br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
On Fri, Jan 27, 2017, at 11:03 AM, <a href="mailto:tobias.public@posteo.de" class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg" target="_blank">tobias.public@posteo.de</a> wrote:<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> Hi,<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
><br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> I just discovered pass and I am already loving it!<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
><br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> When generating a new password for a multiline entry, the whole entry is<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> overwritten.<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> Is there an easy way to overwrite only the first line and maintain the<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> rest of the entry as it was before?<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
><br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> If not, this is a feature request. ;)<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
><br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> Cheers<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> Tobias<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
><br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> BTW: The host <a href="http://lists.zx2c4.com" rel="noreferrer" class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg" target="_blank">lists.zx2c4.com</a> is not supporting TLS encryption. I had to<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> turn off my providers check for it to send this mail.<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
><br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
><br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> _______________________________________________<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> Password-Store mailing list<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> <a href="mailto:Password-Store@lists.zx2c4.com" class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg" target="_blank">Password-Store@lists.zx2c4.com</a><br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
> <a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg" target="_blank">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
_______________________________________________<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
Password-Store mailing list<br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
<a href="mailto:Password-Store@lists.zx2c4.com" class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg" target="_blank">Password-Store@lists.zx2c4.com</a><br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
<a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg" target="_blank">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br class="m_-1153619843779473612m_1488534671412302329gmail_msg gmail_msg">
</blockquote></div>
</div></div><br class="gmail_msg">_______________________________________________<br class="gmail_msg">
Password-Store mailing list<br class="gmail_msg">
<a href="mailto:Password-Store@lists.zx2c4.com" class="gmail_msg" target="_blank">Password-Store@lists.zx2c4.com</a><br class="gmail_msg">
<a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br class="gmail_msg">
<br class="gmail_msg"></blockquote></div><br class="gmail_msg"><br clear="all" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div></div><div class="gmail_extra gmail_msg">-- <br class="gmail_msg"><div class="m_-1153619843779473612gmail_signature gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="gmail_msg">James</div></div>
</div>
_______________________________________________<br class="gmail_msg">
Password-Store mailing list<br class="gmail_msg">
<a href="mailto:Password-Store@lists.zx2c4.com" class="gmail_msg" target="_blank">Password-Store@lists.zx2c4.com</a><br class="gmail_msg">
<a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br class="gmail_msg">
</blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr">Diego Depaoli<div><br></div></div></div>