I posted Try xkcdpass on Tuesday, 30 July, 2019

In which I suggest a password generator

Try xkcdpass
XKCD 936 (CC BY-NC 2.5)
Post linux security

Try xkcdpass


Use xkcdpass to generate more secure passwords, like “correcthorsebatterystaple”.


Started as a Note but I passed my 15 minute rule — if I spend more than 15 minutes on it, it should be a post — so here we are.

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


Got a comment? A question? More of a comment than a question? Talk to me about this post!

Indieweb Social

Did you mention this somewhere? I'd love it if you sent me the link!

disclaimer about timing

Mentions are sent to webmention.io. I fetch the latest mentions when building the site, so I may not see your feedback right away. Especially if my site's broken, which is often the case.

Public replies and mentions might be shared on the site, but I try to do a little quality check first.

Site Links