josephabrahams / correct-horse-battery-staple

Fun with XKCD-style passwords.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

correct horse battery staple

Fun with XKCD-style passwords using xkcdpass and PyOTP.

Install

$ pipenv install

Usage

$ xkcd_pass.py [-h] [-d DELIM] [-n NUM_WORDS]

Generate a XKCD-style password.

optional arguments:
  -d DELIM      Separate words within a passphrase with DELIM.
  -n NUM_WORDS  Generate passphrases containing exactly NUM_WORDS words.
$ xkcd_totp.py [-h] [-i INTERVAL] [-n NUM_WORDS] [-s SEED]

Generate a XKCD-style time-based one-time password.

optional arguments:
  -i INTERVAL   Time in INTERVAL seconds that each passphrase lasts.
  -n NUM_WORDS  Generate passphrases containing exactly NUM_WORDS words.
  -s SEED       String SEED used to make passphrases unique within a given time interval.

About

Fun with XKCD-style passwords.


Languages

Language:Python 100.0%