Giter Club home page Giter Club logo

pwmake's People

Contributors

r2p2 avatar tsalzer avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

r2p2

pwmake's Issues

clone pwgen: Implement pronounceable passwords

There should be two generator types: One creating completely random passwords, one should generate pronounceable passwords (which are, obviously, less secure, but more easy to remember).

Cleanup before going public

Before going public, there is some cleanup to be done:

  • Find a name. The current name can't be used.
  • Cleanup the README. It's full of useless rubbish right now.
  • Write a short manual. Something more fancy may come later.
  • Consisider https://travis-ci.org/ (after choosing a better name)

clone pwgen: Implement CLI of pwgen

The pwgen command line interface (CLI) supports a set of options we need to mimick if we want to be "like pwgen". Here's the list of options extracted from the pwgen man-page, as described in the FEATURE_PWGEN file:

mpw [ OPTION ] [ pwlength ] [ numpw ]

-0, --no-numerals     - no numbers
-1                    - one password per line
-A, --no-capitalize   - no need for capital letters?
-a, --alt-phonics     - simply ignore
-B, --ambigous        - no letters which might be confused
-c, --capitalize      - at least one capital letter
-C                    - print output in columns
-N, --num-password=NUM    - generate NUM passwords
-n, --numerals        - at least one number
-H, --sha1=PATH[#SEED]    - seed with hash of file PATH[#SEED]
-h, --help            - help
-s, --secure          - completely random
-v, --no-vowels       - no vowels (or numbers mistaken for vowels)
-y, --symbols         - at least one special character

What we need here is a structure to read the users intent and map as many of these switches to existing functionality. What is not there (or makes no sense) should be silently ignored for now.

Do not use math/rand

Using math/rand, especially when initialized by time.Now(), opens the generated password to very practical attacks.

Please either avoid the use of any king of linear congruential generator (PRNG) or at least put a warning in the README.

Assimilate pwgen behaviour

I am using pwgen very often and like most of the flags/and functionality it offers. Could be more effective to learn go if this project would have a challenging target.

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.