On 02.03.2017 03:52, Crescent Arnoux wrote:
> You can obtain a diceware passphrase using tools already in base.

Yes, of course you can. It'll likely get messier the more you try to
imitate dicepassc's behaviour, for example multiple passphrases:

$ time sort -R diceware.asc | head -6 | cut -f2 >/dev/null
    0m00.47s real     0m00.45s user     0m00.02s system

$ time dicepassc -d 1024 >/dev/null
    0m00.03s real     0m00.02s user     0m00.02s system

Plus you get a tight pledge and explicit_bzero.

I wrote it because I don't want to use physical dice, dont trust some
app written in another scripting language, and wanted to use the OpenBSD
libc.

My intention was also to contribute a little to the OpenBSD ports
ecosystem especially by using pledge etc., but I see there are
reservations to committing it.

> P.S. The real fun with diceware is using some quality casino dice.

Have fun then.

Regards
André

Reply via email to