GithubHelp home page GithubHelp logo

passpy's Introduction

passpy

This is a simple password generator, it will generate passwords based on hash of salt and phrase combination. This way, you can easily manage different passwords for various services with just memorizing the phrase.

To create a new password, run:

pass.py -n

At first it will find a salt file at ~/.saltpass, if not exists, it will ask you for a default salt, but you can always customize the salt afterwards.

The command above will then ask you for the phrase, and then copy the generated password to clipboard without printing it to stdout. You can then paste it to anywhere. Please note that copying to cipboard currently only works on Mac, to see the generated password, you can pass -o option.

The -n option on the above command will simply confirm the pharse to avoid typos. This is good when you are creating new password, like when you are about to register/change your password on some services. If you just want to generate a password, run pass.py without any options.

In case you want to customize the salt, pass the -s option, the command will then ask you for a custom salt before asking for phrase. You can also combine this with -n option.

In the case of password length-limit, you can pass -l <length> argument to set the final length of the password, for example:

pass.py -l 10

Todo:

  • Confirm custom salt on -n mode.
  • Make hash algorithm customizable
  • Make SUFFIX customizable
  • Change .saltpass filename to something more relevant
  • Support clipboard on Windows and Linux machines
  • Add manual to put passpy on zshrc/bashrc alias

passpy's People

Contributors

dedy-purwanto avatar

Watchers

 avatar  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.