Hacker News new | comments | show | ask | jobs | submitlogin
Show HN: Commandline Passphrase Generator Using EFF Wordlists (asciinema.org)
5 points by yarwelp 9 months ago | hide | past | web | 2 comments | favorite

Impatient? (Aka. tl;dr)

    mkdir -p ~/src/github.com/yarwelp
    cd !$
    git clone git@github.com:yarwelp/pgen.git
    cd pgen
    cargo build --release

Slightly more patient but still don't want to watch the 10 minute screen recording?

Read the README at https://github.com/yarwelp/pgen


I prefer passphrases to passwords. Previously I was using a function I wrote which makes use of seq and head and tail and reads its words from /usr/share/dict/words. That had two main problems:

1. It was slow even for a small amount of words.

2. The words in that wordlist were not great for typing, because there were a lot of weird and obscure words in the list.

Recently there was an article posted here on HN where someone from the EFF told about a set of optimized wordlists they'd made.

I decided right then and there to implement a program to make use of these lists that would solve both of the two problems mentioned above.

I chose to write this program in Rust, and the result is excellent. Fast, secure and user friendly :)

And you can have it for free!


I have now published pgen on crates.io [1], and you can install it simply by running

    cargo install pgen
No need to clone the repo manually or anything.

[1]: https://crates.io/crates/pgen

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact