On 2017/03/02 16:37, Andre Stoebe wrote:
> 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.

That's not what reservations look like ;)

Thanks for the port - committed.

Reply via email to