Commits


pwg.1: start sentences with a capital letter


pwg: specify the expected format for a wordlist


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!


use File::Path' make_path instead of rolling my own again from volker' plage.pl, thanks!


use extended regular expressions in `plass find' from volker' plage.pl, thanks!


use foreach instead of map to print the matching entries from volker' plage.pl


missing semicolon; from volker' plage.pl


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


release 0.5


typo: given -> give; while here simplify the sentence too


delete empty line


remove libbsd-overlay mention on the README


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.


totp.1: update dates


totp.1: rewrite a sentence and mention the URI format in STANDARDS