[pass] prevent generating over existing

Roman Shtylman shtylman at gmail.com
Wed Dec 19 04:46:54 CET 2012


Is there a way to prevent pass from generating passwords over an existing password? I find that when I have added several lines to a password file (to save additional info) and I run the generate command, those lines are lost. This would be quite bad if the information on those lines was important.

Maybe pass could detect that I have an existing pass file and only change the first line? (this would mean unlocking the file first obviously). Simplest case, it should refuse to generate over existing files without unlocking. Otherwise someone could just run the pass command and overwrite all my passwords.

cheers,
~Roman


More information about the Password-Store mailing list