top | item 43115116

(no title)

Dibby053 | 1 year ago

In Linux (with the necessary packages) this shell oneliner can more or less do the same.

    shuf -n 5 /usr/share/dict/words

discuss

order

nullc|1 year ago

That dictionary normally has a lot of rather obscure/long/hard to remember stuff. If you 'reroll' until you get a password you like better you're taking an unknown hit to the entropy of the results.

It's better to use a dictionary where every word is acceptable and commit yourself to taking the first result or best of two (confining the human-selection entropy loss).

Though I don't have any suggestion for a suitable one that is just a wget away.

homebrewer|1 year ago

This can be improved by using a better entropy source.

  shuf -n 5 --random-source /dev/urandom /usr/share/dict/words | paste -sd ' '

keepamovin|1 year ago

Nice! But on Darwin I need to do:

  shuf -n 5 --random-source /dev/urandom /usr/share/dict/words | tr '\n' ' '
As paste complains about working with a pipe