[pass] [PATCH] Allow file input for insert

milki milki at rescomp.berkeley.edu
Fri Sep 28 01:11:22 CEST 2012


On 01:02 Fri 28 Sep     , Jason A. Donenfeld wrote:
> On Fri, Sep 28, 2012 at 12:58 AM, milki <milki at rescomp.berkeley.edu> wrote:
> >
> >
> > It would certainly work, but its a slightly different workflow.
> 
> 
> What about the workflow is different exactly? Seems nearly identical.

The workflow is the same if you use -f if there is no existing
pass-name.

However, if there is, then it differs. For regular passwords, you can
leave off the -f and insert will prompt for overwrite. Using a stdin,
the insert command without a -f would either fail silently or succeed
but having consumed a bit of stdin for the yesno function.


-- 
milki



More information about the Password-Store mailing list