Commit Briefs

Omar Polo

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.


Omar Polo

bump copyright


Omar Polo

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().


Omar Polo

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!


Omar Polo

make `plass find' case-insensitive

This does not affect `plass cat', `plass tee' etc, only the `find' sub-command. Discussed with heph.



Omar Polo

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.


Omar Polo

check pattern after stripping store path and extension

now `plass find ^keys' will correctly list only entries that starts with "keys"



Omar Polo

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.


Omar Polo

retire `got' and `tog' subcmd

they're just a glorified `cd'



Omar Polo

sync usage with manpage



Omar Polo

use the correct operators when comparing numbers

eq/lt/gt are for string-wise comparisons!