Giter Site home page Giter Site logo

ezhil56x / password-manager-cli Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7 KB

An elegant Python CLI password manager with secure encryption, MariaDB/MySQL support, and clipboard integration

License: MIT License

Python 100.00%
cli cli-tools command-line-tool password-management password-manager password-vault passwordmanager python-password-manager

password-manager-cli's Introduction

Password Manager CLI

Description

The Password Manager is a command-line tool that allows you to store, retrieve and generate passwords securely. It provides a simple way to manage your passwords without having to remember them. This tool uses a master password to secure your passwords. The master password is configured when you first run the tool and is used to encrypt and decrypt your passwords. It is written in Python and uses the cryptography module and mariadb or mysql server to store the passwords. This tool uses pyperclip module to copy the password to the clipboard.

Requirements

  • Python 3.6 or higher
  • mariadb or mysql server

Installation

  1. Clone the repository
git clone https://github.com/ezhil56x/password-manager-cli.git
  1. Go to password-manager-cli directory
cd password-manager-cli
  1. Install mariadb or mysql server
sudo apt install mariadb-server
  1. Login to mariadb or mysql server and create a user
sudo mysql -u root
MariaDB [(none)]> GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' IDENTIFIED BY 'password';
  1. Install the required packages using the following command
pip install -r requirements.txt

Usage

  1. Run --config for the first time to configure the master password and databases
python password_manager.py --config
  1. To store a new credential, run the following command
python password_manager.py --operation store --master-password <master-password> --service <servicename> --password <password>
  1. To retrieve a credential, run the following command
python password_manager.py --operation retrieve --master-password <master-password> --search <search>
  1. To generate a password, run the following command
python password_manager.py --operation generate --length <length>
  1. For help, run the following command
python password_manager.py --help

password-manager-cli's People

Contributors

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