Commits
- Commit:
77ea6ba189318aa615484e5dbcb7271af75eb89f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove handling of PLASS_GOT environment variable
There's no real reason to have this variable, there's only one `got'
usually and people are better off putting it somewhere in $PATH.
Retain PLASS_GPG as there seem to be a little issue with gpg vs gpg2 so
the knob may be useful in practice.
- Commit:
71c704e31adc9f16efb0cd55ac5abb17249bd867
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump copyright
- Commit:
87986040c34281a3660bec9a65057f5a6aabfd1d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plass edit: delete the temp file
File::Temp lied. it says UNLINK defaults to true but the files were
still in my /tmp. Quick workaround, needs something better that takes
care also of cleaning up on die().
- Commit:
8ce01796c68dfe0e12b6a1869be69cf3b2cf2584
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add `edit' subcommand to interactively modify an entry
It's more or less equivalent to
$ cd /tmp
$ umask 077
$ plass cat entry > tempfile
$ $EDITOR tempfile
$ plass tee entry < tempfile
$ rm tempfile
but way easier. It's also safer because it creates an unique randomly
named file set up with correct permissions.
Suggested by heph, thanks!
- Commit:
91fcc6e3ddaac1838153b32e3d6d453b445309c0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make `plass find' case-insensitive
This does not affect `plass cat', `plass tee' etc, only the `find'
sub-command.
Discussed with heph.
- Commit:
c992a1e9b1b3f12475053356a5e9e2f0381211f3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plass: remove the `gen' sub-command; now there is pwg(1)
- Commit:
4602d277c689ba05915898b55c6f2985045aa6b5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use /dev/urandom instead of /dev/random
From urandom(4) on OpenBSD
For portability reasons, never use /dev/random. On OpenBSD, it is an
alias for /dev/urandom, but on many other systems misbehaves by blocking
because their random number generators lack a robust boot-time
initialization sequence.
- Commit:
fb70a4127eef7cdd86cde443c9409c8d7f247ab6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
check pattern after stripping store path and extension
now `plass find ^keys' will correctly list only entries that starts
with "keys"
- Commit:
dd204b00777178e93099b89fff9abf7c59cee8de
- From:
- Omar Polo <op@omarpolo.com>
- Date:
slightly better error message for no input in `plass tee'
- Commit:
5eba1883785391436224f0052c8148d61a48e2cb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plass tee: fix multiple line handling, commit message string
previously, `plass tee' was limited to only one line; now it's
unlimited. While here, fix the commit message too: checking the
existence of the file after creating/overwriting it is stupid.
- Commit:
017e8c818783c5b93ec573b916589df7fe020698
- From:
- Omar Polo <op@omarpolo.com>
- Date:
retire `got' and `tog' subcmd
they're just a glorified `cd'
- Commit:
8bd06def3ffe5c08906a5a03583b6dd6579a8f96
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't require the entry name in `plass gen -n'
- Commit:
f19c01bc72660b995cc26579cfaeac8a8e1743b2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync usage with manpage
- Commit:
d16aedaf996808336a77a18c0695b4fc89d9b14e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
default to gpg, the `gpg2' alias was retired
- Commit:
f9b1eaa1638574d50e6c1c822e4f7d34cc0b30e2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use the correct operators when comparing numbers
eq/lt/gt are for string-wise comparisons!