Homepage: https://github.com/guijan/dictpw/

dictpw is a password generator program I wrote. It generates passwords
in the style suggested in the famous "Password Strength" XKCD comic:
https://xkcd.com/936/
That style is more memorable and not any less secure.
I've been using it for a few months already on OpenBSD and also Windows.

Here's how its usage looks:

$ dictpw
manhunt.oval.stylus.provider.curry
$ dictpw -n4
boil.falsify.counting.switch
$ dictpw -n1
dictpw: password length is too small: 1
usage:  dictpw [-h] [-n 4 <= words <= 10]


The intent is for the program to strictly do the right thing: it refuses
to generate a nonsensically small password. You don't get to customize
the password's details, it just generates one that is good enough.

It was written on OpenBSD, for OpenBSD, and with the programming style I
learned on OpenBSD. It pledge()s itself, the manual is written in
mdoc(7), random numbers come from arc4random(), it uses the same ISC
license as OpenBSD, and the OpenBSD package will never need to have a
local patch because if it does I'll consider that a bug in my program.
Even so, I've ported it to many platforms.

I don't have a machine that runs a port of OpenBSD with gcc in the base
system so I can't test it against the base-gcc COMPILER, but I don't see
why it wouldn't compile there. Testers needed.

Attachment: dictpw.tgz
Description: Binary data

Reply via email to