Commit Briefs


Omar Polo

rewrite pwg in perl; fix diceware-style generation issues

After a discussion with Alexander Arkhipov turned out pwg had some major issues: - `sort -R' is non-standard (although quite popular) - `sort -R' is not required to employ good randomness - `sort -R | head -nX' has less entropy than a true diceware (not all words have the same probability) So, rewrite it in perl where it's easier to roll an arc4random-esque function on top of /dev/urandom. randline() employs the same algorithm used by arc4random_uniform(). The new diceware generator code was based on a sample code provided by Alexander Arkhipov, thanks!


Omar Polo

use File::Path' make_path instead of rolling my own

again from volker' plage.pl, thanks!


Omar Polo

use extended regular expressions in `plass find'

from volker' plage.pl, thanks!


Omar Polo

use foreach instead of map to print the matching entries

from volker' plage.pl



Omar Polo

fix undefined behaviour reported by perlcritic

"return" statement followed by "sort" at line 140, column 2. Behavior is undefined if called in scalar context. (Severity: 5) the fix is the same as in volker' plage(1).


Omar Polo

release 0.5 (tags/0.5)



Omar Polo

delete empty line



Omar Polo

totp: remove some (good) BSD-isms (getprogname(), strtonum())

Don't want to add a configure script for this, so to aid portability and avoid having to link to libbsd pretend we don't have these two niceties. err/warn are still in use and won't be removed.


Omar Polo

totp.1: update dates



Omar Polo

totp.1: correction URL -> URI