Commit Briefs
remove `got add' workaround (main)
earlier version of got would fail when trying to `got add' a file that was already added (or committed.) Since the error message was potentially scary, got_add tries to be smart and issue a `got info file' first to see whether the file can be added, and only then eventually issues `got add'. This whole dance is now moot. got doesn't warn for files already added. (also, this code could have been simpler from the beginning.) Noticed since the pipe trick in the got sub was failing on linux. Issue reported by Christoph Cremer, thanks!
use gpg --batch --yes instead of redirecting standard output
last time I couldn't find the right incantation to prevent gpg from prompting when the target file already exists.
release 0.7 (tags/0.7)
don't decode the whole ARGV, just the pattern for cmd_find
UNICODE is subtle, better not slightly tweaks the argument unless we really need them.
decode file names in the current locale
Otherwise we output gibberish and the pattern argument to `plass find' may not even match the entries. Issue reported by Anton Kasimov, thank you!
release 0.5 (tags/0.6)
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!