Giter VIP home page Giter VIP logo

plan-pw's Introduction

plan-pw project

Password manager for macOS.

Follow these steps to build some easy command line commands for the management of your password

Edit configuration files

Open and edit the file setting.json adding:

  1. in pathFile the path (and the file name) where you want to save your password. For example

/Users/user123/Documents/encrypted_pw.txt

  1. in tmp_file_path the path (and the file name) where you want to temporary save the crafted password. For example

/Users/user123/Documents/tmp.txt

Be careful, the document names MUST be different

Launch python script

  1. Clone the repository in your laptop

  2. Move to the project directory typing in your terminal: cd <project_path>

  3. Install the project dependencies typing in your terminal: pip install -r requirements.txt

  4. Test the python script typing in your terminal: python3 planpw.py -h

If the script works, you will see the manual of the script in your terminal something like this:

usage: python3 planpw.py [options] <flags>
    [options]:
        -get [tag]                      : get the password saved with [value] tag
        -set [tag]                      : add a new password with the tag [value]
        -find [string]                  : show all the tags matching with [string]
        -craft <flags>                  : craft a new password
            <-s>            -> allow special characters
            <-l> [lenght]   -> set password lenght
        -del [tag]                      : delete an existing password
        -h                              : show this manual

2. Create command line commands

Every following actions must be executed on these files:

  • getpw
  • setpw
  • craftpw
  • delpw
  • findpw

2.1 Modify the files

Open every file and substitute project_path_here with you project file path

2.2 Copy the files

Copy every file to the folder /usr/local/bin/.

You can access to this folder by typing in your terminal
open /usr/local/bin/

2.2 Make the file executable

To be able to use the commands, type in your terminal:

sudo chmod +x /usr/local/bin/getpw

sudo chmod +x /usr/local/bin/setpw

sudo chmod +x /usr/local/bin/craftpw

sudo chmod +x /usr/local/bin/delpw

sudo chmod +x /usr/local/bin/findpw

3. Enjoy your new commands

Open a terminal and use the commands.

plan-pw's People

Contributors

cristiandaniele avatar

Stargazers

Mark avatar Marcello Maugeri avatar Giuseppe avatar Gorka avatar

Watchers

 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.