Try xkcdpass

In which I suggest a password generator

Post added by

Tools / #linux #security

[XKCD 936]( _([CC BY-NC 2.5](
XKCD 936 (CC BY-NC 2.5)

tl;dr: Use xkcdpass to generate more secure passwords, like “correcthorsebatterystaple”.

It won’t satisfy your bank’s silly password requirements, but — as XKCD told us — using a random collection of words for your password provides more security than trying to Leet-speak some word with numbers and symbols.

You could pick a handful of words by flipping through the dictionary, but why not let the computer do it for you? That’s where xkcdpass comes in.

It’s probably available in your package repository.

$ pacman -Ss xkcdpass

It’s just Python, so you can use pip if you’re on macOS or Windows or some other platform that doesn’t have xkcdpass handy.

$ pip install xkcdpass

Regardless of how you install it, run it and grab the output — but let your password manager remember it for you.

$ xkcdpass
tiara embezzle stack doorway scrambled imitate