Commits


typo


tweak and fix the 'creating a password store' example


plass tee: print the password only if 'got ci' succeeded


drop extra chdirs


update usage strigs


drop the 'regen' command too 'gen' now is happy to override files. since we're using a version control system anyway, there's no point in being picky about changing files. If one overrides a password by mistake, the old one is still available thanks to got.


rework got_* error handling again


remove the 'oneshot' command and augment 'gen' gen now has a -n option for no-op that avoids persisting the password and now prints the generated password by default. This comes in handy in various cases, for example now it's possible to: $ plass gen foobar | clip A foobar2.gpg Created commit c1d55a274bd28103271a7e4d0c4f83266fc14926 Like the 'tee' subcommand, add -q to suppress printing the password if desired.


tweak error handling in got_* while here also add a comment in got so I don't forget why I'm doing an open(-|).


replace the 'write' subcommand with 'tee' tee allows to create pipelines and handy one-liners: $ password-generator | plass tee foo | clip A foo.gpg Created commit xyz to accomodate it, the output from 'got commit' is redirected to stderr so it doesn't interfere with the flow of the data.


rework got error handling


recursively create directories


prompt for the password only once in `write' it's easier to pipe a custom password generator this way: $ my-password-gen | plass write foo/bar


switch the default range to !-~ (i.e. all printable ASCII chars)


reword