Commit Briefs


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!



Omar Polo

add --use-agent to the gpg2 mix


Omar Polo

adjust writepass so gpg2 don't see the output file

gpg has an annoying "feature": it avoids to overwrite files. If in interactive mode, "gpg2 -o foo" will ask the user whether to override foo or not, otherwise will just refuse to work. not nice. working around this by making gpg2 write to stdout, and redirecting stdout to that file. Then restore stdout for sanity :) While here, also make `writepass' fail if gpg fails.