Code Monkey home page Code Monkey logo

reindeer-flotilla's Introduction

reindeer flotilla

a simple (but fun!) password generator

This is a nearly complete rewrite of a script I wrote to generate passwords for myself and at work. The patterns were hard-coded and a new pattern required a new function. Replacing these functions is a simple pattern provided at the command line.

For example, using the pattern wwW would give you something like: outwalksucceedableVentricornual

Usage

Call reindeer_flotilla.py from the command line, providing a customized pattern and seperator as shown.

$ reindeer_flotilla.py -pRR -s.
 ┌ quality (4 stars is best)
 │
 │   ┌ pattern output
─┴── └───────────────────────────────
**** Wrenchingly.ibidiNae
**** leAk.unfetChable
**** Gipon.cArdiometer
**** bigamisTic.streptoNeurous
**** Mentoanterior.Nervy
**** avignOnese.saCcomys
**** twistlesS.urbicoloUs
**** cloragEn.suPravital
**** anisopleUrous.hIke
**** unpriSmatic.compriseD
**** platytroPe.Beshiver
**** eQuispaced.pancreatiZe
**** cOmmensurate.cuLlen
**** buchManism.membranaTe
**** uNmarled.hebeNon
**** oroHippus.unreFilled
**** hippogloSsidae.chloroaurIc
**** unclassiFication.coNject
**** pinnaL.Pandemian
**** mistEr.aeSculapius
Command line flags

There are two flags available:

Flag Meaning
-p, --pattern This is the pattern reindeer flotilla will use to generate new passwords. The default setting is wWw.
-s, --separator This is an optional flag to add a separator between words, symbols, or numbers.
Pattern components

The pattern used to generate new passwords uses the following notation:

Letter Meaning
W Capitalized English word
w Lowercase English word
R English word, with random letter capitalized
# Single digit, multiple instances for more digits
^ Single symbol, multiple instances for more symbols
E Capitalized Spanish word
s Lowercase Spanish word
F Capitalized French word
f Lowercase French word

Feel free to mix and match to your hearts desire.

Using French or Spanish words can generate unpredictable results. Lots of diacriticals, etc...

Dependencies

The script can take advantage of the module zxcvbn-python, which is a port of zxcvbn from DropBox. More info available here. I'm using the bare minimum of it's vast features. If the module is not available, the password quality functionality will be missing.

About

The title is, of course, from Tron. I've always remembered seeing those words flash onto the screen when I saw it in the theater. In fact, that was the summer I learned BASIC at computer camp at Cranbrook with my buddy, Mike.

License

MIT License

reindeer-flotilla's People

Contributors

lazymutt avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.