Giter VIP home page Giter VIP logo

c-passmanager's Introduction

CLI Password Manager

A simple command-line password manager written in C that utilizes the libsodium library for password hashing and sqlite3 for database storage. This password manager allows users to store, edit, delete, and search for passwords associated with different platforms and usernames.

Features

  • Add new password entries.
  • Edit existing password entries.
  • Delete password entries.
  • Search for passwords by platform or username.

Dependencies

Before you begin, ensure you have the following dependencies installed on your system:

  • gcc: The GNU Compiler Collection.
  • libsodium: A modern, easy-to-use software library for encryption, decryption, signatures, password hashing, and more.
  • sqlite3: A C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine.

Build Instructions

Follow these steps to build the CLI Password Manager:

  1. Clone the repository:

    git https://github.com/sandeshkhadka/c-passmanager.git
    cd cd c-passmanager
  2. Build the project using the provided Makefile:

    make
  3. After a successful build, the executable cpassmanager will be created in the project directory.

Usage

The CLI Password Manager offers several commands to interact with your stored passwords.

  • Show the main menu:

    ./cpassmanager menu
  • Display help text:

    ./cpassmanager help
  • List all stored passwords:

    ./cpassmanager all
  • Add a new password entry:

    ./cpassmanager addnew
  • Search for passwords by platform or username:

    ./cpassmanager searchby platform  # Search by platform
    ./cpassmanager searchby username  # Search by username

Cleanup

To remove the compiled binary and object files, run:

make clean

c-passmanager's People

Contributors

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