Thanks for the advice about --in-place. Linuxmint 17.1 still comes with
pass V1.4.2, so I did not find this option in the man page.
The --in-place flag is a bit dangerous when you have to enter the old
password before to generate the new one,
The edit subcommand does not automatically generate a new password.
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.
Is there any easier way?
In this case, pass could just echo the old password---that should solve
this problem, right?
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.
+1 for --in-place being the default option when generating a password
for an existing multiline entry.
_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store