[pass] [PATCH 1/2] check for pwgen's existance before using
Jason A. Donenfeld
Jason at zx2c4.com
Thu Sep 20 18:15:21 CEST 2012
On Thu, Sep 20, 2012 at 6:06 PM, Brian Mattern <rephorm at rephorm.com> wrote:
> Storing an empty password with a burried error message is
> less-than-desirable behavior. At least check that pwgen succeeded as in
> the attached patch.
That's a good idea, okay. To be a bit more generic, I'm testing if
pass is empty, and if it is, just quitting, relying on the previous
shell-out to print something to stderr already ("cannot be found bla
bla").
http://git.zx2c4.com/password-store/commit/?id=5bc781bd38ea4141e5e3b9110bf28214773cf1a3
More information about the Password-Store
mailing list