Skip to content

jeevanshah07/Python-Password-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forthebadge Contributors Forks Stargazers Issues GPL-3.0 License


Logo

Python Password Manager

A CLI based password manager
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Project

Built With

Getting Started

To get a local version up and running follow these simple steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • pip

    python3 -m pip install --upgrade pip

Installation

  1. Clone the repo

    git clone https://github.com/marvelman3284/Python-Password-Manager.git
  2. Create your virutal enviorment

    python3 -m venv env
  3. Install python packages

    pipenv install && pipenv install-dev
  4. Insert the necessary information to the config file Make a copy of config.example.ini and name it config.ini. Fill in each spot.

    • [Email]
      • Email is the actual email you want to use ([email protected])
        • This is built to use a gmail email, for anything else you will have to make your own configurations.
        • If you are using gmail you must turn on Allow Access for Less Secure Apps in your email settings

      • Password is the password for your email
    • [MySql]
      • Host is the ip for the server where you are hosting the database. Use localhost if the server is hosted on your computer.
      • User is the username you use to log into the server.
      • Password is the password for your username to log into the server.
      • Database is the database which your tables are going to be stored.
  5. Duplicate the example files in /data/

    • Copy the files:
      • cp /data/key.example.key data/key.key && cp /data/save.example.pickle save.pickle
      • Or:
        cd /data
        cp key.example.key key.key
        cp save.example.pickle save.pickle
    • Remove the old ones
      • rm data/key.example.key && rm data/save.example.pickle
      • Or:
        cd /data/
        rm key.example.key
        rm save.example.pickle
  6. Generate the needed tables in your MySQL server

    python /src/server.py
    • ONLY RUN THIS IF YOU DO NOT HAVE THE MYSQL DATABASE SET UP OTHERWISE IT WILL BREAK

Usage

First time setup

On first time setup you will have to create a master password that cannot be changed.

Next you will have to create a user to login with.

You will also need to provide an email that will be used for 2FA (two factor authentication)

Then you will setup a pass to be associated with your user.

Finally you will be directed to login (see below)

For more examples, please refer to the Documentation

Roadmap

See the open issues for a list of known issues. The repository projects contains the the roadmap.

Changelog

  • April 26, 2021;
    • Implementing logging statements using the python logging module

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the GPL-3.0 License. See LICENSE for more information.

Contact

Your Name - @marvelman3284 - [email protected] - Marvelman3284#6554

Project Link: https://github.com/marvelman3284/Python-Password-Manager

Acknowledgements

About

A CLI based password manager built using python and mysql.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages